[OBSOLETE] Sonoff, Sonoff TH, S20, Dual, 4CH, POW, & Touch Device Handler & SmartApp ($5 & $10 Smart Switches)

They use the same SSDP profile “Basic” so that doesn’t surprise me.

As promised, here is the thread for the RGBW controller: :wink:

2 Likes

@erocm1231

Noticed something weird… Lost power at my house for a few hours today… came back, none of my sonoff’s worked.

Go to make sure my wifi is up and what do I see? 12 Sonoff wifi’s. Re-Connecting them to the wifi network worked, but it was a pain. Any idea what happened?

No, I haven’t had that issue. I’ve lost power a couple times and of course have unplugged and plugged these things in a bunch and haven’t seen anything like this. Are you using the latest firmware? Also, did anything change on your wifi ssid or security type?

I’m running the first fully custom release you did. AFIK nothing changed on my WAP. Everything else still connects no issue. I’ll try some testing tomorrow and see if I can replicate the issue.

Eric, I have a sonoff installed and working great, but I also have at least 8 ESP8266 of various configurations. I have tried modifying other projects (e.g. absolute simplest ESP8266 smartblinds and SmartThingsESP8266 author J Schreiver of smarttnings labs) to create switch/sensor combinations without success.
Would you consider releasing ESP code for arduino IDE. I understand if you are not inclined to for any reason, and thanks again for the excellent work you have contributed already.

@erocm1231
Eric, awesome work! Thank you very much! I got two switches and they are working flawlessly.

Could you please share source for esp8266? Could be very useful for other esp8266 small projects I have.

This thread looks like some fab work but just bought 3 and all three were just dead. Could not even get the led to blink… just junk quality hardware it seems. :unamused:

Man, that is too bad. I have bought maybe 10 without issues. Perhaps you got a bad batch? Where did you get them from so maybe others can try to avoid that source?

Purchased via Aliexpress, took a couple of weeks. Haven’t bought the FTDI adapter yet, thought I’d play with it natively first before dabbling with your firmware.
A question about the connection, have you managed to get by without needing to solder the header into the board, as your firmware only requires this process to be done once now?

I have purchased over 20 from the source linked in this thread. I have had 1 or 2 that did not cooperate.

I personally do not solder the headers in. I have cables with the male end. I just slide them into the board and angle them a bit and start flashing. Works I’d say 80% of the time. Sometimes I have to readjust the cables in the board and try flashing again.

I

2 Likes

You certainly don’t have to solder them in. I do just for ease of use and down the road possibility of flashing again.

What @raggedrebel92 said, you may not get solid contact and might need to try more than once. These and the sonoff switches don’t appear brickable, but since I flash a lot of routers that are, I’m in the habit of soldering.

1 Like

Double check you are using vcc and gnd, and 12v. Try a different power supply too. Look over the board, see if any two solder pads may be soldered together. The caps on mine were all over the place so to speak, make sure they aren’t lose or touching anything else with their leads.

A few updates to the device handler and firmware.

  • Password protect config & firmware (username is admin)
  • Password protect control (must update device handler and put password in)
  • Hold down button for 10-20 seconds to reset wifi and network settings
  • Hold down button for 20-60 seconds to reset all settings
  • Static IP (you really don’t need to worry about the ip with the Service manager app installed, but if you want to do this . . . )
  • Web interface to view and change settings.

You can update the firmware from ipaddress/update. Remember to update the device handler as well.

1 Like

Updated all four of mine without issue! Thanks for this!

I have just bought one of these to play with but do not have a ftdi gizmoey thingy.
Works OK through the eWeLink app.
Has anybody thought of getting these to work on a cloud to cloud basis.
All of that is beyond me but was just wondering.

Would it be a major nono to put this into an electric box where an outlet used to be?

Have you seen this part of the thread?

I mean technically doing any electrical work yourself is a big no no. I have a lot of these in celing fans and a few other places and haven’t had an issue.

But they are a little big to fit in a normal single gang box. It may fit, but you would probably have to install a block off plate cause nothing else would fit.

Doing electrical work yourself is not a no no. It depends on the rules within your local municipality. Most places allow for a homeowner to do the work themselves as long as they get a permit and get it inspected. Swapping a dumb switch for sale smart switch usually doesn’t require a permit or inspection.

These devices a likely not in wall rated so I’d say don’t.