Hello, after installing the application and when turning on the lamp through the function aurora.on = True I get the following error:
ERROR! UNKNOWN ERROR 400. Please post an issue on the GitHub page: https://github.com/software-2/nanoleaf/issues
I have checked the Nanoleaf code APi and have seen that the following Json is sent to turn it on {"on": value}, and in the Nanoleaf API they indicate that the following Json must be sent to turn on: {"on" : {"value": true}} and to turn off {"on": {"value": false}}.
I have made the change in the file and tested the change and it works correctly.
Hello, after installing the application and when turning on the lamp through the function
aurora.on = TrueI get the following error:ERROR! UNKNOWN ERROR 400. Please post an issue on the GitHub page: https://github.com/software-2/nanoleaf/issues
I have checked the Nanoleaf code APi and have seen that the following Json is sent to turn it on
{"on": value}, and in the Nanoleaf API they indicate that the following Json must be sent to turn on:{"on" : {"value": true}}and to turn off{"on": {"value": false}}.I have made the change in the file and tested the change and it works correctly.