Skip to content

ERROR! UNKNOWN ERROR 400 | aurora.on = True #17

@4k1x

Description

@4k1x

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions