control bulb with push button

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: control bulb with push button

#11 Post by DeNB3rt » 22 Feb 2017, 10:13

delan009 wrote: The only problem that i have is when i push on the relay with the switch and i switch off the relay with the virtual switch (domoticz) i must switch 2 times on the physical switch
Hello Delan009 (je bent van Veurne, das dichtbij :D )

I had the same 'issue' with the push button or switch button.
I have one virtual switch in domoticz for each relay.
Then I use on/off actions in domoticz that control the gpio of the ESP (ON = http://192.168.0.100/control?cmd=gpio,5,0 and OFF http://192.168.0.100/control?cmd=gpio,5,1)
The switch is connected to an gpio and is configured with the same IDX as the virtual switch in domoticz.
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

bobbybeans
Normal user
Posts: 119
Joined: 26 Feb 2017, 17:30

Re: control bulb with push button

#12 Post by bobbybeans » 03 Mar 2017, 12:37

I know this is slightly off of what you want to do but why don't you buy an itead sonoff touch. its a built in relay and esp that nicely fits into a standard wall socket

Post Reply

Who is online

Users browsing this forum: No registered users and 54 guests