-
Notifications
You must be signed in to change notification settings - Fork 779
Items label, state, and category values lost on server restart #2098
Comments
How do you create such items? |
FTR: If the items are not manually defined, but inferred by the channel links, #1550 is likely to be the cause for the labels to disappear. |
This item was added when approving a discovery from the Hue Bridge. |
Steps to reproduce:
|
Dear all, I am familiar in Java programming and also developing of openhab addon. However, I a new to openhab2 core. |
Hi @ruebox, thanks for your interest to help on the core development! Please note that issue #2098 might not be a good choice to get started with, though, as it is highly complex. The root cause is very likely #1550 and this will probably best be tackled by #1896, where @SJKA is currently trying to implement a solution for. So you might want to go for some other issue for a start :-) |
Hi @kaikreuzer thanks for the fast feeback ... I will checkout the currently open issues for smarthome. |
Since this is a very old issues and a lot of PRs have been merged since that I cannot tell which PR has fixed it but I just started ESH from my IDE, added a Hue bridge and a bulb and requested the state from an
led to:
after I restarted my ESH instance the same request led to:
So everything was persisted except for the state. Since the state cannot be guessed correctly it is safe to assume So I think this issue can be closed. @kaikreuzer @SJKA Can you please close it? |
On a retrospect, this likely got fixed by #3639 |
Not all information is surviving a server outage. As shown below, the state, label, and category information is not being restored. The Paper UI also showed only a dimmer and no on/off switch after the restart.
I would have expected all information to be restored.
Before the server went down the Rest call for items returned something similar to the following:
After the server came back up the Rest call returns:
The above was true for other items as well, and this has occurred multiple times.
The text was updated successfully, but these errors were encountered: