added example and developer link
This commit is contained in:
parent
1713b5e5f0
commit
9a811e476b
|
@ -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
|
||||
#
|
||||
|
|
|
@ -4,6 +4,12 @@
|
|||
# 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")
|
||||
|
|
|
@ -5,6 +5,12 @@
|
|||
#
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue