Menu

Linknx_rules_on_startup

Damago

Linknx rules on server startup

To determine which rules will be executed at startup during processing of configuration file, and which not, the following conditions have to be taken into account:

  • the attribute init="false" (default) of the rule is controlling the re-evaluation during startup. if set to "true" the rule will be reevaluated on restart of linknx
  • additionally, the stateless rules are not executed at init. For exemple if tou have a rule with a timer condition from 8h00 until 20h00 without trigger, and on restart of linknx at 9h00 the rule will not be on the "good status" for this condition - it is in undefined state. Such rule cannot be evaluated during startup.
  • this also apply to the rules which have some arguments undefined. When an object is set to init="request" and there was no value given for that object, than the object value is empty instead of being 'on' or 'off'. In such case the rule will not be evaluated until KNX telegramm which fill fix the object value will be obtained. If the rule needs more objects for proper evaluation, then the rule will be triggered for the first time as soon as the last needed object will be in defined state.

Please note: this section needs further verification with the source code


Related

Wiki: Main_Page
Wiki: Rules_section

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.