Skip to content
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

[deconz] Make the lastseen channel for lights and power sockets available in openHAB #10149

Closed
darkogorgievski opened this issue Feb 14, 2021 · 1 comment
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@darkogorgievski
Copy link

darkogorgievski commented Feb 14, 2021

I would like to have the lastseen status for zigbee lights (all types lights) and power sockets available to use in OH. The idea is to calculate the health status (I do experience from time to time that my tradfri lights get stuck and I need to power cycle them).
The lastseen values are already available in the REST API and are updating

{
"etag": "XX",
"hascolor": false,
"lastannounced": "2021-02-12T14:50:49Z",
"lastseen": "2021-02-14T13:21Z",
"manufacturername": "IKEA of Sweden",
"modelid": "TRADFRI bulb E27 W opal 1000lm",
"name": "Light Office",
"state": {
"alert": "none",
"bri": 254,
"on": false,
"reachable": true
},
"swversion": "1.2.214",
"type": "Dimmable light",
"uniqueid": "XXXXX"

{
"etag": "XXXXX",
"hascolor": false,
"lastannounced": "2021-01-05T08:40:23Z",
"lastseen": "2021-01-23T13:43Z",
"manufacturername": "IKEA of Sweden",
"modelid": "TRADFRI control outlet",
"name": "Lights Christmass Tree",
"state": {
"alert": "none",
"on": true,
"reachable": false
},
"swversion": "2.0.022",
"type": "On/Off plug-in unit",
"uniqueid": "XXXXXXX"





@darkogorgievski darkogorgievski added the enhancement An enhancement or new feature for an existing add-on label Feb 14, 2021
@J-N-K
Copy link
Member

J-N-K commented Mar 19, 2023

Fixed with #14622

@J-N-K J-N-K closed this as completed Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

No branches or pull requests

2 participants