To sum up : flashing espruino on a sonoff to drive it from MQTT.
I've succeded to flash firmware on Sonoff, I can upload code to it from IDE, but, the Sonoff is unable to connect to Wifi.
I suspected a wifi issue, but the Sonoff/Espruino is able to list all the ssid in my environment.
I even tried with Micropython to remove the doubt on the hardware.
I've check ssid/password in the code and it's OK.
I've also loaded exactly the same code on Wemos D1 mini and it's able to connect to wifi.
Do you have any idea what could wrong ?
Could it be something related to the warning i got when I upload the code ?
I load firmware with a Mac : ./esptool.py --port /dev/tty.wchusbserial620 write_flash -fs 8MB -fm dout 0x0 ../espruino_1v94/espruino_1v94_esp8266_combined_512.bin
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.
Hello,
I'm trying to set the same project as Gordon did here :
https://www.youtube.com/watch?time_continue=247&v=-BYHwGIMKXw
To sum up : flashing espruino on a sonoff to drive it from MQTT.
I've succeded to flash firmware on Sonoff, I can upload code to it from IDE, but, the Sonoff is unable to connect to Wifi.
I suspected a wifi issue, but the Sonoff/Espruino is able to list all the ssid in my environment.
I even tried with Micropython to remove the doubt on the hardware.
I've check ssid/password in the code and it's OK.
I've also loaded exactly the same code on Wemos D1 mini and it's able to connect to wifi.
Do you have any idea what could wrong ?
Could it be something related to the warning i got when I upload the code ?
I load firmware with a Mac : ./esptool.py --port /dev/tty.wchusbserial620 write_flash -fs 8MB -fm dout 0x0 ../espruino_1v94/espruino_1v94_esp8266_combined_512.bin
Thank you very much.
1 Attachment