a c program to control your hue lights
- put the ip of your hue bridge in
config.h
- run
make first
- press the link button on the hue bridge
- run
./hue -r
- run
make hue
registration works best, if the delay between step 3 and 4 is small.
after that, you can just run make hue
if you want to recompile the program.
note: if you changed something in the config, you need to recompile for the changes to take effect.
cli options:
-l light, if not provided uses default
-p 1 (on) or 0 (off)
-b brightness (0-254)
-c hue (0-65535)
-s saturation (0-254)
-f profile (from config.h)
-r register with bridge
-g get some info about a light
-h show this help
profiles can be set in profiles.h
using a 2d array
license: GPLv3