-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Bug/Feature Request: Lights do not react to Scene changes fast enough. #118
Comments
Hi, you're right. There are multiple issues at once.
All in all, I'll have to revisit and maybe rewrite caching of set values and take a look on possibilities to load light attributes faster after scene activation. Sadly I keep pushing this bug/feature more and more to the future, as requests for another features are coming. But thank you for your interest, this raised the importance of this issue. |
Just a quick-hotfix do you think it would be possible to add something like "cache: false" flag for cards, so that you do not actually cache anything and all values would come straight from the zigbee network instantly when the zigbee network get's updates? As far as i'm aware, there are no caching mechanism in slider-button-card (https://github.com/mattieha/slider-button-card/) and with my small testing, it does work almost instantly on updates to zigbee network. This would make it so that bypassing cache is an actual action by the user and not something you would encourage, but which would make the cards more responsive, while in the mean time you think of a way to rewrite any parts of the code. |
And just to give more input since I've tried to understand everything since everything is so new:
In HA you have two ways to activate light changes across multiple lights, you can create HA -groups or ZHA -groups. With HA -groups, HA actually sends an update for each light separately, which is why if you modify a HA-light group, you might see lights activated in different times. But if you create a ZHA -group, what HA actually does, is only sends one single update to the Zigbee network, and all lights should react to this instantly. As i wasn't sure where the problem was, i tried both ways, update multiple entities or update a single zigbee group, both resulted in the same unresponsiveness in the frontend. Just thinking aloud, since i'm not sure where the actual problem is with updating light entities. 🤔 |
@forgenator ... Firstly I created normal groups inside HA. But today I switched to ZHA-Groups and the response-Time is awesome nearly real-time. Only the Animation is for my favour to slow. I will create for this an additional Issue. Anybody how is not using ZHA-Groups you should migrate its really mindblowing. Before that I had some sync issues with the color I set and the light are updated. But now all these issues are gone.... |
I have also encountered this, and unfortunately the "lag" in the UI update makes this hard to use for my partner. It is not intuitive, and often feels like the lights are not working appropriately. If you watch the device in HA on the device tab, they do react instantly. So the information is present. |
I'm currently switching everything from hue to HA and I have to admit this bug has a very bad wife acceptance factor... 😄 |
Will be in the next Release |
Hi, I've just installed Home Assistant, and have moved from Philips Hue to HA completely. Using this hue-light cards was a god send so that we can easily build a dashboard that mimics the functionality of Hue -app, while enjoying everything else.
The sad problem i've noticed, is that the cards are somewhat slow to update, or do not update at all.
This makes the whole experience rather difficult, because the cards do not reflect the actual state of the lights. You have a "Coming soon feature" in your readme.md: "faster reactions between multiple cards (instant change of value on other cards)". So i was wondering, what is the status, or is this an issue you are aware? 🤔
And just to inform, if i add something else, like "Custom: Slider Card" the reaction is instant on all light entities. So i'm certain it is just this addon that has some issue with receiving information/updating information from the Zigbee network. The problem of course, stems that i like the UI and Scene usage of this addon.
Information:
Versions:
Core 2023.11.2
Frontend 20231030.2
The text was updated successfully, but these errors were encountered: