Skip to content

A command line interface to Philips Hue

License

Notifications You must be signed in to change notification settings

nn1ks/huectl-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huectl-rs

Build Crate License Downloads

A command line interface to Philips Hue using the huelib crate.

Installation

Building from source

  1. Install and setup Rust
  2. Run cargo install huectl

Pre-compiled binary

  1. Download a binary from the release page
  2. Move the binary to your PATH

Configuration

Environment variables are used for configuration.

  • HUECTL_BRIDGE_IP: The IP address of the bridge
  • HUECTL_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