Interactive CLI for Philips Hue bridges, command line control for smart lighting and other hue compatible zigbee devices.
Go to file
kayos@tcp.direct d60c95b2c6
Fix: temperature parameter error output
2022-12-13 14:57:32 -08:00
internal Fix: temperature parameter error output 2022-12-13 14:57:32 -08:00
vendor Fix vendoring, adjust CLI help 2022-12-04 13:45:12 -08:00
.gitignore Update .gitignore, make dumps add extension 2022-12-04 13:51:47 -08:00
README.md Fix typo, begin event feedback, add version stuff 2022-11-29 22:40:41 -08:00
go.mod Fix typo, begin event feedback, add version stuff 2022-11-29 22:40:41 -08:00
go.sum Fix typo, begin event feedback, add version stuff 2022-11-29 22:40:41 -08:00
main.go Dump and load config, successfully changed bridge IP from ziggs 2022-10-29 03:49:28 -07:00

Ziggs

Ziggs Demo

There are zigbees in my head.

Huh?

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.

Features and Examples

  • interactive readline shell
    • run go run ./ shell || ziggs shell
  • manage multiple hue bridges at the same time
    • e.g target specific bridge: use ECC0FAFFFED55555
  • 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
  • list, delete, and rename for the following targets
    • lights, groups, scenes, rules, schedules
  • create groups
    • e.g: create group bedroom 5 3 2 10
  • specify color by HTML hex colors
    • e.g: set group kayos color #2eebd3
  • 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
  • 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