Page 1 of 1

Sonoff and restore state after power cycle

Posted: Wednesday 20 September 2017 23:10
by kluczus
Hi,
Maybe someone can explain me step by step how to configure Sonoff S20 (with easyesp R147) to have always the same switch status on sonoff and domoticz, even after power cycle? I was fighting a few hours without luck :cry: Now when i reconnect sonoff, domoticz has switch set to on, but sonoff has switch set to off :-( I was using this tutorial https://smartdomsite.wordpress.com/2017 ... f-esp8266/

Re: Sonoff and restore state after power cycle

Posted: Thursday 21 September 2017 7:24
by Lebo2d9
Maybe you can create a dummy switch on sonoff that is controlling the output and send on regular base the status of that switch to your domoticz (dummy on domoticz). You need Then you check the state the dummy that is updated by the sonoff and when the state is not equal yiu send a toggle command to you dummy on the sonoff

Re: Sonoff and restore state after power cycle

Posted: Friday 22 September 2017 14:49
by kluczus
I was trying to do that but after every power cycle dummy switch reverts state to 0 :-(
But finnaly I have solved by installing a different firmware. It is not that powerfull like easyesp but working out of the box :-)
http://smart-house.adrian.czabanowski.c ... re-sonoff/