Interactive CLI for Philips Hue bridges, command line control for smart lighting and other hue compatible zigbee devices.
Go to file
2022-09-26 08:25:21 -07:00
internal CLI cont. 2022-09-26 08:25:21 -07:00
vendor Merge dev + implement delete functions 2022-09-05 17:29:02 -07:00
.gitignore Update: .gitignore 2022-09-06 22:13:24 -07:00
go.mod Tinkering 2022-09-05 14:02:29 -07:00
go.sum Tinkering 2022-09-05 14:02:29 -07:00
main.go CLI cont. 2022-09-26 08:25:21 -07:00
README.md Update README.md 2022-09-21 21:00:50 -07:00

Ziggs

Ziggs Demo

There are zigbees in my head.

Huh?

This tool was only planned as a personal tool for myself, consequentially 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

I use this every day to inflict pain upon myself control the lights inside and outside of my house.