Hello Delan009 (je bent van Veurne, das dichtbij )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
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.