-
-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last Seen field for monitoring battery devices? #2896
Comments
Wait for next release or use master tag in case you are using docker |
I tried this out today, but I'm not seeing the new field (i.e. last_active) pass to HA as an attribute? I know you don't manage HA code base, but shouldn't this automatically populate as an attribute on the device when viewing in Node Red via node-red-contrib-home-assistant-websocket? The zigbee2mqtt integration populates last_seen as an attribute so wondering if we could do the same under zwavejs-ui? I'm aware I could listen to the queue, but would rather query HA via node-red-contrib-home-assistant-websocket, the same way I query zigbee2mqtt devices. Is that possible? |
I don't pass anything to hass, I'm even not awere how this could be done? Do you have some docs about mqtt discovery? |
Here is the info about MQTT discovery. I'm using the HASS ZwaveJS integration which connects to your app using websockets. I'd imagine there is a discovery message you could send that would setup the attribute? |
Zwave-js integration isn't managed by me, you should open an issue on HA core repo for that. |
I noticed when the container is restarted, battery devices display "Never" under Last Active field. Is there a way to persist the last active field value upon a restart so there is no data loss? |
There is an open issue on zwave-js repo for that. Need to wait for that, @AlCalzone do you have a reference to that issue, cannot find it on zwave-js repo? |
The zigbee2mqtt integration has a last_seen field that is updated based on the last inbound signal from the device. Can we get the same for zwave-js-ui? If so, then users would have the ability to standardize our Node Red approach when monitoring battery devices that stopped communicating to the z-stick. I'm aware of the node_status entity populated in HA, but I want to know exactly the last time a device has communicated with the z-stick. FYI - the HA last_update and last_changed fields populate on HA restart so they are useless.
The text was updated successfully, but these errors were encountered: