Commit Graph

24098 Commits

Author SHA1 Message Date
Paulus Schoutsen 102690a770 last_changed value of State is now a string so it can be send over the API 2013-10-28 18:45:35 -07:00
Paulus Schoutsen 308b49b585 Timeout of 1 second was a bit too optimistic for Tomato router 2013-10-28 18:27:08 -07:00
Paulus Schoutsen 58ac9e0aac Forgot to change 1 class when changing State from tuple to dict 2013-10-28 18:26:25 -07:00
Paulus Schoutsen 83d878810e Events and States will now only use JSON serializable attributes 2013-10-27 17:39:54 -07:00
Paulus Schoutsen 1da1713d2f StateMachine.is_state will return False if category does not exist 2013-10-26 22:26:58 +01:00
Paulus Schoutsen 5374ff7f71 Updated documentation 2013-10-25 12:54:30 +01:00
Paulus Schoutsen 867966234f Added remote EventBus and StateMachine classes 2013-10-25 11:05:58 +01:00
Paulus Schoutsen 5ae08c6f0f Clearified some behavior 2013-10-25 11:05:34 +01:00
Paulus Schoutsen 66d432d0a2 StateMachine now supports attributes for states 2013-10-24 07:57:08 +01:00
Paulus Schoutsen c1819e19a4 Timer is more accurate and wakes up less often 2013-10-24 01:42:16 +01:00
Paulus Schoutsen b43e413de9 More clear logs when dependencies are missing. 2013-10-24 00:32:23 +01:00
Paulus Schoutsen 00c9d22a58 Added listen_once to eventbus 2013-10-24 00:29:33 +01:00
Paulus Schoutsen 42c7f33567 Cleaned up API statemachine 2013-10-24 00:08:28 +01:00
Paulus Schoutsen 7443a5f963 Timeout if Tomato router does not respond for 1 sec 2013-10-23 23:58:48 +01:00
Paulus Schoutsen 05472481c5 Making the config bootstrap more verbose about what started 2013-10-21 22:06:22 -07:00
Paulus Schoutsen 0d156ecbf0 Moved bootstrap code to a seperate bootstrap module. 2013-10-13 10:42:22 -07:00
Paulus Schoutsen 7dfbff31f5 Better formatting of events in debug interface 2013-10-13 09:59:13 -07:00
Paulus Schoutsen 15a31cd0c3 Updated dependencies in README.md 2013-10-13 09:55:21 -07:00
Paulus Schoutsen 785e17e1e6 Made a few dependencies optional and removed others. 2013-10-13 09:40:38 -07:00
Paulus Schoutsen 6de531db0d Pykeyboard won't import PyHook now when not needed. 2013-10-09 00:14:44 -07:00
Paulus Schoutsen 866a3e852e Added support for multimedia keyboard button simulation for controlling the host. 2013-10-09 00:03:05 -07:00
Paulus Schoutsen 2b3d81d007 Added MIT license 2013-10-08 21:18:22 -07:00
Paulus Schoutsen b9212514bd Converted Timer and HTTP Interface threads to daemons for cleaner shutdown. 2013-10-08 19:00:10 -07:00
Paulus Schoutsen 71bd03ed8c Cleaned up the core. 2013-10-08 18:50:30 -07:00
Paulus Schoutsen f1042cd136 Update README.md 2013-10-08 00:14:09 -07:00
Paulus Schoutsen a58319aebd Download dir now taken from config 2013-10-08 00:02:01 -07:00
Paulus Schoutsen 32b357f5e1 PyLint is a lot happier about the code now. 2013-10-07 23:55:19 -07:00
Paulus Schoutsen 9ac8cf7a27 Removing old pychromecast lib 2013-10-07 20:32:44 -07:00
Paulus Schoutsen c3f96fff87 Added extra error checking and feedback to TomatoDeviceScanner 2013-10-07 20:28:45 -07:00
Paulus Schoutsen df53b05423 PyChromecast properly integrated now. 2013-10-07 20:23:05 -07:00
Paulus Schoutsen 9cfcf43202 Added actor to open url in default browser 2013-10-07 18:47:25 -07:00
Paulus Schoutsen c72dbf0a83 Cleaned up the imports of start.py 2013-10-07 18:31:31 -07:00
Paulus Schoutsen 3b6b201428 Added a file downloader 2013-10-07 00:15:47 -07:00
Paulus Schoutsen 1a22f1678c Catching exceptions from listeners in the eventbus to prevent unexpected crashed to crash the core 2013-10-06 23:06:59 -07:00
Paulus Schoutsen 86bd8d68f1 Fix broken link in README.md 2013-10-06 21:47:36 -07:00
Paulus Schoutsen f30587ced7 Added Android app to remote control home assistant 2013-10-06 21:45:45 -07:00
Paulus Schoutsen 53971486fb Add support for Chromecast 2013-10-06 18:24:03 -07:00
Paulus Schoutsen 485ce7b784 Added events to control the lights via the event bus 2013-10-06 17:20:27 -07:00
Paulus Schoutsen 4ce550b432 Better handling if invalid known_devices.csv encountered. 2013-10-06 16:54:46 -07:00
Paulus Schoutsen 59fa58beaf Moved more tracking code to DeviceTracker 2013-10-06 16:14:55 -07:00
Paulus Schoutsen 2c2095d112 Added python-dateutil as dependency in the README.md 2013-10-06 13:22:57 -07:00
Paulus Schoutsen 6efc797df3 Sun setting category didn't include the word sun 2013-10-06 13:20:13 -07:00
Paulus Schoutsen ecb0567d03 Missing doc string for one method. 2013-10-06 13:13:54 -07:00
Paulus Schoutsen 9026a78a66 Better documentation of TomatoDeviceScanner 2013-10-06 13:12:22 -07:00
Paulus Schoutsen 97e82b3808 Next sun rising and sun setting are now in statemachine. 2013-10-06 11:47:24 -07:00
Paulus Schoutsen cb4fce7691 Added title HTML tags to the debug interface 2013-10-05 14:22:46 -07:00
Paulus Schoutsen 0a4ebfa0b0 Update README.md 2013-10-05 14:07:52 -07:00
Paulus Schoutsen e7d6c07b6a Updated docs. 2013-10-05 14:02:30 -07:00
Paulus Schoutsen 5c5fe5051b Now possible to set multiple states through one API call. 2013-10-05 12:28:18 -07:00
Paulus Schoutsen 645513b6ae Changed default API listen port to a less common one. 2013-10-04 21:12:26 -07:00