From 2662ff9bc2612a8d76ee6364071c8b8251f9214e Mon Sep 17 00:00:00 2001 From: mischa Date: Thu, 25 Jun 2020 12:50:18 +0200 Subject: [PATCH] added -h switch and example --- huectl.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/huectl.pl b/huectl.pl index cf86738..6d39e48 100755 --- a/huectl.pl +++ b/huectl.pl @@ -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: