OH 3 - Set Binding Startup Priority

I have a binding that does a rest call on items for habpanel to limit the number of items coming back to it .

221 │ Active   │  80 │ 3.1.0.202105180620    │ org.openhab.binding.habpanelfilter

During startup, this rest call in this binding is getting hit hard because I have 3 tablets calling it during the startup.

2021-12-30 07:56:56.249 [WARN ] [org.apache.cxf.transport.servlet.ServletController] - Can't find the request for http://192.168.0.32:8080/rest/items-filtered's Observer 
2021-12-30 07:56:56.260 [WARN ] [org.apache.cxf.transport.servlet.ServletController] - Can't find the request for http://192.168.0.32:8080/rest/items-filtered's Observer 
2021-12-30 07:56:56.316 [WARN ] [org.apache.cxf.transport.servlet.ServletController] - Can't find the request for http://192.168.0.32:8080/rest/items-filtered's Observer 
2021-12-30 07:56:56.648 [WARN ] [org.apache.cxf.transport.servlet.ServletController] - Can't find the request for http://192.168.0.32:8080/rest/items-filtered's Observer 
2021-12-30 07:56:56.713 [WARN ] [org.apache.cxf.transport.servlet.ServletController] - Can't find the request for http://192.168.0.32:8080/rest/items-filtered's Observer 
2021-12-30 07:56:56.721 [WARN ] [org.apache.cxf.transport.servlet.ServletController] - Can't find the request for http://192.168.0.32:8080/rest/items-filtered's Observer 
2021-12-30 07:56:56.781 [WARN ] [org.apache.cxf.transport.servlet.ServletController] - Can't find the request for http://192.168.0.32:8080/rest/items-filtered's Observer 

Is there anyway to set the startup value on this specific binding to 90 or 100?

I’m aware of services.cfg that has the startup priorities for the core of OH 3 but I’m not aware how to set a specific binding to a value.

# Start level definitions
startlevel:20=dsl:items,managed:item,dsl:things,managed:thing,managed:itemchannellink,dsl:persist
startlevel:30=persistence:restore
startlevel:40=dsl:rules,managed:rule,rules:refresh,rules:dslprovider
startlevel:50=ruleengine:start
startlevel:70=dsl:sitemap
startlevel:80=things:handler

Best, Jay

No, there is no way to set when a bidding starts.

You could maybe disable the Thing early in the startup levels and reenable the Thing at level 100 through rules.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.