45 Commits
Author SHA1 Message Date
rich 080d3bd0b4 Removed unused functions 2017-03-18 20:19:44 -04:00
rich bd3cdfd654 Merge branch 'master' into 'Dev'
# Conflicts:
#   hue_off.py
#   off.lights
2017-03-18 20:01:47 -04:00
rich a1b380ba21 Removing duplicate code for turning off lights upon run, also moved that action to after checking if bridge is reachable 2017-03-18 17:27:26 -04:00
rich 6d28516950 Fixed syntax error on line 158 2017-03-17 19:09:58 -04:00
rich 9b89b2ef23 Woah, there's a lot of changes here... for too many to list, but we can now monitor NUT! 2017-03-17 19:05:35 -04:00
rich e580baf8bd more work on NUT check 2017-03-01 21:42:54 -05:00
rich 79a7c177b7 Created Stub function for NutOutage check 2017-02-19 18:08:52 -05:00
rich e2da7d3770 Changed checkPowerOutage to checkCyberPowerOutage 2017-02-15 18:45:50 -05:00
rich b28f88257f Added mode option argument to be used for adding NUT server functionality 2017-02-15 17:52:49 -05:00
rich 0f6e68c1e1 Converted hue_off.py code to python 3, saved old python 2 as hue_off.py.bak 2017-02-15 17:35:14 -05:00
rich 5b53db293d After read in of off.lights file, added code to turn off the lights listed in file and debugged incorrect variable spellings 2016-04-17 20:08:56 -04:00
rich 43590d02e0 Added code to turn off lights listed in off.lights file 2016-04-17 17:00:01 -04:00
rich ca8d4b1510 uncommented read-in stuff 2016-04-15 10:35:33 -04:00
rich c81b482d67 commited to wrong branch... commented out read file stuff an recommitting 2016-04-15 10:18:29 -04:00
rich ca3d37277d Printing read-in contents of file 2016-04-15 10:03:41 -04:00
rich c60bffabb3 fixing some things 2016-04-12 14:55:01 -04:00
rich 16e208e799 Adding read in of off.lights... should start dev branch of code 2016-04-12 14:43:20 -04:00
rich ca33e27cd6 changed wording of unhandled to unknown exception 2016-04-12 08:44:27 -04:00
rich f9816c066d added bridge IP to off.lights file 2016-04-12 08:42:37 -04:00
rich ade7388e44 Changed some comments, added datestamp to off.lights file, added ValueError exception catch 2016-04-12 08:40:43 -04:00
rich a86b733ccb Removed IOError exception. Writing light name to file is working. Now need to read in and find light nased on name 2016-04-11 21:18:38 -04:00
rich edf74c95c0 Added exception catch for IOError... and the previous commit actually had file code stuff there too oops. 2016-04-11 20:47:42 -04:00
rich c59b8a12fc fixed call to nonexistent datetime() function... should be datestamp() 2016-04-11 20:43:13 -04:00
rich 87f423f929 Changes all createuser to createnew 2016-04-09 20:27:19 -04:00
rich 7b619b8306 Removed Username option and related code, since not used anymore 2016-04-09 20:12:06 -04:00
rich 7e1a5780a6 added print line to indicate ligts were bring turned off 2016-04-09 17:14:57 -04:00
rich c276f6d8db Fixed syntax error in print function (line 155) 2016-04-09 17:09:10 -04:00
rich 7d398d2767 Fixed typo 2016-04-09 17:01:15 -04:00
rich 55e4d311c3 Cleaning up, removed whitespace, removed redundant code 2016-04-08 21:46:47 -04:00
rich 46342a4888 Added Description and license info 2016-04-08 21:01:19 -04:00
rich ac771bfd4e fixed datestamp calls to imported functions, added missing return in waitSetlights function 2016-04-08 20:45:27 -04:00
rich ed2d5b77cc Added datestamp() function 2016-04-08 20:35:45 -04:00
rich 6d5fe18203 changed back some debugging settings 2016-04-08 17:32:31 -04:00
rich 20b1e36746 Am now setting check_interval as float 2016-04-08 16:52:59 -04:00
rich 10b69c2084 added printouts when checking power status 2016-04-08 16:51:05 -04:00
rich 77269cddcb called waitSetlights function without check_interval... fixed 2016-04-08 16:47:23 -04:00
rich eb50c50fb7 Added pwrstatd check, added function to turn off lights when power returns 2016-04-08 16:44:04 -04:00
rich 87d454ffbc Removed defunct code for qhue 2016-04-08 15:38:16 -04:00
rich d98078aede Added code to get list of lights that are off 2016-04-08 15:34:07 -04:00
rich 33553a2268 Switched to using Phue instead of Qhue... much better, much wow 2016-04-08 15:25:58 -04:00
rich 8efa87640c added getLightstatus function 2016-04-08 14:31:34 -04:00
rich cdc4a46ddf Removed createUsername function, replaced with use of Qhue function 2016-04-08 07:56:11 -04:00
rich 13e6aebd99 Added options parsing, and createUserfunction 2016-04-07 21:33:16 -04:00
rich 15798c633b added execute flag to hue_off.py 2016-04-07 18:34:43 -04:00
rich 1d01f8abcf Adding outline of script 2016-04-07 18:31:25 -04:00