56 Commits

Author SHA1 Message Date
Simon Stürz
1ef6c80e79 add editDevice method 2019-04-01 20:48:17 +02:00
Simon Stürz
74150aa7a6 improove plugin loading and add deviceIcon to plugins 2019-04-01 20:48:17 +02:00
Simon Stürz
8dc8531033 add pluginId to DeviceClass -> close #294 2019-04-01 20:48:17 +02:00
Simon Stürz
0cf6b3e174 add basic tags to the api
bump api
add unit € cent / kWh
2019-04-01 20:48:17 +02:00
Simon Stürz
02a6e2cb96 update plugins and add state desciptor validation 2019-04-01 20:48:17 +02:00
Simon Stürz
057c1cf065 bump version
bump api version
update StateType
2019-04-01 20:48:17 +02:00
Simon Stürz
5f66f0cbe3 fix remove device method
bump api
2019-04-01 20:48:17 +02:00
Simon Stürz
fb6aa3e068 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz
f9c15d689e add execute rule actions 2019-04-01 20:48:17 +02:00
Simon Stürz
7682697c46 add aWATTar plugin 2019-04-01 20:48:17 +02:00
Simon Stürz
bae722abc3 add REST plugins, rules and vendors error handling
bump api version
2019-04-01 20:48:17 +02:00
Simon Stürz
8cd6866ffb error handling for devices and deviceclasses resource 2019-04-01 20:48:17 +02:00
Simon Stürz
c6331465eb bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz
1688a6b24c added database updated notification
fixed notification tests
fixed datetime notification id
bump api version
2019-04-01 20:48:17 +02:00
Simon Stürz
fb4f1cf1a2 add multiple time filters for log filter 2019-04-01 20:48:17 +02:00
Simon Stürz
44bdfbcb13 add tests 2019-04-01 20:48:17 +02:00
Simon Stürz
bdfb565f87 bump api version 2019-04-01 20:48:17 +02:00
Simon Stürz
05306f5c90 update hue plugin 2019-04-01 20:48:17 +02:00
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