Commit Diff


commit - 1713b5e5f0f9a9313bee113ff8f926c3575b1253
commit + 9a811e476b107e44a4a2b5778cc9e455064fc41d
blob - 113a99e94206a4c1c0270917d773eea6740653df
blob + 323846edf488c0da2535bc58bffdbe3a5e245fbb
--- daylight-trigger.py
+++ daylight-trigger.py
@@ -9,6 +9,9 @@
 # For example:
 # $ daylight-trigger <bridge IP> <token> -s 50 -l 24
 #
+# Follow the steps at the Hue Developer site to get the username/token
+# https://developers.meethue.com/develop/get-started-2/
+#
 # Requires:
 #   - Python >3.6
 #
blob - d8659b99af5cdb34558bd7bd9af95af7b7d21386
blob + 43660ad4c1d64660e4275273425efa9f71dde2cc
--- get-lights.py
+++ get-lights.py
@@ -4,7 +4,13 @@
 # Version 1.0 - 20191028
 #
 # Get all light IDs
+#       
+# For example:
+# $ get-lights.py <bridge IP> <token>
 #
+# Follow the steps at the Hue Developer site to get the username/token
+# https://developers.meethue.com/develop/get-started-2/
+#
 # Requires:
 #   - Python >3.6
 #
@@ -12,8 +18,6 @@ import argparse
 import ssl
 import urllib.request
 import json
-import re
-import collections
 
 parser = argparse.ArgumentParser(description="Get all sensors from Hue Bridge")
 parser.add_argument("bridge", type=str, help="Hue Bridge IP")
blob - 8a358a6c68271f699614bb626b8e58f633463fba
blob + d656a292f2be13b2204516988b5b6d49995e2c70
--- get-sensors.py
+++ get-sensors.py
@@ -5,7 +5,13 @@
 #
 # Get all sensor IDs (ZLLPresence, ZLLLightLevel and ZLLTemperature)
 # grouped by ZLLPresence name
+#       
+# For example:
+# $ get-sensors.py <bridge IP> <token>
 #
+# Follow the steps at the Hue Developer site to get the username/token
+# https://developers.meethue.com/develop/get-started-2/
+#
 # Requires:
 #   - Python >3.6
 #