Hello,
I am trying to update the code for the broadlink addin from @themillhousegroup. The idea is to have it running on OH 3.4.x so we can then make a PR and add it to the code.
I have managed to compile this code under the 3.4.x branch, and that is good news.
The bad news is that when trying to test it, the addin is detected by my openhab installation (3.4.1) but it does not show up on the web interface. I set the log level to debug on karaf, and can see the following:
18:43:46.298 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory] : BundleComponentActivator : ComponentHolder created.
18:43:46.308 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService] : BundleComponentActivator : ComponentHolder created.
18:43:46.320 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory] : Component created: DS=DS13, implementation=org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory, immediate=true, default-enabled=true, factory=null, configuration-policy=optional, activate=activate, deactivate=deactivate, modified=null configuration-pid=[binding.broadlink]
18:43:46.326 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory] : Component Services: scope=singleton, services=[org.openhab.core.thing.binding.ThingHandlerFactory]
18:43:46.339 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory] : Component Properties: {}
18:43:46.345 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory] : Querying state disabled
18:43:46.351 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory] : Querying state disabled
18:43:46.358 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory] : Component can not be activated since it is in state disabled
18:43:46.364 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory] : Querying state disabled
18:43:46.371 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Updating target filters
18:43:46.378 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Changed state from disabled to unsatisfiedReference
18:43:46.384 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Component enabled
18:43:46.390 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : ActivateInternal
18:43:46.397 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Querying state unsatisfiedReference
18:43:46.403 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Querying state unsatisfiedReference
18:43:46.409 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Activating component from state unsatisfiedReference
18:43:46.415 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Querying state unsatisfiedReference
18:43:46.422 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Querying state unsatisfiedReference
18:43:46.428 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Changed state from unsatisfiedReference to satisfied
18:43:46.435 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : registration change queue [registered]
18:43:46.466 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Checking constructor public org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory()
18:43:46.473 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Found constructor with 0 arguments : public org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory()
18:43:46.480 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : This thread collected dependencies
18:43:46.487 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : getService (single component manager) dependencies collected.
18:43:46.495 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Querying state satisfied
18:43:46.501 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Querying state satisfied
18:43:46.509 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : getting activate: activate
18:43:46.517 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Locating method activate in class org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory
18:43:46.525 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Declared Method org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory.activate([interface org.osgi.service.component.ComponentContext]) not found
18:43:46.532 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Locating method activate in class org.openhab.core.thing.binding.BaseThingHandlerFactory
18:43:46.541 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Found activate method: protected void org.openhab.core.thing.binding.BaseThingHandlerFactory.activate(org.osgi.service.component.ComponentContext)
18:43:46.548 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : invoking activate: activate: parameters [org.apache.felix.scr.impl.manager.ComponentContextImpl]
18:43:46.557 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : invoked activate: activate
18:43:46.565 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Set implementation object for component
18:43:46.573 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Changed state from satisfied to active
18:43:46.584 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService] : Component created: DS=DS13, implementation=org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService, immediate=true, default-enabled=true, factory=null, configuration-policy=optional, activate=activate, deactivate=deactivate, modified=null configuration-pid=[discovery.broadlink]
18:43:46.592 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService] : Component Services: scope=singleton, services=[org.openhab.core.config.discovery.DiscoveryService]
18:43:46.599 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService] : Component Properties: {}
18:43:46.606 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService] : Querying state disabled
18:43:46.615 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService] : Querying state disabled
18:43:46.621 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService] : Component can not be activated since it is in state disabled
18:43:46.629 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService] : Querying state disabled
18:43:46.635 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Updating target filters
18:43:46.643 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Changed state from disabled to unsatisfiedReference
18:43:46.649 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Component enabled
18:43:46.657 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : ActivateInternal
18:43:46.663 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Querying state unsatisfiedReference
18:43:46.670 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Querying state unsatisfiedReference
18:43:46.678 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Activating component from state unsatisfiedReference
18:43:46.684 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Querying state unsatisfiedReference
18:43:46.691 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Querying state unsatisfiedReference
18:43:46.698 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Changed state from unsatisfiedReference to satisfied
18:43:46.705 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : registration change queue [registered]
18:43:46.721 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Checking constructor public org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService()
18:43:46.730 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Found constructor with 0 arguments : public org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService()
18:43:46.736 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : This thread collected dependencies
18:43:46.744 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : getService (single component manager) dependencies collected.
18:43:46.751 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Querying state satisfied
18:43:46.758 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Querying state satisfied
18:43:46.766 [INFO ] [l.discovery.BroadlinkDiscoveryService] - BroadlinkDiscoveryService - Constructed
18:43:46.774 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : getting activate: activate
18:43:46.781 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Locating method activate in class org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService
18:43:46.789 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Declared Method org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService.activate([interface org.osgi.service.component.ComponentContext]) not found
18:43:46.795 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Locating method activate in class org.openhab.core.config.discovery.AbstractDiscoveryService
18:43:46.804 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Declared Method org.openhab.core.config.discovery.AbstractDiscoveryService.activate([interface org.osgi.service.component.ComponentContext]) not found
18:43:46.811 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Found activate method: protected void org.openhab.core.config.discovery.AbstractDiscoveryService.activate(java.util.Map)
18:43:46.820 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : invoking activate: activate: parameters [org.apache.felix.scr.impl.helper.ReadOnlyDictionary]
18:43:46.827 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : invoked activate: activate
18:43:46.834 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Set implementation object for component
18:43:46.841 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Changed state from satisfied to active
18:43:50.636 [DEBUG] [l.discovery.BroadlinkDiscoveryService] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.discovery.BroadlinkDiscoveryService(520)] : Querying state active
18:43:50.645 [DEBUG] [link.internal.BroadlinkHandlerFactory] - bundle org.openhab.binding.broadlink:3.4.3.202303022236 (378)[org.openhab.binding.broadlink.internal.BroadlinkHandlerFactory(519)] : Querying state active
Does anyone that is more familiar with the addin system see something obvious on why the addin does not show up in my OpenHAB interface? I remember being able to compile and run this on 3.2.x without issues.
Thanks!