Adding outline of script
This commit is contained in:
commit
1d01f8abcf
1 file changed
+21
+21
@@ -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()
|
||||
Reference in new issue
Block a user