HA Not Reporting 'Last Seen' Accurately for Dead Devices - OK in ZUI #6688
-
Checklist
Describe the issueZ-Wave JS UI reports a device that has gone missing (dead battery or otherwise) accurately within the ZUI interface by displaying the 'Last Active' timestamp. This survives restarts, reboots, firmware updates, and all other activity. However, the corresponding 'Last Seen' entity is not properly refreshed in HA and may report it as state 'Unknown'. Thread discussion of the issue on Discord here: Software versionsDriver (node-zwave-js): ... Z-Wave JS UI: ... Home Assistant Z-Wave Integration: ... Home Assistant Z-Wave JS Addon: ... ioBroker.zwave2 Adapter: ... If you are using something non-standard, tell us here: ... zwave-js-ui: 9.9.0 Device informationall devices - in the case documented below, Node 017 had a battery die on Feb 6, and it is reported accurately in ZUI, but in HA the 'Last Seen' is 'Unknown'. System information attached: Checklist
Upload Logfile |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
👋 Hey @pumrum! It looks like you attached a logfile, but its filename doesn't look like it a driver log that came from Z-Wave JS. Please double-check that you uploaded the correct logfile. If you did, disregard this comment. As a reminder, here's how to create one: |
Beta Was this translation helpful? Give feedback.
-
ZUI gets the baseline "last active" value from the node property HA gets the baseline "last active" from the node From what I can tell, the node So the question is: is the current behavior expected and so HA needs to be fixed (or zwave-js-server), or can the driver keep the lastSeen property and statistics.lastSeen property in sync, even after restarts. |
Beta Was this translation helpful? Give feedback.
--> home-assistant/core#119390
I think the Z-Wave JS UI behavior is correct. HA loses the state whenever the addon or Z-Wave JS Server is restarted (probably when the integration reloads).