OH: 4.3.0-4.3.5
JAVA: Zulu v17.58.21 CA-JDK v17.0.15 x64
OS: Windows Server 2022 Std Latest
HW: ASUSPN41/IntelPentiumSilverN6000@2100/8GB_DDR4-2666/256GB_SSD-WD-GREEN
JS: application/javascript ECMAScript 262 Edition 11
Experience: 3+ years with OH v3&4
Is the system behaving correctly: when I change some items (via ui) or edit rules in files and save the changes, my rule with “System reached start level 100” can be executed.
I’m not editing the file itself, where the message is output to the log.
I have other rules that need to be executed once at system startup. I don’t want them to be executed multiple times.
Is this correct behavior?
I thought that “System reached start level 100” is executed only once.
rule "OpenHAB: Startup"
when
System reached start level 100
then
val _message = "🏁 OpenHAB ready.";
logInfo("openhab_startup", _message);
...
Example of log when editing rules:
2025-05-14 15:18:59.544 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'openhab.rules'
2025-05-14 15:18:59.848 [INFO ] [ab.core.model.script.openhab_startup] - 🏁 OpenHAB ready.
2025-05-14 15:31:22.743 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'openhab.rules'
2025-05-14 15:31:23.284 [INFO ] [ab.core.model.script.openhab_startup] - 🏁 OpenHAB ready.
2025-05-14 15:31:40.287 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'openhab.rules'
2025-05-14 15:31:40.715 [INFO ] [ab.core.model.script.openhab_startup] - 🏁 OpenHAB ready.
2025-05-14 15:32:35.910 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'openhab.rules'
2025-05-14 15:32:36.440 [INFO ] [ab.core.model.script.openhab_startup] - 🏁 OpenHAB ready.
2025-05-14 15:33:55.479 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'intrusion.rules'
2025-05-14 15:34:29.556 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'network.rules'
2025-05-14 15:34:48.358 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rflnk.rules'
2025-05-14 15:35:07.832 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'alarms.rules'
2025-05-14 15:35:33.971 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'debug.rules'
2025-05-14 15:36:35.528 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'debug.rules'
2025-05-14 15:36:58.927 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'intrusion.rules'
2025-05-14 15:37:20.736 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'network.rules'
2025-05-14 15:37:34.351 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'openhab.rules'
2025-05-14 15:37:35.112 [INFO ] [ab.core.model.script.openhab_startup] - 🏁 OpenHAB ready.
2025-05-14 15:37:46.031 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rflnk.rules'
2025-05-14 15:38:08.758 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'alarms.rules'
2025-05-14 15:40:10.643 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'alarms.rules'