From 1d01f8abcf723d5f773e66dcdbd5cdffe1934723 Mon Sep 17 00:00:00 2001 From: Rich Date: Thu, 7 Apr 2016 18:31:25 -0400 Subject: [PATCH] Adding outline of script --- hue_off.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hue_off.py diff --git a/hue_off.py b/hue_off.py new file mode 100644 index 0000000..5b4b3eb --- /dev/null +++ b/hue_off.py @@ -0,0 +1,21 @@ +import sys +from qhue import bridge +from qhue import create_new_username + +def main(): + + # IP address of your Hue Bridge + bridge = + + # How often (in seconds) to check the pwrstatd log for events + check_interval = 60 + + + +def createUsername(): + # This function will create a new user account on the Hue bridge if the '-c' argument is passed + + + +if __name__ == "__main__": + main()