Commit Graph

122 Commits (5f10c55303369257e789fa5ec17daf177a15594f)

Author SHA1 Message Date
Paulus Schoutsen 483546a31d Code according to PEP8 standard 2013-11-10 16:46:48 -08:00
Paulus Schoutsen 860812fa19 Cosmetic adjustments 2013-11-10 09:31:34 -08:00
Paulus Schoutsen a60f6754aa EventBus can now report overview of events that have listeners. 2013-11-01 12:28:18 -07:00
Paulus Schoutsen 24b317f10d StateMachine.get_state will not throw an exception but return None if category does not exist 2013-11-01 11:29:37 -07:00
Paulus Schoutsen 47d2c04c90 StateMachine.is_state was bugged 2013-10-31 18:41:28 -07:00
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 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 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 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 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 32b357f5e1 PyLint is a lot happier about the code now. 2013-10-07 23:55:19 -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 e4a6219386 StateMachine sorts states now case insesitive 2013-09-30 19:00:45 -07:00
Paulus Schoutsen a491df761f Integrated core.py into module-init 2013-09-30 00:20:27 -07:00
Paulus Schoutsen 8ac8700154 Added API 2013-09-28 11:09:36 -07:00
Paulus Schoutsen a1f238816b Code reorganized into a more Pythonic structure. 2013-09-24 18:39:58 -07:00
Paulus Schoutsen e6bdded90c Rename root module 2013-09-21 18:02:52 -07:00