[RELEASE] Sonoff (Connect)

Just a note, if you don't have the latest firmware for the s20 flashed it won't report status to Hubitat. Updating the firmware to what is posted above will fix that.

@aaron I have done some converting and testing of the RGBW controller. I haven't made a post about it, but believe it is working with the changes made.

The firmware is in my SmartThings github.

The App and Driver is in my Hubitat github

1 Like

Do I need to flash the H801's again with this firmware?

That was for zwave devices (yay z-wave sniffer!) I did not check to see if they did it for zigbee or lan devices.

1 Like

My Mistake! I'm a ZWave only kinda guy... I think in only ZWave.

I have two Zigbee (motion) devices attached to my 2nd Hub, along with a mandatory (it seems) Peanut plug. I don't really look for Zigbee devices when I need a device.

Actually, to be honest, I have only tested with an older firmware. I would try first with the firmware you currently have (with the Hubitat driver and App).

Eric,

Good news! The new firmware works with your current HE drivers and code.

Since you are still in development one of the coolest features in HE for SmartLife RGBw could be the new Scenes capabilities. As of now the DH doesn't support what is needed to capture color. @mike.maxwell posted recommendations here for standardizing color for scenes to capture. Not sure if you can look at this and make changes too.

@ericm Didn't expect to find you here! Have you switched to Hubitat or just playing with both for now?

Oh, hi @cjcharles!

I've mostly switched over, but have a few things still running on SmartThings. There are just a few things that I am waiting on before I can be completely switched over. :slight_smile:

3 Likes

@ericm

I know you haven't asked for any testers but I have been testing out your SmartLife RGBw code as it updates. The latest is now working with Scenes where color is being captured now. SO excited about this!

1 Like

Eric, I've not had any experience with Sonoff. Do I need to flash all devices to use your Device Code (and by flash, do you mean to the tasmota firmware)?

Also, have you released it for the S26? It's a little smaller than the S20.

If you want to use Eric’s drivers, I believe you’ll need to flash the Sonoff devices with Eric’s firmware for them. There is another user who wrote a Hubitat Driver for the Tasmota firmware. Just search the forum for it.

WaHoo, Just bought a hubitat yesterday, that was before I came in here and saw all the amazing devlopers invloved here -Now I know I made the right decision !

Hey Eric- quick question the enerwave ZB333 zigbee plug never worked right on ST-do you have any idea if it'll be better on Hubitat- I believe you wrote the handler for ST for this device.

sorry for off topic post :frowning:

Oh man, I don't remember making that handler LOL. I did do a few things for Enerwave. I'm not sure if it would work well on Hubitat. Probably better than on SmartThings, but you'd have to try it out.

@mike I believe Tasmota firmware supports OTA firmware updates so once you do the initial flash it is very simple to flash back and forth between firmware. So you can test to see which works best for you.

Just a side note...don't leave Sonoff connect app installed if you don't have any devices connected yet. I'm in the process of porting over and moved one just to test how it works and to my delight it was a snap. But then I moved the one device back to ST. So there were no Sonoff devices connected to HE. Every five minutes since then I have been getting 2 ssdpTerm hub events. In the last 2 days I have over 1,800 of them!!! Well, a couple quick pokes and i found that it was Sonoff Connect. I'm sure it doesn't do that if you actually have devices installed with it. Just wanted to give a heads up since I see people saying that these might be causing lockups. Too much preparing isn't always a good thing I guess. Either that or the universe is telling me to jut get everything over to HE already!
And btw...thanks Eric! Was relieved when I saw you'd ported these over to HE. :smiley:

UPDATE: Added sonoff connect back along with 4 sonoff switches and started getting the hub events again tonight. Will removing the app remove all my devices as well? Are these hub events okay?

The Sonoffs (and other SSDP devices like the Hue bridge) send out SSDP packets for discovery purposes. I believe the Sonoffs send one every 5 minutes. This traffic is so minimal I don't see how it could cause a problem. If it did, the Hue bridge would be at fault as well.

Hey, I'm just checking. I saw another post about these packets and it looked weird so I thought I'd check. Thanks!

So, what if any downside is there to the Sonoff devices? Prices are very attractive. I'd be interested in the wall switches and smart plugs.

The Sonoff devices are all based on the ESP8266 microcontroller. As a consequence, they all use Wi-Fi for communications, instead of Zigbee or Z-Wave. Not sure if this is a 'Pro' or a 'Con', as that is somewhat subjective.

I can tell you that you will receive great support for Zigbee and Z-Wave devices from the Hubitat Team. For these Sonoff WiFi devices, you will be more dependent on the community members for support. I'm not saying the Hubitat team won't help... But since these are not natively supported, I'm not sure how much assistance they will be able to provide.

Another consideration is whether or not these inexpensive devices are really up to the safety and reliability standards required to achieve UL ratings. I would personally not want to rely on these devices for switching 110/220 loads in my house. For low voltage applications, maybe.

There are a lot of low priced Zigbee and Z-Wave devices that are fully supported for wall-switch and outlet applications. I personally believe these are the safer, more well supported devices.

4 Likes