Hi,
How to read the status of relays from Domoticz during booting ESP Easy ? and set the relay in ESP Easy ?
Best Regards,
Robert
Relay recovery last state after power failure
Moderators: grovkillen, Stuntteam, TD-er
Re: Relay recovery last state after power failure
you must use MQTT and use the message persistance features in order to do this (I have this feature in some of my modules even thou I don't use Domoticz)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Relay recovery last state after power failure
To clarify, papperone says you must activate the "MQTT retain" feature on the advanced tab.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: Relay recovery last state after power failure
yes indeed, thanks for clarification, and as well in all devices that can send that message!
(in my case I can toggle a switch from the GUI which runs on a RaspberryPi and those message must be sent as well with the retain activated else the setup will not work properly!)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Who is online
Users browsing this forum: No registered users and 25 guests