Hello,
Currently there are two methods in the live api related to the device groups: add and remove.
It would be nice to have also update method, which updates the list of devices (removes/adds devices) of the existing group.
At the moment group remove and group add methods must be used. Problem with this approach is that the group's id changes between remove and add calls. This makes it impossible to other applications to use the same predefined group id to control the group's devices.
My scenario:
My computer updates the list of devices belonging to the group (lights) based on time of the day. During daytime group consists only one light and If it is dark then group contains more lights. Then I have a separate controller (mobile phone and RemoteStick) which turns on the group (using the id) when I arrive at home. But with current live api this scenario cannot be implemented because I can't change the list of devices of the group and at the same time preserve the group's id.
What you think about this idea?
new method to live api (group/update)
Moderator: Telldus
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: new method to live api (group/update)
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies