morzzz007 / node-tradfri

Node API to control IKEA Tradfri Lights
MIT License
49 stars 17 forks source link

Set state on group #3

Closed nidayand closed 7 years ago

nidayand commented 7 years ago

Ok, not really an issue but an enhancement request. It would be great if another method is added to set state (and possibly brightness) on groups as well. As it was missing I assumed that the same setDevice statement can be used for group ids but it doesn't work.

Love the pkg though!

morzzz007 commented 7 years ago

Thank you! I wrote this package with group support in mind, I just couldn't find the time to finish it. Actually it was pretty easy to implement, check out the updated docs in version 0.1.2, hope it works!

nidayand commented 7 years ago

Fantastic - I'll give it a test tonight to confirm the update. Many thanks!

nidayand commented 7 years ago

Works like a charm. Thanks for the great work!