5 releases

0.2.1 Apr 15, 2021
0.2.0 Sep 27, 2020
0.1.2 Aug 29, 2020
0.1.1 Aug 29, 2020
0.1.0 Aug 29, 2020

#8 in #hue

28 downloads per month

AGPL-3.0

22KB
174 lines

hust CLI

Just a CLI for the hue bridge written in Rust.

Usage

First, explore the network.

hust discover

The command will output and save the found bridges.

To register a user, you will now have to press the button on the Hue bridge while executing:

hust register

If there are multiple bridges in the network, you may specify a bridge by its UDN:

hust register -b "uuid:abcdef12-da50-11e1-9b23-ecb5fa004b9e"

Then, list the lights of the bridge:

hust light list

The output will contain each light's properties.

The light identifiers on the left side enable you now to switch lights on and off.

hust light switch -l 1 on

The -b switch for specifying the bridge will also work for the list and light subcommand.

hust light -b "uuid:abcdef12-da50-11e1-9b23-ecb5fa004b9e" switch -l 2 off

Dependencies

~5–21MB
~281K SLoC