@DamianMontero, are you sure that the pins of the ESP8266 are held at required state on start up? ...that could explain that it worked while measuring... Check description which pins have to be held high or low so that ESP8266 does get into runtime mode.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@DamianMontero, are you sure that the pins of the ESP8266 are held at required state on start up? ...that could explain that it worked while measuring... Check description which pins have to be held high or low so that ESP8266 does get into runtime mode.