Commit Graph

38 Commits (4d6ccdfd1c4e29a91303947aed856cd6322bdd41)

Author SHA1 Message Date
Simon Stürz 4d6ccdfd1c update api file 2019-04-01 20:48:17 +02:00
Simon Stürz 5a9c423c55 bump api 2019-04-01 20:48:17 +02:00
Simon Stürz 8b23cc0167 bump api and fix add rule 2019-04-01 20:48:17 +02:00
Simon Stürz 69ca5c4713 bump api version
add tests for rule active changed notification
2019-04-01 20:48:17 +02:00
Simon Stürz b05a97d53f bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz 745107c469 changed editable property to readOnly
added guhcore documentation
bump JSONRPC api version
2019-04-01 20:48:17 +02:00
Simon Stürz 5af2067308 bump api versio
bump guh version
added tests for edit device
added tests for edit device (rediscovery)
added device params changed notification
2019-04-01 20:48:17 +02:00
Simon Stürz a39a38f993 added rules notifications 2019-04-01 20:48:17 +02:00
Simon Stürz f0d7fbd3f5 bump guh version and add a more specific rule error 2019-04-01 20:48:17 +02:00
Simon Stürz 90622e5edb improove RuleAction logic
add tests
fix documentation
2019-04-01 20:48:17 +02:00
Simon Stürz f26ec0fa47 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz 0603b8a3b7 fixed tests and bump api 2019-04-01 20:48:17 +02:00
Simon Stürz 48b09ecf01 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz e555754706 added tests and bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz c1a0895a3f added Uint and Color to base types 2019-04-01 20:48:17 +02:00
Simon Stürz d1647a6b20 update api.json 2019-04-01 20:48:17 +02:00
Michael Zanetti b0202e928a some minor fixes 2019-04-01 20:48:17 +02:00
Michael Zanetti 240c5e36d6 implement a logging framework 2019-04-01 20:48:17 +02:00
Michael Zanetti 5cd3154b64 add possibility to disable/enable rules
Fixes #58
2019-04-01 20:48:17 +02:00
Michael Zanetti 66f4a361a1 add Events.GetEventType
Fixes #59
2019-04-01 20:48:17 +02:00
Michael Zanetti 63fb728269 bump version 2019-04-01 20:48:17 +02:00
Michael Zanetti c0abc394f8 bump api 2019-04-01 20:48:17 +02:00
Michael Zanetti f75c7abde4 bump api version 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 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 9d21f32366 allow calling AddRule with a single eventDescriptor but also with a list 2019-04-01 20:47:51 +02:00
Michael Zanetti 08223606ee introduce StateDescriptor and StateEvaluator for use with Rules 2014-06-09 04:34:37 +02:00
Michael Zanetti 21738b3907 state changes emit events now 2014-06-08 20:52:30 +02:00
Michael Zanetti bbd05ca7fd align jsonrpc param descriptions with the rest of the type system 2014-06-08 17:08:51 +02:00
Michael Zanetti b07433a8b5 Add discoveryParams to DeviceClass
Fixes #12
2014-05-05 20:40:02 +02:00
Michael Zanetti 1ffe5ee721 bump version 2014-05-05 20:30:21 +02:00
Michael Zanetti d84319fdcc Finish off param handling. New param structures now used everywhere.
Plugin params reworked. Added Devices.GetPluginConfiguration.
Cover params stuff with tests.
2014-05-04 23:59:08 +02:00
Michael Zanetti ab4a340e27 parse version from debian changelog, align package and jsonrpc api version 2014-05-04 01:34:29 +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