Some of you can link me a guide on how to make domoticz switch the sonoff relay? I followed many how to on this forum but I can't make this work. I installed espeasy on my sonoff. Thanks so much for your help, I'm sorry for posting this again
Sonoff
Moderator: leecollings
-
marcotrumpet
- Posts: 102
- Joined: Saturday 18 February 2017 8:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Sonoff
Hi all.
Some of you can link me a guide on how to make domoticz switch the sonoff relay? I followed many how to on this forum but I can't make this work. I installed espeasy on my sonoff. Thanks so much for your help, I'm sorry for posting this again
Some of you can link me a guide on how to make domoticz switch the sonoff relay? I followed many how to on this forum but I can't make this work. I installed espeasy on my sonoff. Thanks so much for your help, I'm sorry for posting this again
-
mKotek
- Posts: 68
- Joined: Wednesday 30 December 2015 23:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Poland
- Contact:
Re: Sonoff
If you have installed ESPEasy on Sonoff, take a look at: https://www.letscontrolit.com/wiki/index.php/Relais
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
-
marcotrumpet
- Posts: 102
- Joined: Saturday 18 February 2017 8:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff
Mmm ... I’m a bit confused. How con I know the pin? I want to connect a light bulb to the sonoff and then turn on/off the light from domoticz and the physical wall switch.
EDIT
I think I can't use sonoff to switch my bulb on/off both from domoticz and wall switch.. some of you know a way to do this?
Inviato dal mio iPad utilizzando Tapatalk
EDIT
I think I can't use sonoff to switch my bulb on/off both from domoticz and wall switch.. some of you know a way to do this?
Inviato dal mio iPad utilizzando Tapatalk
-
mKotek
- Posts: 68
- Joined: Wednesday 30 December 2015 23:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Poland
- Contact:
Re: Sonoff
With Sonoff, the button is attached to GPIO 0 and the relay to GPIO 12. You can also have GPIO 14 available if you soldier all 5 pins on the board. The one on the most left is GPIO 14.
As for the switching, you need to use rules - take a look at the forum for ESP Easy, we have discussed that there.
As for the switching, you need to use rules - take a look at the forum for ESP Easy, we have discussed that there.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
-
marcotrumpet
- Posts: 102
- Joined: Saturday 18 February 2017 8:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff
Ok so I need to solder the in wall switch to the button on sonoff great! I'm surfing the esp easy forum, if you have some usefull link I appreciate
Inviato dal mio SM-G950F utilizzando Tapatalk
Inviato dal mio SM-G950F utilizzando Tapatalk
-
stephenmhall
- Posts: 13
- Joined: Saturday 10 June 2017 22:23
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Sonoff
if I were you I would switch to the Sonoff-Tasmota firmware, really does just work out of the box.
You do need a MQTT server, I have mosquitto running on my Synology alongside Domoticz.
Flash the firmware, access the device web page on a tablet or phone, config the type of sonoff switch and your domoticz details including the idx of the virtual switch you are linking it to and bang it works.
https://github.com/arendst/Sonoff-Tasmota
You do need a MQTT server, I have mosquitto running on my Synology alongside Domoticz.
Flash the firmware, access the device web page on a tablet or phone, config the type of sonoff switch and your domoticz details including the idx of the virtual switch you are linking it to and bang it works.
https://github.com/arendst/Sonoff-Tasmota
-
marcotrumpet
- Posts: 102
- Joined: Saturday 18 February 2017 8:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff
Thank you everybody.. I used espeasy and soldered wires from gpio0 button to my wall switch
Inviato dal mio SM-G950F utilizzando Tapatalk
Inviato dal mio SM-G950F utilizzando Tapatalk
-
marcotrumpet
- Posts: 102
- Joined: Saturday 18 February 2017 8:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Sonoff
Can you tell me ehy to lrefere tasmota instead espeasy?stephenmhall wrote:if I were you I would switch to the Sonoff-Tasmota firmware, really does just work out of the box.
You do need a MQTT server, I have mosquitto running on my Synology alongside Domoticz.
Flash the firmware, access the device web page on a tablet or phone, config the type of sonoff switch and your domoticz details including the idx of the virtual switch you are linking it to and bang it works.
https://github.com/arendst/Sonoff-Tasmota
Inviato dal mio SM-G950F utilizzando Tapatalk
Who is online
Users browsing this forum: No registered users and 1 guest