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 -
Blockley in Domoticz-not working correctly. Anyone know how to fix.... ?
Domoticz • 15 Nov 2021, 23:07 • Bren 21 Nov 2021, 18:09 -
Trying to automate in Domoticz
Domoticz • 25 Feb 2022, 23:13 • Feliw05 28 Feb 2022, 03:39 -
domoticz tables and mysensors
Domoticz • 7 Feb 2023, 20:55 • ebioz 7 Feb 2023, 20:55 -
Questions about an old setup
Domoticz • 4 May 2022, 02:55 • dbemowsk 9 May 2022, 17:30