Open btuysser opened 5 years ago
I'm also wondering :)
According to the dev forums at nanoleaf this is a bug and fixed in the next canvas release. Unfortunately this wrapper also uses a no-longer documented on/off payload which will not be fixed in a firmware release ( see https://forum.nanoleaf.me/forum/aurora-open-api/difference-between-canvas-and-aurora-api , needs a nanoleaf dev login )
Hi, I'm looking at http://forum.nanoleaf.me/docs/openapi and according to 5.3.2 Brightness
Endpoint | /api/v1//state/brightness
Request | GET
Request Body | none
Response | 200 OK
Response Body | {"value" : 100, "max" : 100, "min" : 0}
However the code assumes that the endpoint is /api/v1//state/brightness/value and returns the actual value instead of the json response body.
Do you have any plans to update nanoleaf to conform with the openapi?