Nanoleaf

Number of APIs: 32

From Section 7 of the Nanoleaf Open API Reference. Requires setting up a developer account and signing in to their developer portal.

[nanoleaf logo](https://s3.amazonaws.com/Qodex-static-getQodex-com/Qodex-docs/nanoleaf-logo.png)

Click the orange Run in Qodex button to import this Qodex collection and cnvironment into your local instance of the Qodex app.

Quickstart

  1. Update the Qodex environment with your IP and port.

  2. If you already have an authorization token, update the Qodex environment with your token. Otherwise, you will need to use the Add a user POST request to generate an authorization token.

  1. Rhythm - Hardware version GET http://{{ipAddress}}/api/v1/:auth_token/rhythm/hardwareVersion

  2. Authorization - Add a user POST http://{{ipAddress}}/api/v1/new

  3. State - On/Off GET http://{{ipAddress}}/api/v1/:auth_token/state/on

  4. State - Color Mode GET http://{{ipAddress}}/api/v1/:auth_token/state/colorMode

  5. Rhythm - Rhythm mode - update PUT http://{{ipAddress}}/api/v1/:auth_token/rhythm/rhythmMode

  6. Rhythm - Rhythm mode GET http://{{ipAddress}}/api/v1/:auth_token/rhythm/rhythmMode

  7. Rhythm - Rhythm positions GET http://{{ipAddress}}/api/v1/:auth_token/rhythm/rhythmPos

  8. Quickstart: lighting up the Nanoleaf - Quickstart: Add a user POST http://{{ipAddress}}/api/v1/new

  9. Quickstart: lighting up the Nanoleaf - Quickstart: Get all light controller info GET http://{{ipAddress}}/api/v1/:auth_token/

  10. Quickstart: lighting up the Nanoleaf - Quickstart: update on/off PUT http://{{ipAddress}}/api/v1/:auth_token/state