There are zigbees in my head.
This tool was only planned as a personal tool for myself, consequently the codebase is pretty messy.
With that being said, it should work fairly well to provide a command line interface for Phillips Hue brudges.
- interactive readline shell
- run
go run ./ shell
||ziggs shell
- run
- manage multiple hue bridges at the same time
- e.g target specific bridge:
use ECC0FAFFFED55555
- e.g target specific bridge:
- control color/saturation/hue/brightness/power per light or per group
- e.g. group:
set group kayos brightness 55
- e.g. light:
set light kayos_lamp off
- e.g. group:
- list, delete, and rename for the following targets
- lights, groups, scenes, rules, schedules
- create groups
- e.g:
create group bedroom 5 3 2 10
- e.g:
- specify color by HTML hex colors
- e.g:
set group kayos color #2eebd3
- e.g:
- set light/group colors dynamically based on CPU load (run second time to turn off)
- mode 1 - average across all cores:
set group kayos cpu
- mode 2 (group only) cycle through individual lights in group and set based on per-core usage:
set group kayos cpu2
- mode 1 - average across all cores:
- access firewalled bridge via SOCKS proxy
- to use this, change the config manually (~/.config/ziggs/config.toml)
- port scan to find offline (no call home) bridges on LAN
- see gif above for demonstration
- config will automatically save when a bridge connection is established
- trigger firmware updates for bridge and lights manually
- e.g:
upgrade
- e.g: