ESP8266EX Sonoff Wifi Issue #6037
Replies: 1 comment
-
Posted at 2017-10-29 by user82278 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. I still have to perform stability tests. I will keep you informed. Thank you Posted at 2017-10-30 by Vasily Hi. I do use Sonoff 3 devices: Smart Switch, Smart Plug, POW. 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. Vasily Posted at 2017-10-30 by user82278 Hi Vasily, Glad it's working for you. Thank you Posted at 2017-10-30 by Vasily i m o windows and use winflash and esptool. after restart, try to check baudrate. must be 152000 otherwise esp not working. Posted at 2018-05-21 by btrut Hi @Vasily. I have managed to flash a Sonoff device successfully. I have 3 devices and have managed to successfully connect one of the devices (unflashed) to my wifi. The Espruino flashed device (1v96) works great (can load and execute code on it no problem), but will not connect to wifi. I have an Espruino wifi device that I use the same code for and it connects fine. Funny thing is, with the sonoff device when I try to connect i reports no_ap_found (and list command to find ap's reports an empty array), but if I use an incorrect password, it reports bad password! That tells me it's finding the ap and reporting an incorrect password right? SO how come with the correct password it reports no_ap_found? any suggestions? Posted at 2018-05-22 by Vasily Hi. I do not remember anymore this thread. My implementation for Alexa works fine with Sonoff, you can check source code and use it. Posted at 2018-05-22 by @MaBecker Hi @btrut
please make sure you use latest Wifi.scan() syntax Posted at 2018-05-26 by btrut Thank you @MaBecker I'll check this! And thanks @Vasily that looks very interesting indeed! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-10-28 by user82278
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.
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions