Commit Graph

31 Commits (f75c7abde4e59f75323bd31a30ab70b3aae79bbf)

Author SHA1 Message Date
Michael Zanetti f75c7abde4 bump api version 2019-04-01 20:48:17 +02:00
Michael Zanetti de6b60734e Decouple the json timeout from the actual error code.
Fixes #50
2019-04-01 20:48:17 +02:00
Michael Zanetti aad334c799 switch json api to better type system and enhance error reporting 2019-04-01 20:48:17 +02:00
Michael Zanetti 1aba1643f8 first attempt to clean up type system 2019-04-01 20:48:17 +02:00
Michael Zanetti b252ff9706 port new plugins to json system 2019-04-01 20:48:17 +02:00
Michael Zanetti 824464e09b fix some param handling issues 2019-04-01 20:48:17 +02:00
Michael Zanetti be90f47f63 more work on rules
disallow removing a device if a rule still refers to it unless
parameters contain information on what to do with those rules.
2019-04-01 20:48:17 +02:00
Michael Zanetti a6725ec4e9 add initial support for pairing devices (Only CreateMethodDiscovery and SetupMethodPushButton so far)
implement an initial Philips Hue plugin to test it
add a python script to test stuff
2019-04-01 20:47:51 +02:00
Michael Zanetti 16645498db write more tests for the rules engine.
decouple jsonrpc versioning from application versioning
2019-04-01 20:47:51 +02:00
Michael Zanetti 21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti 0110e3a8eb test the handshake message 2014-05-05 00:35:06 +02:00
Michael Zanetti edb6c956e6 drop some debug prints 2014-05-04 04:53:08 +02:00
Michael Zanetti c54e289403 added a mechanism to bump the version
added a test that checks for JSONRPC api changes and enforces a version bump
2014-05-03 17:22:44 +02:00
Michael Zanetti c1ed5054c8 bring back the welcome message
Fixes #4
2014-04-28 20:44:49 +02:00
Simon Stürz 2a372dd240 added google mail notification plugin
changed licence formating
2014-04-20 18:49:39 +02:00
Michael Zanetti fe95326a10 fix some warnings 2014-04-16 01:13:16 +02:00
Michael Zanetti c56ebcb6a2 also implement async replies 2014-04-13 22:40:49 +02:00
Michael Zanetti a5eb0ef759 some more checks 2014-04-13 17:58:33 +02:00
Michael Zanetti c027bb1481 reenable strict argument checking, now that we can mark parameters as optional 2014-04-06 01:32:46 +02:00
Michael Zanetti 415a48d659 make things more typesafe 2014-04-05 23:37:55 +02:00
Michael Zanetti 4f679b3bc3 restructure lib a bit. added initial code for the new rules stuff 2014-04-05 22:01:38 +02:00
Michael Zanetti 044be78064 added methods to query states and properly test state changes on notifications 2014-04-04 22:50:59 +02:00
Michael Zanetti 5a6d7bf2ba states implemented 2014-04-04 01:34:13 +02:00
Michael Zanetti 6dd81e641c some more work on states and the rules doc 2014-04-04 00:10:15 +02:00
Michael Zanetti ca9c9fffb9 make json parsing a bit more verbose 2014-04-02 01:09:38 +02:00
Michael Zanetti 66890e3161 added a new mockdevice plugin 2014-04-01 00:21:19 +02:00
Simon Stürz 95f806ccaf added licence to source code 2014-03-31 21:55:33 +02:00
Simon Stürz be4ee5c14d hive -> guh 2014-03-31 20:33:30 +02:00
Michael Zanetti 61a7a68ee0 added JSONRPC.Version and JSONRPC.SetNotificationStatus 2014-03-30 01:14:39 +01:00
Michael Zanetti ebbae7f0da added a first test suite 2014-01-26 17:12:15 +01:00
Michael Zanetti 02c8e6e4b4 reworked jsonrpc server.
added introspection
all calls and responses have now param validation
2014-01-20 01:13:43 +01:00