michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
411 stars 114 forks source link

Question: Remote API and Groups #286

Closed mphacker closed 1 year ago

mphacker commented 1 year ago

I am looking for a way to control a group of lights quickly using the Remote API. Currently I can go and set individual lights with no issues as long as I have a short pause between commands being sent to the remote API endpoint. I am not seeing a way to send a command to update a light group. For example, I have several hue lights in a single group and I need to turn them on/off or change the color/brightness. I would like to do it with a single command to update all the lights in the group instead of sending individual commands per light.

Thoughts?

mphacker commented 1 year ago

Wow... so I don't know how I missed the SendGroupCommandAsync method.