Great, thanks for paring that right back! I'll look into it. It's possible the command gets executed before the ESP8266 has booted up completely.
edit: Just a quick note but it actually seems to work almost all the time here with setTimeout removed. Maybe it was some strange interaction with the BME280
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.
Great, thanks for paring that right back! I'll look into it. It's possible the command gets executed before the ESP8266 has booted up completely.
edit: Just a quick note but it actually seems to work almost all the time here with
setTimeout
removed. Maybe it was some strange interaction with the BME280