2 releases
0.5.2 | Jun 28, 2020 |
---|---|
0.5.1 | Jun 21, 2020 |
#6 in #philips
76KB
2K
SLoC
huectl-rs
A command line interface to Philips Hue using the huelib crate.
Installation
Building from source
- Install and setup Rust
- Run
cargo install huectl
Pre-compiled binary
- Download a binary from the release page
- Move the binary to your
PATH
Configuration
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
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
Dependencies
~9MB
~154K SLoC