Utility for controling Hue smart lams. It is using phue library
hue connect 192.168.x.x
Credentials will be stored in ~/.python_hue file
Turn lamp on and off
hue on
hue off
You can pass id of your lamp. By default id is 1.
hue -i 2 on
hue -i 2 off
Set brightness to maximum
hue br 100
Set brightness 10%
hue br 10
Set color with hue and saturation parameters:
hue hue 3000
hue saturation 100
Set color with xy parameters
hue xy 0.1 0.2
Set color with hsv parameters
hue hsv 3000 100
Run scene by name
hue scene <scene_name>
Blink with lamp one time
hue alert single
Blinkin with lamp for 5 seconds
hue alert start
sleep 5
hue alert stop
Built in smooth color changing
hue effect start
sleep 5
hue effect stop
- Addressing lamp by name
- Custom scripts support for contolling lamps