domoticz-zigbee2mqtt-plugin icon indicating copy to clipboard operation
domoticz-zigbee2mqtt-plugin copied to clipboard

How to get the last seen

Open bricololo44 opened this issue 3 years ago • 1 comments

Issue description

Hello, With DZVents, I easily get the Last update of the devices in domoticz but I would like to have the Last Seen of the hardware line of the plugin. This is information that is not in the domoticz JSON. Is there a file in domoticz that contains this information? Is there a python script or other that would extract this information?

Additional information Zigbee2MQTT [1.25.1] coordinateur zStack3x0 coordinateur 20220219

bricololo44 avatar May 08 '22 15:05 bricololo44

I just noticed that as a general rule for Xiaomi devices, the last seen is identical to the last update, but this is not the case for the temperature sensors (difference < 3 min). The problem is for Opple switches, because the last update is equal to the last action on the switch, so the last seen is updated regularly. I have differences of several hours or days. Is there a file in domoticz that contains this information? Thanks

bricololo44 avatar May 09 '22 14:05 bricololo44

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 30 '22 17:08 stale[bot]