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
Homeassistant.components.light.hue Unable to reach bridge (flapping) #13949
Comments
I think this is the same issue as #13685 |
It's not the same issue, but it might be related to the same underlying problem. |
since i updated to 067.1
lights show fine though and are switchable. When they're not shown as unavailable while in fact they are (App, api, etc) |
This happens if the Hue bridge is not able to respond to our query within the set time. Which is very rare. Is your Home Assistant instance with bad wifi connection and thus cannot always reach the hub ? |
No, everything is wired. Even have the hue Hub and Pi on their own direct cable to the Asus router. |
I don't see the ERRORS anymore in 0.70 \o/ |
well, i only wish it were true.
|
Your stack trace is unrelated to Hue. It has to do with a delay in a script/automation. |
Could this be related to #13389? |
ok thanks, i will try to weed the scripts. Is it regular (yaml) or python scripts Im looking for, or cant you say based on this trace. Still, please do follow up on the flapping of the OP here, it's really there |
Have the same error here, my hue system doesn't respons as fast as it did a few versions before (i think before the multiple bridges).
|
This started happening for me as well today. All wired connections. I have sub 20 devices so its not a whole lot. |
We give the bridge 4 seconds to reply before marking it as unreachable. I wouldn't be surprised if there is another integration that is doing I/O inside the event loop which is slowing down the Hue. People that are having this issue:
|
Try it coming week only with hue hub list of platforms
|
I reverted back to 0.70.0 and i still see this problem which is really strange since i did not get this error before. Whats interesting tho is that the error occurs EXACTLY 7 minutes apart for me. If i post to /api//config and check the last_used timestamp its only Home Assistant who is calling the API so that rules out any other apps that might cause this I can test disabling other components during the weekend hopefully, for now heres my platforms:
I probably missed a few. Is there a good way to extract all of them? |
I turned off all other components and i still received the error. I have a few osram lights that are constantly marked as Unreachable in the Hue app, could it be this that is screwing with the integration? |
@sj3fk3 @hvbhome @balloob @ViperRNMC Did you guys find a solution? This practically makes Home Assistant unusable for me. |
No solution here, also try with only hue without succes. But i also have trouble again with history graphs. |
No, unfortunately this keeps bugging the great support and integration for Hue we had before the change to Asyncio. As a matter of fact I've just had to change some automations to forgo on the state change of hue lights and reachability, since it keeps 'flapping', to stay on topic... @balloob suggested before in this thread my issues had nothing to do with Hue. Unfortunately I have been able to establish it in fact has. Im surprised no more action is taken to resolve the issue, many people are reporting on in a variety of details and issues, and asking for a solution. Would be glad to be of assistance in tracking this down , since, as you say, this is a major letdown for such an industry leading tool as Hue is. Made a few rest sensor showing reachability, and this directly show the 'flapping' in the frontend... |
I ask for help in reporting the platforms people use so we can find a common platform. I don't see your platforms? Just a complaint. I can't reproduce it. I also have limited time and can't just be chasing random reports. Feel free to spend your time on it instead of expecting other people to do so. |
The flapping as I reported (and I reported this bug) has been fixed a while ago. I think the problem with this bug report is, that it's fragmented. Maybe it's a good idea to report a new bug with specifics to reproduce. Because the bug I initially reported has been fixed for me. |
this is a bit unfair, to be honest, as you can see in this thread alone, spending time trying to find the solution to the breaking change of Hue integration is exactly what we've been doing... great to see some functionality get back on track, hue.hue_activate_scene. Which is much appreciated! tried to compile several issues for my own and others reference https://community.home-assistant.io/t/any-hope-to-get-hue-hue-activate-scene-back/52741/9?u=mariusthvdb nevertheless i forgot to mention the platforms you asked for, sorry for that. This should be getting close: api_streams hope this helps, glad to assist in any other way i could |
Actually (and i am a bit embarrassed about hits) a reboot somehow fixed this for me!(?) I do not really understand how, I am running Home Assistant in Docker on an Intel NUC Ubuntu 18.04. Hope this helps someone |
@hvbhome sorry if I came off a bit strong. So the reason I want the platforms, is that it could be that one of them, although it seems like it works well, is stalling our event loop and then impacting Hue. I am going to close this issue as the original poster had the issue resolved and also rebooting seems to help (which might hint at a misbehaving platform actually). 0.72 will fix the flapping sooner, as it was accidentally scanning every 30 seconds instead of the intended 5. |
Home Assistant release with the issue:
0.67.0
but also reports from version 0.66
Last working Home Assistant release (if known):
0.65.6
Operating environment (Hass.io/Docker/Windows/etc.):
Linux virtualenv
Component/platform:
hue
Description of problem:
Flapping connection.. (disconnect and reconnect)
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: