Hi!
I found this:
https://www.amazon.com/Sonoff-T1-US-Sta ... rds=sonoff
Do you know if there is any way to control it via wifi with a Raspberry (python, bash...) or Home Assistant?
I know that Sonoff Basic has custom firmware to do that, however I need a wall switch too, not only a relay.
Thanks and regards!
-
- Posts: 35
- Joined: Thu Jan 25, 2018 12:40 pm
Re: Control Sonoff wall swith
I did a bit of research on this on a slightly different Sonoff switch but I think the principle is the same. It was a little while ago now and I ended up going down a different route so it's a bit fuzzy. The only way I've found is to use IFTTT and webhooks.
The biggest problem I found is that these switches kill the power to the relay. I hoped that the switch would issue a command to switch the relay off.
It's a real shame that there's no proper API for Sonoff. I've got a few relays and I find them to be fantastic for the money.
The biggest problem I found is that these switches kill the power to the relay. I hoped that the switch would issue a command to switch the relay off.
It's a real shame that there's no proper API for Sonoff. I've got a few relays and I find them to be fantastic for the money.
-
- Posts: 35
- Joined: Thu Jan 25, 2018 12:40 pm
Re: Control Sonoff wall swith
I've found Espurna custom firmware:
https://github.com/xoseperez/espurna
If I finally buy that switch, I'll try it.
Regards
https://github.com/xoseperez/espurna
If I finally buy that switch, I'll try it.
Regards
Re: Control Sonoff wall swith
I would recommend flashing the Sonoff with Tasmota (https://github.com/arendst/Sonoff-Tasmota) and using MQTT Mosquito to control it