Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

pimatic-nanoleaf

0.0.4 • Public • Published

pimatic-nanoleaf

Simple Nanoleaf plugin for Pimatic using nanoleaf-aurora-client

Status of implementation

This version supports the following

  • Turn on and off aurora light

Plugin Configuration

Plugin section:

    {
      "plugin": "nanoleaf",
      "active": true
    },

Device section:

    {
      "IP": "<IP>",
      "Token": "uZ4UKQ05jkFCn6jllYjOo8srMUGuIXgB",
      "id": "Nanoleaf",
      "name": "Nanoleaf",
      "class": "LightAurora",
      "Interval": 3000
    }

How to get a API Token

  1. Press the Power Key on your Hub for 5-7 sec. until the yellow light is blinking.
  2. Do a post request to the following URL (using Postman or something similar): http://IP:16021/api/beta/new
  3. You should find the Token in the body section.

To do

  • Add a dimmer
  • Add a colorpicker
  • Add a effectpicker

Fixed

Version 0.0.4

- package.json
- Increased timeout for status poll to 5 sec

Version 0.0.3

- package.json
- Missing device-config.json
- Better naming for device (Device musst be recreated)

Keywords

none

install

npm i pimatic-nanoleaf

Downloadsweekly downloads

22

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability