ESP8266EX Sonoff Wifi Issue

Posted on
  • Hello,

    I'm trying to set the same project as Gordon did here :
    https://www.youtube.com/watch?time_conti­nue=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_c­ombined_512.bin

    Thank you very much.


    1 Attachment

    • Capture d’écran 2017-10-28 à 18.21.48.png
  • 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.

    Thank you

  • Hi.

    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.

    Vasily

  • Hi Vasily,

    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.

    Thank you

  • 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.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

ESP8266EX Sonoff Wifi Issue

Posted by Avatar for user82278 @user82278

Actions