Works well but if I put on switch, then pull off AC power from Esp, pull on AC power to ESP, and last turn back into domoticz I see the light on.. but the real lamp is off..
Is there a way to send the status of the switch to domoticz at boot time? Or a way to send the status of the switch to domoticz every X time?
Because if i Use HTTP Domoticz setting there is an option to send to domoticz the status of the switch but Http requests are very slow compared to MQTT.
Thank you, I know I'm a NOOB
