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

Hi Eric. I’m having trouble controlling my Sonoff Touch 2 gang after migrating to the new smartthings App. I have try updating the device handlers and I have deleted all the child devices. Change something in the device settings and change it back again. All the child devices are created again, but still I can’t manage to add this devices in Sonoff Connect or control the devices. But they appear in Smartthings as a device. Question: where can I find the latest update? Is it here: https://github.com/erocm123/SmartThingsPublic/tree/master/devicetypes/erocm123 and if this still don’t work for my will it help if I try to re-flash the switches?

Thanks in advance for any help I can get.

Jomeg0

Hello Eric,
I am trying to configure Sonoff Mini R2 device with your version of ESP Easy firmware and looks like it needs some modifications. With Tasmota it works well, but I just wanted to use the same firmware for all my devices.
What is good in Mini R2 that you can do everything over the air, due to DIY mode and DIY utility. You just need to activate ota using rest API and then flash using utility.

MIni has contacts for external button and when you flash with fimware for sonoff basic it’s only possible to use internal switch which is GPIO 0 to toggle device state. Contacts for external switch are GPIO 4.
I have no experience in arduino, but probably changing KEY_PIN1 to 4 should fix the problem
image
But it will disable internal button.
Not sure what EXT_PIN is, may be it’s what we need to keep internal and add external switch.

Tried to compile sketch, but getting errors from dependencies

Can you elaborate on how you access the config menu for the device? I can’t get the auto off to work either.

Edit: ignore this. There was something in the fan device handler that was edited but not published. Publishing the handler fixed this.

I’m having trouble with the Ifan02 child device
I created the Fan device using sonoff connect. It created by default as a Sonoff Wifi Switch. As a sonoff switch I can turn the light off by pressing the power on the device. I then changed the device type to Sonoff IFan02 Wifi Controller. This creates a child device too. After that the main device lets me control the fan speed, but the child device just shows the offline cloud symbol.

1 Like

I have a few Sonoff devices (switch) which I use with Tasmota firmware.
But I don’T like the behaviour of Tasmota firmware (by default keep power off) and I have some performance issues on Wifi 2.4ghz mesh. (Asus AiMesh)

is it possible to change firmware to @erocm1231 's firmware through Tasmota web UI ?

I haven’t been keeping up with other project so I am not sure. I have been able to do that in the past, but I’m not sure on the state right now. Make sure you can flash with the serial cable as a backup option.

thanks for your reply.
actually I upgraded from Tasmota 8.1.0 to 9.5.0 and the problems were gone.
I’ll stay with Tasmota for now.