added -h switch and example

This commit is contained in:
mischa 2020-06-25 12:50:18 +02:00
parent 7f68ca2a7a
commit 2662ff9bc2
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,7 @@ bridge-name as defined in [HOME]./hue.conf or [HOME]./.hue.conf or /etc/hue.c
-s | --sensor sensor-id
-b | --battery percent of battery level to report on, only relevant with sensors
-a | --action [ on | off | state | bright | relax | morning | dimmed | evening | nightlight ] (default: state)
-h | --heat show temperature of ZZLTemperature in C
-v | --verbose
-d | --debug JSON output
-p | --pretty pretty JSON output (can be a lot)
@ -49,6 +50,8 @@ $0 bridge2 -t lights -i 8 -a bright
Turn on light-id 8 with the scene bright
$0 bridge2 -t trigger -i 8 -s 34 -a evening
Check for 'dark' state of sensor-id 34, turn on light-id 8 with the scene evening
$0 bridge1 -t sensors -h
Displays temperature of all sensors in C
Config example:
# huectl,pl config file locations: