plugin: Philips HUE
author: Bas van Dijk
category: system
version: 0.0.1
website: http://domusto.com
description: Control Philips HUE devices
- Fetch light/group state on start
- Turn light/group on/off
- Set light/group brightness
- Set light/group color
- Philips HUE bridge
- Philips HUE devices
- not tested
Execute in the domusto-server folder:
$ ./domusto.js plugin add basvdijk/domusto-philips-hue
- Add the section below to your
config.ts
- Set the correct ip and username
- Restart DOMUSTO
{
id: 'PHILIPS-HUE',
enabled: true,
dummyData: false,
settings: {
ip: '192.168.178.51',
username: '08a902b95915cdd9b75547cb50892dc4'
}
},
// SWITCH FOR SINGLE LIGHT WITH ID 1
{
id: 'LIVING',
enabled: true,
role: 'output',
name: 'Living',
type: 'switch',
subType: 'on/off',
plugin: {
id: 'PHILIPS-HUE',
deviceId: 'L1'
}
},
// SWITCH FOR GROUP WITH ID 2
{
id: 'KITCHEN',
enabled: true,
role: 'output',
name: 'Kitchen',
type: 'switch',
subType: 'on/off',
plugin: {
id: 'PHILIPS-HUE',
deviceId: 'G2'
}
},