From cfe7f6007e219c4cba814c8925ce2ce6effdd456 Mon Sep 17 00:00:00 2001 From: JensHoRi <47488279+JensHoRi@users.noreply.github.com> Date: Mon, 12 Apr 2021 19:40:34 +0200 Subject: [PATCH] Update rules-dsl.md (#1532) Added startlevels from openhab to get them find outside from github in documentation --- configuration/rules-dsl.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configuration/rules-dsl.md b/configuration/rules-dsl.md index c0fa9d629..b2141748a 100644 --- a/configuration/rules-dsl.md +++ b/configuration/rules-dsl.md @@ -220,6 +220,20 @@ then ]) end ``` +In openHAB version 3 the System-based Trigger for startlevel had been added, values depends on the startlevel: + + 00 - OSGi framework has been started. + 10 - OSGi application start level has been reached, i.e. bundles are activated. + 20 - Model entities (items, things, links, persist config) have been loaded, both from db as well as files. + 30 - Item states have been restored from persistence service, where applicable. + 40 - Rules are loaded and parsed, both from db as well as dsl and script files. + 50 - Rule engine has executed all "system started" rules and is active. + 70 - User interface is up and running. (planned, not included yet) + 80 - All things have been initialized. (planned, not included yet) + 100 - Startup is fully complete. + +Startlevels (logically only if startlevel >= 40) are only available in UI-Rules, not in DSL-Rules with textual configuration. + {: #thing-based-triggers}