Hue driver

Philips hue lights

Lamp type

Arguments

id
Byte (8-bits).

Properties

state
Boolean (true or false).
brightness
Byte (8-bits).
availability
Possible values: offline, online.

Events

state
Fires whenever the value of the state property changes.
brightness
Fires whenever the value of the brightness property changes.
availability
Fires whenever the value of the availability property changes.

Commands

on
off
toggle
level val
ramprate seconds
delete confirm

Color type

Arguments

id
Byte (8-bits).

Properties

state
Boolean (true or false).
brightness
Byte (8-bits).
availability
Possible values: offline, online.
hue
Unsigned short (16-bits).
saturation
Saturation.
Default: 127.

Events

state
Fires whenever the value of the state property changes.
brightness
Fires whenever the value of the brightness property changes.
availability
Fires whenever the value of the availability property changes.
hue
Fires whenever the value of the hue property changes.
saturation
Fires whenever the value of the saturation property changes.

Commands

on
off
toggle
level val
ramprate seconds
delete confirm
color hue saturation
colorxy xrange yrange
colorloop

Group type

Arguments

id
Group zero is all lights.

Properties

state
Boolean (true or false).
brightness
Byte (8-bits).
availability
Possible values: offline, online.
hue
Unsigned short (16-bits).
saturation
Saturation.
Default: 127.
grouplights

Events

state
Fires whenever the value of the state property changes.
brightness
Fires whenever the value of the brightness property changes.
availability
Fires whenever the value of the availability property changes.
hue
Fires whenever the value of the hue property changes.
saturation
Fires whenever the value of the saturation property changes.
grouplights
Fires whenever the value of the grouplights property changes.

Commands

on
off
toggle
level val
ramprate seconds
delete confirm
color hue saturation
colorxy xrange yrange
colorloop
scene scene
groupinfo
updatelights llights

Commands

search
getinfo item
creategroup groupname llights