How to detect if a device is online
Posted: Tuesday 29 June 2021 11:50
Hi all,
I would like to test if a device is online. More specifically a WiFi light bulb. I could retrieve the last-updated-time as well as the state, but both parameter give normal values when the device is on or offline (power is off).
A method might be to ping on the IP address but I couldn't find a way to retrieve the IP address of a certain device as it is handled using MQTT.
Domoticz itself adds a red bar on the device when it is offline, but how to get this information in dzVentz?
Does anybody know how to achieve this?
Thanks in advance.
Regards, Wolly
I would like to test if a device is online. More specifically a WiFi light bulb. I could retrieve the last-updated-time as well as the state, but both parameter give normal values when the device is on or offline (power is off).
A method might be to ping on the IP address but I couldn't find a way to retrieve the IP address of a certain device as it is handled using MQTT.
Domoticz itself adds a red bar on the device when it is offline, but how to get this information in dzVentz?
Does anybody know how to achieve this?
Thanks in advance.
Regards, Wolly