Get last update notification of Relay node within Domoticz
-
Re: Relay Actuator - send periodic status as heart beat.
I am creating a new post as the above thread is quite old and I think this is specific to Domoticz.
Thanks to @sundberg84 and also @Denis-Renaud for the code which I have used in my relay node.Domoticz now shows "last seen" every 30 seconds.
However, what I want to be able to do is get Domoticz to send me a notification when "last update" is greater than a certain value.
However "last update" is not available from the notifications tab - presumably because it is seen as a switch and that option is not available for switches.Any suggestions how to make this work? Could I send a status as some other sensor type/child ID that allows the last update message?
I use the MQTT plugin in Domoticz to send messages into Node Red - I only get a MQTT message when the switch is physically changed, not on the heartbeat interval.
-
I have found a workaround by sending the heartbeat message as a separate V_MULTIMETER child. This then gives me a voltage reading of 0V every 30 seconds that I can use with the Domoticz last update feature
Would like to hear any better ways of doing this.
Suggested Topics
-
Vera Gateway Versions
Troubleshooting • 29 Mar 2014, 19:59 • karenbobiv 30 Mar 2014, 07:20 -
Calculate Delta T of two temperature sensors with lua
Domoticz • 5 Oct 2022, 10:06 • Mela 5 Oct 2022, 10:06 -
Trying to automate in Domoticz
Domoticz • 25 Feb 2022, 23:13 • Feliw05 28 Feb 2022, 03:39 -
Blockley in Domoticz-not working correctly. Anyone know how to fix.... ?
Domoticz • 15 Nov 2021, 23:07 • Bren 21 Nov 2021, 18:09 -
eventsystem: problem writing file
Domoticz • 27 Feb 2022, 00:11 • Feliw05 27 Feb 2022, 17:50 -
S_GAS, send and request problem
Domoticz • 28 Nov 2024, 05:38 • Marcin 28 Nov 2024, 05:38