System Started - What state is OH in when this fires?

I have read through lots of posts but its still not clear to me. When this rule fires does it mean that all bindings and items are loaded and ready to be used? Or what state is OH in when this rule fires?

It can be any time in the start process. As soon as the rule file is loaded and parsed, I think.
Because of this there can be error messages because items are not initialised or transformation not installed yet

Exactly. And if for instance an item used in a rule is instantiated after the rule has been loaded, that’ll make that rule fire again. If you want to be sure your rules only fire after items are loaded, you should delay loading rules as suggested here.

Thank you for the link. Seems to me that it would be reasonable to have OH maybe generate a System Ready event that we could catch versus these work arounds…

1 Like

Raise a github issue on openhab-core then, please.

1 Like

Please post the link here’s if you do raise a git issue. I will have comments.

i would post a github but am not sure how…

You have to create an account.

Then find the openHAB-core repository https://github.com/openhab/openhab-core

Last, click on issues and add the request in the form that pops up.

done

1 Like