I'm trying to set the same project as Gordon did here :
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.
Ok it seems the problem is that the esp8266 with ESPRUINO is not able to connect to my residential wifi as it broadcasts 2.4GHz and 5GHz under the same SSID. I can split it in to ssids.
And is not able to deal with "wpa-wpa2 personnal" security.
I can switch to "wpa2 personnal"only.
I still have to perform stability tests. I will keep you informed.
I do use Sonoff 3 devices: Smart Switch, Smart Plug, POW.
It works fine with v 1.94... I get connected with 2.4 GHz (have disabled 5 GHz)
I now work on more complex scripts now to get Alexa integration (currently facing problem with newest Espruino on UDP implementation)
If you r interested, let me know we can share.
Glad it's working for you.
What is the command you use to flash firmware, do you use epstool ? I'm using Mac and if I don't give options to -fs and -fm it fails. I mean the transfer seems to be ok, but once restarted I'm not able to type something in the prompt.
i m o windows and use winflash and esptool.
after restart, try to check baudrate. must be 152000 otherwise esp not working.
and.... if you was flashing... u had to keep button pressed on sonoff entire upload process.
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem