Skip to content
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

Handle stubborn lights #163

Open
R5fan opened this issue Dec 25, 2024 · 2 comments
Open

Handle stubborn lights #163

R5fan opened this issue Dec 25, 2024 · 2 comments

Comments

@R5fan
Copy link

R5fan commented Dec 25, 2024

first off, I absolutely LOVE this integration, its how I always imagined HA scenes should work. Thank you!

However, I do run in to some issues in my living room, where I have >10 lights in a scene and it happens one of them doesnt switch on or off (without ever being detected as unavailable). When turning on a scene, I can usually work around it, as I can detect the stateful scene not being on when I wanted it to be on, so I can simply apply the scene a second time (although this creates problems if the scene is turned off elsewhere, and I have no simple way to check that); but when turning off a scene (and all lights), and a light "hangs" its a lot harder, because the stateful scene switch is already off.

I see two possible solutions; either the user would need to have some way to know what the last intended scene state is (on or off), and then we could automate some checks and reapply if needed.

Alternatively, stateful scenes could do this for us; if you turn on (or off if configured to turn off lights) a scene and after some configurable time (say 5s), not all entities have reached their desired state, simply try again, maybe even a few times if needed for unstable networks?

@cayossarian
Copy link
Contributor

Hi, Try to set the rounding higher perhaps and also debounce as some lights may need to settle. Also, Suggest you use 1.61+ for proper debounce handling, evaluation periods which follows transition delays. My testing seems to work but a debounce sometimes needs to be applied.. If you can't get it work share your specific configuration as to debounce, rounding, etc at the device level and any logs that may help with debug logging turned on.

@R5fan
Copy link
Author

R5fan commented Dec 31, 2024

I dont think this has anything to do with debounce or rounding. Its the lights that occassionally just dont react to an on or off command, regardless if its sent "manually" or through stateful scenes. The real problem lies with the light or zigbee mesh, but stateful scenes could be very helpful by detecting and correcting the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants