added example and developer link

This commit is contained in:
mischa 2019-11-02 10:28:38 +01:00
parent 1713b5e5f0
commit 9a811e476b
3 changed files with 15 additions and 2 deletions

View File

@ -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
#

View File

@ -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")

View File

@ -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