yeelight-cli

Crates.ioyeelight-cli
lib.rsyeelight-cli
version0.2.0
sourcesrc
created_at2020-06-18 17:07:41.088115
updated_at2020-06-28 21:22:50.394924
descriptionRust CLI to control yeelight WiFi Bulbs
homepage
repositoryhttps://github.com/leixb/yeelight-cli
max_upload_size
id255390
size35,519
Leix b (Leixb)

documentation

https://docs.rs/yeelight-cli

README

Yeelight CLI

A CLI to control your Yeelight smart lights.

Install

cargo install yeelight-cli

Usage

USAGE:
    yeelight-cli [OPTIONS] <address> <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -p, --port <port>     [env: YEELIGHT_PORT=]  [default: 55443]

ARGS:
    <address>     [env: YEELIGHT_ADDR=]

SUBCOMMANDS:
    adjust            Adjust properties (Bright/CT/Color) (increase/decrease/circle)
    adjust-percent    Adjust properties (Bright/CT/Color) with perentage (-100~100)
    flow              Start color flow
    flow-stop         Stop color flow
    get               Get properties
    help              Prints this message or the help of the given subcommand(s)
    music-connect     Connect to music TCP stream
    music-stop        Stop music mode
    off               Turn off light
    on                Turn on light
    preset            Presets
    set               Set values
    timer             Start timer
    timer-clear       Clear current timer
    timer-get         Get remaining minutes for timer
    toggle            Toggle light
Commit count: 21

cargo fmt