huectl
huectl
is a commandline utility to control hue lights through a local hue bridge using its api.
Getting started:
Once huectl is installed with:
> go install go.charczuk.com/projects/huectl
You will want to authenticate with your bridge. Follow the prompts, but basically you will need to press the button on your bridge to allow a new username to be created.
> huectl auth
This will write a configuration file to ${HOME}/.config/huectl/config.json
You can then start using huectl
normally:
> huectl list-groups