michielpost / Q42.HueApi

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

Creating an entertainment Zone from Q42 #258

Closed Christanoid closed 2 years ago

Christanoid commented 2 years ago

Hi,

I am working on a multi room effect / animation lighting application that has it's own knowledge of rooms and positions. Considering that I need to be able to on the fly create and delete Entertainment zones on my Hue bridge as needed in my current situation.

I cannot find any way in the library to create or remove entertainment zones. Is there any way to do this form Q42 or do I have to implement my own HTTP communication with the Hue bridge to do this sort of management.

Thanks for the help, Chris

Christanoid commented 2 years ago

Nevermind this.

In case anyone else has this problem in the Future:

I was searching for something along the lines of "CreateEntertainmentZone". The real function you have to use is: "client.LocalHueClient.CreateGroupAsync"

michielpost commented 2 years ago

Also check out https://github.com/michielpost/HueLightDJ for an example with multiple bridges, multiple zones animation system.