Hi,
I am looking for a node or flow to check the status of batteries and dead devices.
Somebody with a good solution? Or examples.
Hi,
I am looking for a node or flow to check the status of batteries and dead devices.
Somebody with a good solution? Or examples.
I can read the battery voltages of some devices using MQTT. Setting various values (Low, Warning or whatever) and comparing to the actual voltage, you can send a message, warning or otherwise, in my case via Telegram. (Or you could display values/warnings on a screen.)
Yes, but is there a way to read only dead devices and low battery? And not to configure every devices.
And then send an message.
You can't really read a dead device. So you need a way to tell if a device is alive, not dead.
Depending on the capabilities of the device you could
If your device can measure it's own battery level, have it send that data as the heartbeat payload.
With MQTT it may be possible to use the LWT (Last Will and Testament).
LWT is good yes.
By default Node-red will receive the "Offline" message 30 seconds after the device drops off the network.
It's basically the same as my heartbeat suggestion but built-in to MQTT.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.