Nanoleaf

App · 19 actions

Read and control Nanoleaf lights on the same network as your Lodol Local installation.

Actions

ActionWhat it does
Get brightnessGet brightness.
Get color modeGet color mode.
Get color temperatureGet color temperature.
Get current Nanoleaf effectGet current Nanoleaf effect.
Get hueGet hue.
Get Nanoleaf device detailsGet Nanoleaf device details.
Get Nanoleaf effectsGet Nanoleaf effects.
Get Nanoleaf layout orientationGet Nanoleaf layout orientation.
Get Nanoleaf light stateGet Nanoleaf light state.
Get Nanoleaf panel layoutGet Nanoleaf panel layout.
Get powerGet power.
Get saturationGet saturation.
Identify Nanoleaf deviceIdentify Nanoleaf device.
List Nanoleaf effectsList Nanoleaf effects.
Select Nanoleaf effectSelect Nanoleaf effect.
Set Nanoleaf brightnessSet Nanoleaf brightness.
Set Nanoleaf colorSet Nanoleaf color.
Set Nanoleaf color temperatureSet Nanoleaf color temperature.
Set Nanoleaf powerSet Nanoleaf power.

Get brightness

Get brightness.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "value": 1
  }
}

Get color mode

Get color mode.

Inputs

None.

Outputs

datatext
The response from Nanoleaf.
Example output
{
  "data": "example"
}

Get color temperature

Get color temperature.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "value": 1
  }
}

Get current Nanoleaf effect

Get current Nanoleaf effect.

Inputs

None.

Outputs

datatext
The response from Nanoleaf.
Example output
{
  "data": "example"
}

Get hue

Get hue.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "value": 1
  }
}

Get Nanoleaf device details

Get Nanoleaf device details.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "effects": {
      "effectsList": [
        "example"
      ],
      "select": "example"
    },
    "firmwareVersion": "example",
    "manufacturer": "example",
    "model": "example",
    "name": "example",
    "panelLayout": {},
    "serialNo": "example",
    "state": {
      "brightness": {
        "value": 1
      },
      "colorMode": "example",
      "ct": {
        "value": 1
      },
      "hue": {
        "value": 1
      },
      "on": {
        "value": true
      },
      "sat": {
        "value": 1
      }
    }
  }
}

Get Nanoleaf effects

Get Nanoleaf effects.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "effectsList": [
      "example"
    ],
    "select": "example"
  }
}

Get Nanoleaf layout orientation

Get Nanoleaf layout orientation.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "max": 1,
    "min": 1,
    "value": 1
  }
}

Get Nanoleaf light state

Get Nanoleaf light state.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "brightness": {
      "value": 1
    },
    "colorMode": "example",
    "ct": {
      "value": 1
    },
    "hue": {
      "value": 1
    },
    "on": {
      "value": true
    },
    "sat": {
      "value": 1
    }
  }
}

Get Nanoleaf panel layout

Get Nanoleaf panel layout.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "numPanels": 1,
    "positionData": [
      {
        "o": 1,
        "panelId": 1,
        "shapeType": 1,
        "x": 1,
        "y": 1
      }
    ],
    "sideLength": 1
  }
}

Get power

Get power.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "value": true
  }
}

Get saturation

Get saturation.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {
    "value": 1
  }
}

Identify Nanoleaf device

Identify Nanoleaf device.

Inputs

None.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {}
}

List Nanoleaf effects

List Nanoleaf effects.

Inputs

None.

Outputs

datalist
The response from Nanoleaf.
Example output
{
  "data": [
    "example"
  ]
}

Select Nanoleaf effect

Select Nanoleaf effect.

Inputs

EffecteffecttextRequired
Effect from the device’s presets.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {}
}

Set Nanoleaf brightness

Set Nanoleaf brightness.

Inputs

BrightnessbrightnessnumberRequired
Brightness as a percentage.From 0 to 100.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {}
}

Set Nanoleaf color

Set Nanoleaf color.

Inputs

HuehuenumberRequired
Color hue in degrees.From 0 to 360.
SaturationsaturationnumberRequired
Color saturation as a percentage.From 0 to 100.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {}
}

Set Nanoleaf color temperature

Set Nanoleaf color temperature.

Inputs

KelvinkelvinnumberRequired
White light color temperature in kelvin.From 1200 to 6500.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {}
}

Set Nanoleaf power

Set Nanoleaf power.

Inputs

Onontrue/falseRequired
Turn the lights on or off.

Outputs

dataobject
The response from Nanoleaf.
Example output
{
  "data": {}
}

On this page