in the groups, i have integer as IDs in the lights section. Problem is, i use the uniqueids for the lights and dont store the normal id. Is it possible to implement this? Also when calling the group, it would be awesome, if i would get the current state of the lights (bri, sat,…) otherwise i have to query a light manually
I checked out the websockets and its pretty cool… however, it only gives me changes. I need an initial state of all devices (on page load) and could afterwards work with the websockets.
Just to give some more information: i am building an interface to control all lights, see all sensors and so on and there are multiple pages. When i change the page, it needs to load the devices on that page. What i do is i get all devices with the API and then i use pooling to get all device states
Is it somehow possible to also get the type of device in that response? For example in this case its a door sensor and i think it would be ZHAOpenClose