Control Philips Hue lights from your terminal
brew install aayush9029/tap/huectlOr tap first:
brew tap aayush9029/tap
brew install huectlhuectl # interactive dashboard
huectl auth
huectl status
huectl on
huectl on 2 -b 180
huectl off all
huectl toggle "lamp 1"
huectl color desk # keyboard color picker
huectl color desk sunset
huectl color all blue --no-onhuectl auth stores the Hue Bridge app key locally in ~/.config/huectl/config.json.
Colors can be hex (ff8800 or quoted "#ff8800"), basic names like blue,
palette names like sunset, soft-white, spring, or ocean, or
rgb:r,g,b / hsv:h,s,v.
Run huectl for the interactive dashboard. Press c to pick a color for all
color-capable lights.
MIT