Closed Nibbler999 closed 9 years ago
There is a function getLightStatus
or lightStatus
that currently returns the full state of the light. It was by intent that this function lights
only returned a summary of information on the lights.
I think it is valuable to add in some more details like model and software version into the response, but not to return the complete details (which include the pointsymbol (which is currently irrelevant) and the state, which we have other functions for.
Comments?
It's faster and easier to get the full light state in a single request than it is to iterate through all the bulbs requesting state individually.
Ok, so how about a function for getting all light states then?
I could create getAllLightStates()
which will return the states of the lights by id (but will not include name and model details).
There's more information there in recent firmware.