-
-
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
[hue] OH2.5.11 & OH3.0.0RC2-1 with deconz 2.7.0 bridge goes offline after a few hundred ms #9175
Comments
I would suggest to move to the deconz binding if you want to use deconz. This is the preferred method since the deconz binding supports lights and groups. |
That is what I have done, but I cannot find any groups. |
I am sure, since I implemented it. At least 3.0.0-M4 supports it. I‘m not 100% sure about 2.5.x |
Re-opened since the [deconz] binding has issues on 2.5.x, and it is always nice to have several options. |
Realized I had not provided a TRACE log. Sorry. Here it is:
|
Same problem on 3.0.0RC1 |
After adding a stack-trace to the debug log in this line: Line 143 in 02b356a
we figured that AllGroup with id "0" might not available on deCONZ (see dresden-elektronik/deconz-rest-plugin#3744):
The APIs will return a different HTTP status code if requesting a non existing group (Hue: 200, deCONZ: 404). Thus we might need a special exception handling for this case. |
I have tested a hot .jar from @cweitkamp on 3.0.0RC2-1 and can confirm that the binding connection status is now a stable Online and properly handling a missing groups/0 situation:
Deconz groups/0 discussed here: dresden-elektronik/deconz-rest-plugin#3744 Thanks for fixing this! |
Expected Behavior
The bridge to stay Online
Current Behavior
/var/log/openhab2/openhab.log
/var/log/openhab2/events.log
hue.things:
Bridge hue:bridge:2 [ ipAddress="192.168.1.7", port=80, pollingInterval="1" ]
(deconz running on localhost=127.0.0.1=192.168.1.7)
Also tried a longer polling interval. Same result.
Deconz PWA works OK.
Possible Solution
Use deconz items instead, but then groups are lost
Steps to Reproduce (for Bugs)
Installed deconz 2.6.0 on OH2.5.8 - all OK Was running for a week or so
Installed OH2.5.10, deconz hue bridge goes Offline some hundred milliseconds after coming Online. Repeats every polling interval.
Tried downgrading to OH2.5.9 and 2.5.8, but problem persisted
Tried downgrading deconz to 2.5.82 as well, but problem persisted.
Also tried OH3.0.0M4 with deconz 2.6.0 with same result.
Edit: also tried OH2.5.10 & OH3.0.0M4 on deconz 2.7.0 with same result.
Will try OH2 downgrade again this upcoming weekend if no fix by then.
Context
Just wanted to upgrade to OH2.5.10 in preparation for trying out OH3
Your Environment
The text was updated successfully, but these errors were encountered: