Commit Graph

89 Commits (286e69d94d5c7717dc8be489a0917820d668e740)

Author SHA1 Message Date
Simon Stürz bf1235b4a7 move basic tags from type utils to DeviceClass 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 1bd913aea5 fixed #244 2019-04-01 20:48:17 +02:00
Simon Stürz 66528d6f38 fix #243 2019-04-01 20:48:17 +02:00
Simon Stürz 60067f7c0b fix #143 2019-04-01 20:48:17 +02:00
Simon Stürz fc9b6f1887 add device parent child relation
add remove policy to REST
expand remove policy
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 1f6cfd4527 add rule tests and rest resource 2019-04-01 20:48:17 +02:00
Simon Stürz ea9d8d6d90 added more tests
move httprequest and reply to server
added request parsing logic
2019-04-01 20:48:17 +02:00
Simon Stürz 70a929f760 add vendorsresource
add plugin resource
begin rules resource
2019-04-01 20:48:17 +02:00
Simon Stürz 34e53ef5b3 add more rest resources 2019-04-01 20:48:17 +02:00
Simon Stürz b86a062a87 added deviceresources and first tests 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 21ac449b3d first working filter version 2019-04-01 20:48:17 +02:00
Simon Stürz 91afe4f29e add guhserver namespace to server 2019-04-01 20:48:17 +02:00
Simon Stürz 5bbf1fc70b rename logging 2019-04-01 20:48:17 +02:00
Simon Stürz a8727407eb added logging category to core and lib 2019-04-01 20:48:17 +02:00
Simon Stürz 2ab185d215 update plugin json files
add unit to states
2019-04-01 20:48:17 +02:00
Simon Stürz 1ec69f8d6f add units to the API 2019-04-01 20:48:17 +02:00
Simon Stürz 01b92e325a add rule active status to rule details
add rule active status changed notification
add RuleDescription (and change API Rules.GetRules method)
2019-04-01 20:48:17 +02:00
Simon Stürz 516e825067 fixed readOnly in packParams 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 b366d45229 first version of edit device 2019-04-01 20:48:17 +02:00
Simon Stürz 2aa55e469e added copyright 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 0603b8a3b7 fixed tests and bump api 2019-04-01 20:48:17 +02:00
Simon Stürz 6bd8983ec2 added RuleAction and RuleActionParam to RuleEngine 2019-04-01 20:48:17 +02:00
Simon Stürz 79cbab42a1 fixed packRule 2019-04-01 20:48:17 +02:00
Simon Stürz 0652646240 added exitActions for state based rules 2019-04-01 20:48:17 +02:00
Simon Stürz 9e10d1a99d added name for rules 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 f331fe1591 added input types in plugin json files 2019-04-01 20:48:17 +02:00
Simon Stürz a336077521 fixed reference to InputType in ParamType 2019-04-01 20:48:17 +02:00
Simon Stürz d510157b26 added input type to API 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 56ca42e1ca finish off the stateevaluator handling 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 c57773883d return correct enum name
Fixes #68
2019-04-01 20:48:17 +02:00
Michael Zanetti 352a2dcca1 don't pack invalid/empty stateevaluator contents
Fixes #56
2019-04-01 20:48:17 +02:00
Michael Zanetti 477a95477b add operator to stateevaluator in json api
Fixes #57
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 ba8e3d7ec9 fix some plugin's json 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 0614e79193 convert the remaining param lists 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 f32abc8a2e add support for allowedValues 2019-04-01 20:48:17 +02:00
Michael Zanetti 53fe5557e0 fix issues in param handling in json api 2019-04-01 20:48:17 +02:00