Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rule "System started" runs 2x #4492

Open
hrf3 opened this issue Dec 11, 2024 · 0 comments
Open

rule "System started" runs 2x #4492

hrf3 opened this issue Dec 11, 2024 · 0 comments
Labels
bug An unexpected problem or unintended behavior of the Core

Comments

@hrf3
Copy link

hrf3 commented Dec 11, 2024

oH 4.3.0.M5
a "System started"-rule runs 2x after every oH-Start/Restart, but correctly 1x after rule-updates

rule "System startet" when
  System started
then
  logWarn("systemStarted", "wird nach oH-Start/Restart 2x ausgeführt");
end
… after oH-Start
2024-12-11 15:06:38.348 [INFO ] [org.openhab.core.Activator          ] - Starting openHAB 4.3.0.M5 (Milestone Build)
…
2024-12-11 15:07:25.288 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.rules'
…
2024-12-11 15:08:46.580 [WARN ] [ore.model.script.test System started] - wird nach oH-Start/Restart 2x ausgeführt
2024-12-11 15:08:52.015 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
2024-12-11 15:09:15.986 [WARN ] [ore.model.script.test System started] - wird nach oH-Start/Restart 2x ausgeführt
 
… after rule-update
2024-12-11 15:10:26.271 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'test.rules'
2024-12-11 15:10:26.454 [WARN ] [ore.model.script.test System started] - wird nach oH-Start/Restart 2x ausgeführt
@hrf3 hrf3 added the bug An unexpected problem or unintended behavior of the Core label Dec 11, 2024
@hrf3 hrf3 changed the title rule System started runs 2x rule "System started" runs 2x Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of the Core
Projects
None yet
Development

No branches or pull requests

1 participant