A command line interface to Philips Hue using the huelib crate.
- Install and setup Rust
- Run
cargo install huectl
- Download a binary from the release page
- Move the binary to your
PATH
Environment variables are used for configuration.
HUECTL_BRIDGE_IP
: The IP address of the bridgeHUECTL_BRIDGE_USERNAME
: The name of a registered user on the bridge
USAGE:
huectl <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
config Modifies or prints the bridge configuration
discover Discovers bridges in the local network
group Modifies, prints, creates or deletes groups
help Prints this message or the help of the given subcommand(s)
light Modifies, prints, searches or deletes lights
register Registers a new user on a bridge
resourcelink Modifier, prints, creates or deletes resourcelinks
rule Modifier, prints, creates or deletes rules
scene Modifies, prints, creates or deletes scenes
schedule Modifies, prints, creates or deletes schedules
sensor Modifies, prints, searches or deletes sensors