BjoernLange / openhab-miele-cloud-binding-beta

Documentation and issue tracker for the public beta of the Miele Cloud Binding for openHAB
Eclipse Public License 2.0
9 stars 0 forks source link

Bug report: Things sometimes change to OFFLINE although bridge is ONLINE #13

Closed BjoernLange closed 4 years ago

BjoernLange commented 4 years ago

Expected Behavior

All things with a bridge in ONLINE status should be ONLINE and operational.

Actual Behavior

Sometimes things change their status to OFFLINE with detail message The Miele webservice cannot be accessed over the bridge. Check the bridge configuration.

Environment

Steps to Reproduce

It is yet unclear of how to deterministically reproduce the behavior. It sometimes happens after openHAB was running for some time.

Possible Solution

Seems like a concurrency problem with thing/bridge initialization clashing or things not being properly re-initialized when the bridge re-initializes. Re-structuring the initialization process and pushing device updates from the bridge to the things should resolve this (thus things are no longer directly dependent on the webservice).

A workaround seems to be removing and adding the affected thing again.

Additional information

BjoernLange commented 4 years ago

Rolled out with Beta Version 2. I will close this for now and re-open if the problem occurs again.