Nanoleaf Aurora Light Panel


Configuration Sample

The nanoleaf_aurora platform allows you to control Nanoleaf Aurora Light Panels from Home Assistant.

The preferred way to set up this platform is by enabling the discovery component. Make sure to press and hold the ON button for 5 seconds (the LED will start flashing) on your Nanoleaf Aurora Panel while Home Assistant is starting.

To configure the Aurora lights manually, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
light:
  - platform: nanoleaf_aurora
    host: 192.168.1.10
    token: xxxxxxxxxxxxxxxxxxxxx

Configuration Variables

host

(string)(Required)IP address or host-name of the device, e.g., 192.168.1.10.

token

(string)(Required)The auth token that you get via POST to /api/v1/new

name

(string)(Optional)Name of the component, make this unique if you have multiple Light Panels

Default value: Aurora

Getting The Auth Token

  1. Make sure that your Nanoleaf Aurora Panel is fully patched (as of the time of writing the latest version was 2.2.0)
  2. Hold down the ON button on the Panel for 5 seconds; the LED will start flashing
  3. Issue a POST request to the API endpoint, e.g., via $ curl -i -X POST http://192.168.1.155:16021/api/v1/new
  4. The output should include the auth token like {“auth_token”:”xxxxxxxxxxxxxxxxxxxxx”}, copy the resulting token into your configuration

If you get a 403 Forbidden message, you probably did not press the ON button long enough. The time-frame to get a valid token is only 30 seconds, so you have to be quick to issue the curl request.