Delay Start [4.0.0.0;4.9.9.9]

image

System startup can be noisy and chaotic.

This is a rule that triggers at system runlevel 40 (Rule Engine Started) and again at a runlevel 100. The first time it triggers, it disables a user selected set of rules immediately. The second time it triggers it will wait a user selected amount of time and then reenable the selected rules.

Language: JS Scripting ECMAScript 2021

Dependencies:

  • openhab-js 4.1+
  • openhab_rules_tools 2.0.2+

Changelog

Version 0.2

  • rules can come and go, catch the exception if a rule no longer exists rather than blowing up.

Version 0.1

  • initial release

Resources

https://raw.githubusercontent.com/rkoshak/openhab-rules-tools/main/rule-templates/ruleStartDelay/ruleStartDelay.yaml