26 Commits

Author SHA1 Message Date
Jenkins
d510aa13bb Merge PR #148: Add support for state based rule action parameters 2019-04-12 13:42:30 +02:00
Michael Zanetti
299052d2f7 Fix processing of rule action params and make tests pass again 2019-04-10 13:40:16 +02:00
Michael Zanetti
5fcfe1a11c Update removeConfiguredDevice to update rules as appropriate 2019-04-10 13:40:16 +02:00
Michael Zanetti
6afe3e5161 fixup api 2019-04-10 13:40:16 +02:00
Michael Zanetti
774452ff7c Add support for state based rule action params 2019-04-10 13:40:16 +02:00
Michael Zanetti
4275f9052f Fix TimeDescriptors getting lost when updating a rule by removing a device 2019-04-08 17:01:38 +02:00
Michael Zanetti
49bcfe72f5 Fix Scenes getting activated by state changes 2019-04-08 13:55:15 +02:00
Michael Zanetti
81e4db3a90 Handle binding loops in rules properly 2019-04-08 13:55:15 +02:00
Michael Zanetti
c6d9bdd75c Make loading and tearing down of the core more predictable 2019-04-08 13:55:15 +02:00
Michael Zanetti
15938cafb3 Fix an issue where Rules might not be initialized properly at startup 2019-04-08 13:55:15 +02:00
Michael Zanetti
cdf5c63b59 remove rules which are left without any action after a device removal 2019-04-08 13:55:15 +02:00
Simon Stürz
4fadd37938 Store value type of rule values 2019-04-08 13:55:15 +02:00
Simon Stürz
dcd410457d Update core documentation and fix inline warnings 2019-04-08 13:55:15 +02:00
Michael Zanetti
681b306b1b fix rules with time descriptors to follow the same logic 2019-04-08 13:55:15 +02:00
Michael Zanetti
157b0b2b2c use exitActions for else-action in event based rules 2019-04-08 13:55:15 +02:00
Michael Zanetti
15f7b2517c fix initialisation of the rule engine
after loading rules from config we need to evaluate their active state immedately
2019-04-08 13:55:15 +02:00
Michael Zanetti
dd6459a2e9 cleanup debug prints 2019-04-08 13:55:15 +02:00
Michael Zanetti
abd2305bc0 add support for paramTypes by name 2019-04-08 13:55:15 +02:00
Michael Zanetti
e21c2f16a5 add support for interface based StateDescriptors 2019-04-08 13:55:15 +02:00
Michael Zanetti
11d56d1020 allow passing params if QVariant can convert them 2019-04-08 13:55:15 +02:00
Michael Zanetti
b8c11cc850 improve debug output for the ruleengine 2019-04-08 13:55:15 +02:00
Michael Zanetti
b8a86b095d copyright headers guh -> nymea 2019-04-08 13:55:15 +02:00
Michael Zanetti
36d4f89b24 namespace guhserver -> namespace nymeaserver 2019-04-08 13:55:15 +02:00
Michael Zanetti
559a8be1f6 guhcore -> nymeacore 2019-04-08 13:55:15 +02:00
Michael Zanetti
dca764fafd guhsettings -> nymeasettings 2019-04-08 13:55:15 +02:00
Michael Zanetti
4be14f1904 libguh-core -> libnymea-core 2019-04-08 13:55:15 +02:00