Fork me on GitHub

pimatic-hue by Christian Herrmann | github | npm

pimatic-hue

Plugin to control Philipps hue bulbs

Configuration

You need to create an user on your bridge to use this plugin. See the hue developer programm for details how to do this.

plugins section:

{
  "plugin": "hue",
  "username": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "host": "xxx.xxx.xxx.xxx"
}

devices section:

{
  "id": "hueBulb1",
  "class": "HueBulb",
  "name": "My first bulb",
  "hueId": 1
}

hueId is the ID of the bulb on the bridge. If you start pimatic with debug turned on the plugin will output all bulbs with their IDs.

Limitations

This plugin is beta and work in progress. At the moment you can only control the brightness and the on/off state of your bulbs. As I don't own any color bulbs yet I'm unable to test code for controlling the color.

Plugin Config Options

Hue plugin config options
OptionDescriptionDefault
username
string
Hue username
host
string
Address of Hue Bridge
polling
integer
Polling Intervall
10000

Device Config Options

pimatic-my-plugin device config schemas

HueBulb

HueBulb config options
OptionDescriptionDefault
hueId
number
The ID
pimatic-hue is written by Christian Herrmann