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