domoticz-zigbee2mqtt-plugin
domoticz-zigbee2mqtt-plugin copied to clipboard
Make Touch (heartbeat) a configurable option
To my opinion device.Touch() should be configurable in the plugin settings (On/Off).
I like my switches to show the last update moment as the Last Seen timestamp. Now the Last Seen timestamp shows the time of the device heartbeat.
For a lot of people this will be the expected behavior as the Last Seen time is indeed the time the switch/sensor was last seen. But that is not how I used Domoticz for the past 7 years :)
+1
+1
+1 for security sensors it is much more interesting to know the time of the last operation. for example, when a movement was detected, when the sensor stopped detecting movement, or when the door was closed. but currenlly, we see the sensor’s heartbeat time. I'm for lastUpdate :)
Or even so: is it possible to change the date only for the device whose data has changed? For example, the signal level of the "magnet" has changed - lastSeen only changes for the device "magnet (Link Quality)", and for the other devices (battery level, open/closed state) - does not it change?
I made the following changes back and everything worked as you want. That is, heartbeat will only change the time and date for subdevices and not for sensors.
https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/commit/136c1f84de2c945fc1bc329d6e5760f81801f6cb#diff-6ee30ccb8aa97070e5e898daf07c0f3bR95
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.