MQTT Domoticz improvement

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Mazzokun
New user
Posts: 7
Joined: 01 Nov 2016, 08:22

MQTT Domoticz improvement

#1 Post by Mazzokun » 02 Nov 2016, 09:35

Hi all! I'm new with ESP. I flashed 3 Sonoff switch with ESP EASY and I'm using MQTT to control them with virtual switch in Domoticz.
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 :oops:

Post Reply

Who is online

Users browsing this forum: No registered users and 65 guests