-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[velux] Bridge status shows offline when communication fails #13406
Conversation
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
...nding.velux/src/main/java/org/openhab/binding/velux/internal/handler/VeluxBridgeHandler.java
Outdated
Show resolved
Hide resolved
Your approach is relatively unusual. |
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
…nhab-addons into 13383-velux-offline
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
I agree with you that it is rather unusual (I did not write this part of the code). However you may have missed the peculiarity that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you
…#13406) * [velux] dynamically update bridge on-/off- line state Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
…#13406) * [velux] dynamically update bridge on-/off- line state Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
…#13406) * [velux] dynamically update bridge on-/off- line state Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
…#13406) * [velux] dynamically update bridge on-/off- line state Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
…#13406) * [velux] dynamically update bridge on-/off- line state Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
…#13406) * [velux] dynamically update bridge on-/off- line state Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
…#13406) * [velux] dynamically update bridge on-/off- line state Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Resolves #13383
Background
As reported in issue #13383 the bridge thing does not indicate offline status when when the communication fails.
Solution
In this PR the bridge thing status will change to offline when the communication fails, and return to online when it is restored.
Signed-off-by: Andrew Fiddian-Green software@whitebear.ch