Page 1 of 1
Device setting to group
Posted: Wednesday 18 December 2024 22:35
by vespino
I have a group of lights that I use to turn them on/off with one timer. In this group each device of type dimmer has the level setting. When I set the level of an individual device to something else than what is set in the group (using the slider on the dashboard), the next time the group is turned on, the level within the group is used again. Is there a way of syncing the level set for each individual device with that in the group?
- IMG_2038.jpeg (80.76 KiB) Viewed 111 times
- IMG_2039.jpeg (74.5 KiB) Viewed 111 times
Re: Device setting to group
Posted: Wednesday 18 December 2024 23:41
by waltervl
You probably can do something with an API call in a dzvents script to change the device settings in a group but it won't be easy. Go to the wiki and research the group APIs
Re: Device setting to group
Posted: Thursday 19 December 2024 18:38
by vespino
Using PHP this would be “een koud kunstje” for me, but since the API doesn’t allow for adding/removing devices to groups based on their idx but only by index or editing devices already in a group for that matter, I have no idea where to begin. This also seems a redundant process that has to be executed with every change of level.