Commit Graph

94 Commits (314129a76f7655e3b58868302226143a5c240f23)

Author SHA1 Message Date
Michael Zanetti 452f7fb209 fix the rule evaluation the first time it is called after a startup.
cought by more restrictive compiler warning settings
2019-04-02 01:02:45 +02:00
Michael Zanetti f45e093cf1 don't access TimeManager at this point...
besides, we want the given timestamp anyways
2019-04-02 01:02:45 +02:00
Michael Zanetti 414d25c870 fix time events for rules
old code would compare QTime == QTime() every second which might not trigger
if e.g. milliseconds don't match. New code checks the interval between the
last check and the current one.
2019-04-02 01:02:45 +02:00
Simon Stürz 9c8097919d update license header 2019-04-02 01:02:06 +02:00
Simon Stürz 859c5b0df8 add paramTypesId and close #302 2019-04-02 01:01:21 +02:00
Simon Stürz 62eafb58ee fix #283
fix #303

small bug fixes and add logging for rule enable/disable and rule action execution
2019-04-01 20:48:17 +02:00
Simon Stürz f5ee163c48 update copy right line 2019-04-01 20:48:17 +02:00
Simon Stürz f3848c5daa clean up code and debug outputs 2019-04-01 20:48:17 +02:00
Simon Stürz e7ee05f017 add load / save timeDescriptor 2019-04-01 20:48:17 +02:00
Simon Stürz d713e3ba29 add store load timeDescriptor 2019-04-01 20:48:17 +02:00
Simon Stürz e5d9823c2b add missing docs
first working calendarItem
2019-04-01 20:48:17 +02:00
Simon Stürz 12a2d8009d fix unpacking/packing methods
add first rest row for calendarItems
2019-04-01 20:48:17 +02:00
Simon Stürz af500f353c improoved rule engine and rule verification 2019-04-01 20:48:17 +02:00
Simon Stürz 92a5060de6 complete source code documentation 2019-04-01 20:48:17 +02:00
Simon Stürz b2763cafd0 add device name
clean up guhCore
2019-04-01 20:48:17 +02:00
Simon Stürz d5af628a52 cleanup debug
add UPnP byebye message at shutdown
2019-04-01 20:48:17 +02:00
Simon Stürz 03381cc25c add shutdown and SIG quit signal capture
update manpage
2019-04-01 20:48:17 +02:00
Simon Stürz ec25870bfd fix documentation 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 1bd913aea5 fixed #244 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 88c5778103 add more documentation
update readme
2019-04-01 20:48:17 +02:00
Simon Stürz 549a2c8402 add documentation 2019-04-01 20:48:17 +02:00
Simon Stürz 610fc77ded add typeutils documentation 2019-04-01 20:48:17 +02:00
Simon Stürz b35f5f69bf fixed namespace and added documentation for servers 2019-04-01 20:48:17 +02:00
Simon Stürz 9ff00cb2cd fix documentation temporary 2019-04-01 20:48:17 +02:00
Simon Stürz 38afa00b30 added GuhSettings 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 b67bd44722 fixed enable disable notification tests 2019-04-01 20:48:17 +02:00
Simon Stürz 85ba7af29c add Rules.EditRule method and Rules.CRuleConfigurationChanged notification 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 9edb3b8b40 fixed rule action setting error 2019-04-01 20:48:17 +02:00
Simon Stürz 4c022b6a7e add documentation 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 a39a38f993 added rules notifications 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 a29b3a75eb add 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 7b6c9d3655 add documentation 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 b3e6da87dc fixed rule inactive log event 2019-04-01 20:48:17 +02:00
Simon Stürz d396cd16d2 added test 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 e605a41c37 improve debug print 2019-04-01 20:48:17 +02:00
Michael Zanetti dbe0b47035 fix some comments 2019-04-01 20:48:17 +02:00
Michael Zanetti 56ca42e1ca finish off the stateevaluator handling 2019-04-01 20:48:17 +02:00