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?
Device setting to group
Moderators: leecollings, remb0
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Device setting to group
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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Device setting to group
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.
Who is online
Users browsing this forum: No registered users and 0 guests