tobof / openhab-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 2.0
39 stars 30 forks source link

After discovery things don't change its online status to "ONLINE" #38

Closed tobof closed 7 years ago

tobof commented 7 years ago

https://forum.mysensors.org/topic/5296/offline-status-on-sensor-and-nan-values/2

Reboot solves the problem. Not dependent on the OH2 version.

andreacioni commented 7 years ago

Hi Tim! I think I've introduced this bug in the last refactoring. Please note that only here the binding update the state of a thing. So only when bridge go offline/online the status changes. Probably the solution is to initialize the thing with the status of the bridge on creation. What do you think?

tobof commented 7 years ago

Solved!