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

How turn multiple lights on/of simultaneously? #210

Open
RPiMS opened this issue Jan 17, 2022 · 2 comments
Open

How turn multiple lights on/of simultaneously? #210

RPiMS opened this issue Jan 17, 2022 · 2 comments

Comments

@RPiMS
Copy link

RPiMS commented Jan 17, 2022

Hi!

I am trying to turn on/of multiple lights simultaneously, but they only turn on/off one after one.

Is that a result of the preconfigured rate limits (maxConcurrent 1, wait 60 for lights)? If so, why don't you limit the rates per light (device)? or is there an other way to solve this?

Ty

@peter-murray
Copy link
Owner

It is primarily a limitation of the hub, as it will transform that type of request from REST into Zigbee messages to each light, resulting in this behaviour. The concurrency controls are there to be compliant with the bridge limits.

If you want to do this with a number of lights, use a group or zone these are properly sent to all the target lights simultaneously.

@peter-murray
Copy link
Owner

There was an issue with the rate limits being swapped between groups and lights, which I have just resolved meaning the limit is now correctly set to once per 60ms instead of the group limits of once per second. This has been released in 5.0.0-beta.11.

That said still the above usage of groups/zones is the recommended way to target more than one light changing state simultaneously.

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