This is a known bug with the esp8266 sdk. I ticket has been submitted. The problem mostly occurs when there is a power outage and your Sonoff devices boot up before wifi is available. If you have a lot of power bumps it may be beneficial to put your AP on a battery backup.
I have dozens of esp devices, but rarely have seen this problem in the wild (because I don’t have very many power issues and my AP is on battery backup). I can easily replicate it though.
Just flashed a SV (low voltage) the firmware works for it for those wondering.
I however don’t have a SmartThings hub so the app will not detect it.
I can control on/off from its web page and I’ve added it to the BWS Systems HA-Bridge which gives me Alexa control.
I flashed the sonoff , sonoffTH and the sonoff s20 all works perfectly with my smart hub thanks to Eric .I was wondering if there are any plans for other devices to be hacked such as the sonoff dual and the sonoff 4 channel device as these would be ever so useful for many application .If not then I’ll have to look for other ways to flash these devices say through arduino and a bridge or anything link up possibly or am I just missing something
I do plan on doing the dual channel Sonoff and the Sonoff POW. I have not considered adding the 4-channel version yet.
@tangcmin The headers for the Sonoff Touch are clearly marked inside. The only exception is GPIO0 which is needed to get it into flash mode. If you ground GPIO0 as shown in the below picture and then power the board via the FTDI adapters 3.3v, you will be able to flash the touch.
I already have 3 Sonoff SV , and wonder if it`s possible to flash those and use them like the other switch ?
I dont need or want a 220v switch.
I wonder about buying the flash USB, but need to know if it`s possible
I have 4 speaker in my house I would like to control using a low power relay, and the sonoff relay is perfect.
And if it would be possible to use this into ST it would be even more awesome
I wonder if nobody soon can make a relay board with 4 or more relay output that can be integrated with ST and work on 12v, if not, I would love to hear some option how to control some 5-12v relay from ST .
Anyone have a sonoff touch that had this issue:
I flashed the touch. flash completed. disconnected it from ftdi.
took it to switch location. installed it. no brain surgery.
Nin-Neutral
LIn-Hot
LOut-load
Sonoff doesnt appear to have ANY power.
Tested on board terminal. 120v present on board LIn terminal
Tried it with an electrical cord to an outlet.
Tested again, 120v present on board contact.
Sonoff does absolutely nothing. Not a single light, doesn’t broadcast a wifi hotspot.
Am I missing something? Or did I get a bum switch?
Hi Eric, I’m sorry to keep asking but any chance you could give some time to getting the DS18B20 sensor working with the sonoff TH?
I know you’re busy because I follow some of your other threads as well, but I’m sure the temp sensor would make the sonoff TH perfect for many applications.
I had exactly the same problem with my touch.
It took me ages to get it working.
It appears to flash ok but it doesn’t seem to stay.
If i flashed with espeasy firmware then did the upgrade via web it worked till i rebooted the switch then it died.
In the end i had to flash the firmware with NODEMCUFlasher. (https://github.com/nodemcu/nodemcu-flasher)
It’s now working fine.
My Touch is a eu version, i’m not sure if is slightly differnet from eric’s us version.
Gary, The flash was successful via NODEMCU flasher, just as the CMD prompt method.
Yet the switch is just dead. No hotspot. No manual touch. Lo leds light up. nothing.
I’m guessing I got a bum switch
The settings i used in NODEMCU were, 115200 baud, 1Mbyte Flash, 40Mhz Flash speed and SPI Mode DOUT. I thought my switch was dead unitl i flashed it with espeasy firmware then did the upgrade and the switch started working it just wouldn’t stay working.
I got my sonoffs delivered, and I’m trying to flash, it is flashing the firmware successfully (I think), but I do not see any new SSID, tried 3 of them, same thing. After flashing the button does not turn on the load, nor do I see any LED response on the sonoff. Below is the output of the flash (even flashed thrice):
EDIT: I should see SSID reboot after flashing, power the sonoff using the mains input or either using the 3.3v + GND, tried both power methods, still no go. I’m pulling my hair with this.
I may have possible been doing the same thing yesterday… double check your port… I thought I flashed the sonoff 10 times until I realized I had a nodemcu plugged in on another port and kept relaxing it instead of the sonoff