huectl

Crates.iohuectl
lib.rshuectl
version0.5.2
sourcesrc
created_at2020-06-21 16:04:14.95846
updated_at2020-06-28 19:17:36.023418
descriptionA command line interface to Philips Hue
homepagehttps://github.com/yuqio/huectl-rs
repositoryhttps://github.com/yuqio/huectl-rs
max_upload_size
id256346
size98,290
Niklas Sauter (nn1ks)

documentation

README

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
Commit count: 72

cargo fmt