Commit Graph

21 Commits (c442eb3592d21bb6626a027efee39c2e2570a332)

Author SHA1 Message Date
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