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
Sonoff and restore state after power cycle
Moderator: leecollings
-
kluczus
- Posts: 24
- Joined: Tuesday 12 September 2017 14:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Sonoff and restore state after power cycle
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
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/
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
........................................................................................
RPi2 + sonoff + 433MHz + Xiaomi Gateway + EQ-3 MAX!
RPi2 + sonoff + 433MHz + Xiaomi Gateway + EQ-3 MAX!
-
Lebo2d9
- Posts: 139
- Joined: Tuesday 06 September 2016 20:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: L stab
- Location: Belgium
- Contact:
Re: Sonoff and restore state after power cycle
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
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
-
kluczus
- Posts: 24
- Joined: Tuesday 12 September 2017 14:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff and restore state after power cycle
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/
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/
........................................................................................
RPi2 + sonoff + 433MHz + Xiaomi Gateway + EQ-3 MAX!
RPi2 + sonoff + 433MHz + Xiaomi Gateway + EQ-3 MAX!
Who is online
Users browsing this forum: No registered users and 1 guest