It would be great if there was a way to get the (full) light state of all lights (and groups) in one Hue API request, i.e. not having to request the state of each light or group individually or (expensively) request the entire configuration of the bridge. If there are many lights/groups, individually polling the state for all of them is unnecessary overhead. Also see markbergsma/pimatic-hue-zll#2
The lights() and groups() methods receive the state of all lights/groups, and not-ancient versions of the Hue API also include the state object in the response, but currently node-hue-api filters it out.
It would be great if there was a way to get the (full) light state of all lights (and groups) in one Hue API request, i.e. not having to request the state of each light or group individually or (expensively) request the entire configuration of the bridge. If there are many lights/groups, individually polling the state for all of them is unnecessary overhead. Also see markbergsma/pimatic-hue-zll#2
The
lights()
andgroups()
methods receive the state of all lights/groups, and not-ancient versions of the Hue API also include the state object in the response, but currently node-hue-api filters it out.