argh… I needed to move server once more since my earlier post… forgot to rename the folder, hence indeed the link did not work ![]()
Anyways, fixed it, for me it now works again. I expect no more server moves ![]()
argh… I needed to move server once more since my earlier post… forgot to rename the folder, hence indeed the link did not work ![]()
Anyways, fixed it, for me it now works again. I expect no more server moves ![]()
Hi,
Install does succeed now.
I manually removed the old file from the add-ons folder since it kept loading both versions.
Now the thing stays offline. (before it was handler_factory_not_found)
This is what i get in Karaf now:
openhab> bundle:list | grep Philips
335 │ Waiting │ 80 │ 5.1.0.202508022134 │ openHAB Add-ons :: Bundles :: Philips Air Purifier Binding
openhab>openhab> feature:list | grep coap
openhab-core-io-transport-coap │ 5.0.0 │ x │ Started │ distro-5.0.0 │
openhab-transport-coap │ 5.0.0 │ x │ Started │ distro-5.0.0 │ CoAP Transport
openhab.tp-coap │ 5.0.0 │ x │ Started │ distro-5.0.0 │ Californium CoAP library
openhab>openhab> feature:list | grep transport-upnp
openhab-core-io-transport-upnp │ 5.0.0 │ │ Started │ distro-5.0.0 │
openhab-transport-upnp │ 5.0.0 │ x │ Started │ distro-5.0.0 │ UPnP Transport
openhab>
The Error I see in the logs is:
2025-08-11 09:19:22.813 [ERROR] [org.openhab.binding.philipsair.internal.discovery.PhilipsAirCoapDiscovery ] - bundle org.openhab.binding.philipsair:5.1.0.202508022134 (335)[org.openhab.binding.philipsair.internal.discovery.PhilipsAirCoapDiscovery(483)] : Error during instantiation of the implementation object
java.lang.reflect.InvocationTargetException: null
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.lang.reflect.Constructor.newInstance(Constructor.java:486) ~[?:?]
at org.apache.felix.scr.impl.inject.internal.ComponentConstructorImpl.newInstance(ComponentConstructorImpl.java:326) ~[?:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:286) ~[?:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) ~[?:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1002) ~[?:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:975) ~[?:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:920) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:220) ~[org.eclipse.osgi-3.18.0.jar:?]
at java.security.AccessController.doPrivileged(AccessController.java:319) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:217) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:118) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:48) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:547) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:534) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:660) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:88) ~[?:?]
at org.apache.felix.scr.impl.inject.methods.BindMethod.getServiceObject(BindMethod.java:675) ~[?:?]
at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2612) ~[?:?]
at org.apache.felix.scr.impl.manager.DependencyManager.invokeUnbindMethod(DependencyManager.java:2204) ~[?:?]
at org.apache.felix.scr.impl.manager.SingleComponentManager.invokeUnbindMethod(SingleComponentManager.java:466) ~[?:?]
at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.removedService(DependencyManager.java:398) ~[?:?]
at org.apache.felix.scr.impl.manager.DependencyManager$MultipleDynamicCustomizer.removedService(DependencyManager.java:304) ~[?:?]
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1258) ~[?:?]
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1152) ~[?:?]
at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:1012) ~[?:?]
at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1192) ~[?:?]
at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:116) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:123) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:961) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:937) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:874) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:241) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:952) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:915) ~[?:?]
at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:140) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterService(AbstractComponentManager.java:994) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:844) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:825) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:589) ~[?:?]
at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:722) ~[?:?]
at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:492) ~[?:?]
at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:652) ~[?:?]
at org.apache.felix.scr.impl.Activator.access$300(Activator.java:74) ~[?:?]
at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:490) ~[?:?]
at org.apache.felix.scr.impl.AbstractExtender$1.run(AbstractExtender.java:216) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at org.apache.felix.scr.impl.AbstractExtender.destroyExtension(AbstractExtender.java:238) ~[?:?]
at org.apache.felix.scr.impl.AbstractExtender.bundleChanged(AbstractExtender.java:132) ~[?:?]
at org.apache.felix.scr.impl.Activator.bundleChanged(Activator.java:255) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:949) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:229) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:138) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:130) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:217) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.Module.publishEvent(Module.java:499) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.Module.doStop(Module.java:658) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.Module.stop(Module.java:521) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1888) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1763) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.Module.doStop(Module.java:660) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.Module.stop(Module.java:521) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207) ~[org.eclipse.osgi-3.18.0.jar:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226) ~[org.eclipse.osgi-3.18.0.jar:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.IllegalStateException: Configuration contains no definitions!
at org.eclipse.californium.elements.config.Configuration.add(Configuration.java:802) ~[?:?]
at org.eclipse.californium.elements.config.Configuration.load(Configuration.java:772) ~[?:?]
at org.eclipse.californium.elements.config.Configuration.load(Configuration.java:738) ~[?:?]
at org.eclipse.californium.elements.config.Configuration.createWithFile(Configuration.java:628) ~[?:?]
at org.eclipse.californium.elements.config.Configuration.createStandardWithFile(Configuration.java:588) ~[?:?]
at org.eclipse.californium.elements.config.Configuration.getStandard(Configuration.java:458) ~[?:?]
at org.openhab.binding.philipsair.internal.discovery.PhilipsAirCoapDiscovery.(PhilipsAirCoapDiscovery.java:85) ~[?:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
… 72 more
2025-08-11 09:19:22.820 [WARN ] [org.openhab.core.config.discovery.internal.DiscoveryServiceRegistryImpl ] - bundle org.openhab.core.config.discovery:5.0.0 (169)[org.openhab.core.config.discovery.internal.DiscoveryServiceRegistryImpl(142)] : Could not get service from ref {org.openhab.core.config.discovery.DiscoveryService}={service.id=1034, service.bundleid=335, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.philipsair.internal.discovery.PhilipsAirCoapDiscovery, component.id=483}
2025-08-11 09:19:22.820 [WARN ] [org.openhab.core.config.discovery.internal.DiscoveryServiceRegistryImpl ] - bundle org.openhab.core.config.discovery:5.0.0 (169)[org.openhab.core.config.discovery.internal.DiscoveryServiceRegistryImpl(142)] : DependencyManager : invokeUnbindMethod : Service not available from service registry for ServiceReference {org.openhab.core.config.discovery.DiscoveryService}={service.id=1034, service.bundleid=335, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.philipsair.internal.discovery.PhilipsAirCoapDiscovery, component.id=483} for reference DiscoveryService
Do you have any idea what’s still missing?
no idea, but I’m back from my holidays, so I can run the code and see the results on my side.
Maybe some other things changed in the 5.0 version (beside the change that made coap code incompatible)
Quick update. I managed to get the binding running again on OH 5 here on my local client.
The bad news is that with the update to coap v4 something is not compatible anymore.
Possibly this is due to a issue I worked around: ignoring ACK, possible MID reuse before lifetime end for token - prevents communication with my device · Issue #1600 · eclipse-californium/californium · GitHub
Anyway.. prob will take some time to get resolved as it is not a simple recompile
I’m glad the update is in the works. I went back to OH version 4.3.6 because of Philips Air
Hi,
I have somewhat got it working again. Openhab R5 introduced a new version of the coap library used ‘Californium’ which is much more strict and reject some (all?) of the messages send by the devices.
This build works around this and should work again.
Note: It contains still quite some addional debug messages.
Please test and let me know if it is working for you now.
https://verpaalen.com/openhab/org.openhab.binding.philipsair-5.1.0-SNAPSHOT.jar
The binding seems to be working. Good job. ![]()
I still have one wish, the parameters (Humidity Setpoint, Humidity, Temperature, Water Level) are missing for the coap version.
Hi Marcel, i just installed your new version and i works fine now.
The missing parameters interest me too, especially humidity.
But i guess if you device doesn’t support those it’s probably hard to implement them…
Anyway, Thanx for the update…
Indeed, the binding is not really created by me, instead by @michalboronski, I just made added the changes to make it work with my specific setup. As he appears no longer on he forum, this makes it tricky to ever push this binding to be in the ‘ official’ openhab repository.
Anyway, what you can do is to provide a debug log of the responses you receive, as then we can see how this is communicated and possibly add it later. Or you give it an attempt to add it yourself.
The code of this latest version is here:
Hi, inside debug log I see all missing parameters
Yes, if you can paste the response, maybe when time permits we can implement this
Ok, I’ll send it when I’m at the computer this evening. I’m not at home right now.
2025-09-06 18:46:53.192 [INFO ] [nnection.PhilipsAirCoapAPIConnection] - Response {“name”:“Ložnice”,“type”:“AC3829”,“modelid”:“AC3829/50”,“MCUBoot”:true,“swversion”:“1.4.0”,“DeviceVersion”:“1.4.0”,“range”:“Mario”,“Runtime”:11419203,“rssi”:-54,“otacheck”:false,“wifilog”:false,“free_memory”:45928,“WifiVersion”:“AWS_Philips_AIR@91.1”,“ProductId”:“96cc4f94e1f911eabc6802024953075e”,“DeviceId”:“cd444d6c82af11ecb60cbed0a75382f3”,“StatusType”:“status”,“ConnectType”:“Online”,“om”:“s”,“pwr”:“1”,“cl”:false,“aqil”:0,“uil”:“0”,“dt”:0,“dtrs”:0,“mode”:“P”,“func”:“PH”,“rhset”:50,“rh”:54,“temp”:28,“pm25”:2,“iaql”:1,“aqit”:7,“aqit_ext”:0,“ddp”:“1”,“rddp”:“0”,“err”:0,“wl”:100,“fltt1”:“A3”,“fltt2”:“C7”,“fltsts0”:283,“fltsts1”:1449,“fltsts2”:1449,“wicksts”:1449}
‘om’: ‘1’ fan speed 1/2/3/S
‘pwr’: ‘1’ 1=is powered on
‘cl’: False True=is locked
‘aqil’: 0 brightness (indicator)
‘uil’: ‘0’ 1=is display on (values)
‘dt’: 0, ?
‘dtrs’: 0 timer
‘mode’: ‘P’ P/A/S mode Auto/Alergen/Silent
‘func’: ‘PH’ H=humidifier enabled
‘rhset’: 60 desired humidity
‘rh’: 49 humidity
‘temp’: 23 temperature
‘pm25’: 1 pm25 level
‘iaql’: 1 alergen index
‘aqit’: 7, Air quality notification threshold: 7
‘ddp’: ‘1’ display mode
‘rddp’: ‘3’, ?
‘err’: 0 error code
‘wl’: 100 water level
I installed the latest binding (https://verpaalen.com/openhab/org.openhab.binding.philipsair-5.1.0-SNAPSHOT.jar) on my OH 5.0.1 version. Its listed as Active with bundles:list.Both coap and transport-upnp features are there. The binding does not show up in OH and no error message in the logs. Any idea what’s going on?
Thanks!
no, not really.
the binding is very prominent in the logs as soon as it is running.
Best to try bundle:list | grep Philips you get something like:
357 │ Active │ 80 │ 5.1.0.202601021745 │ openHAB Add-ons :: Bundles :: Philips Air Purifier
The do a bundle:restart 357 (replace the number with the number in your line)
then check the log for issues
Hi Marcel,
thanks for your reply and HNY!
I tried again but still don’t get the binding to work. I see a few error and warning messages in openhab.log which make me believe there is a conflict with the Shelly binding, no?
2026-01-03 11:52:17.670 [WARN ] [ax.web.service.spi.model.ServerModel] - ServletModel{id=ServletModel-54,name='cxf-servlet',urlPatterns=[/*],contexts=[{WB,OCM-1,default,/}]} can't be registered now in context / under "/*" mapping. Conflict with ServletModel{id=ServletModel-31,name='/',urlPatterns=[/*],contexts=[{WB,OCM-1,default,/}]}.
2026-01-03 11:52:17.670 [WARN ] [ax.web.service.spi.model.ServerModel] - Skipped registration of ServletModel{id=ServletModel-54,name='cxf-servlet',urlPatterns=[/*],contexts=[{WB,OCM-1,default,/}]} because of existing mappings. Servlet will be added as "awaiting registration".
2026-01-03 11:52:20.900 [ERROR] [shelly.internal.ShellyHandlerFactory] - bundle org.openhab.binding.shelly:5.1.0.M3 (357)[org.openhab.binding.shelly.internal.ShellyHandlerFactory(600)] : Error during instantiation of the implementation object
java.lang.IllegalArgumentException: argument type mismatch
--
at java.lang.Class.cast(Class.java:4069) ~[?:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
... 78 more
2026-01-03 11:52:20.912 [WARN ] [g.discovery.internal.PersistentInbox] - bundle org.openhab.core.config.discovery:5.1.0.M3 (170)[org.openhab.core.config.discovery.internal.PersistentInbox(147)] : Could not get service from ref {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600}
2026-01-03 11:52:20.912 [WARN ] [g.discovery.internal.PersistentInbox] - bundle org.openhab.core.config.discovery:5.1.0.M3 (170)[org.openhab.core.config.discovery.internal.PersistentInbox(147)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600} for reference ThingHandlerFactory
2026-01-03 11:52:20.913 [ERROR] [shelly.internal.ShellyHandlerFactory] - bundle org.openhab.binding.shelly:5.1.0.M3 (357)[org.openhab.binding.shelly.internal.ShellyHandlerFactory(600)] : Error during instantiation of the implementation object
java.lang.IllegalArgumentException: argument type mismatch
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:65) ~[?:?]
--
at java.lang.Class.cast(Class.java:4069) ~[?:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
... 78 more
2026-01-03 11:52:20.921 [WARN ] [.thing.internal.GenericThingProvider] - bundle org.openhab.core.model.thing:5.1.0.M3 (216)[org.openhab.core.model.thing.internal.GenericThingProvider(259)] : Could not get service from ref {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600}
2026-01-03 11:52:20.922 [WARN ] [.thing.internal.GenericThingProvider] - bundle org.openhab.core.model.thing:5.1.0.M3 (216)[org.openhab.core.model.thing.internal.GenericThingProvider(259)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600} for reference ThingHandlerFactory
2026-01-03 11:52:20.922 [ERROR] [shelly.internal.ShellyHandlerFactory] - bundle org.openhab.binding.shelly:5.1.0.M3 (357)[org.openhab.binding.shelly.internal.ShellyHandlerFactory(600)] : Error during instantiation of the implementation object
java.lang.IllegalArgumentException: argument type mismatch
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:65) ~[?:?]
--
at java.lang.Class.cast(Class.java:4069) ~[?:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
... 78 more
2026-01-03 11:52:20.930 [WARN ] [ml.internal.things.YamlThingProvider] - bundle org.openhab.core.model.yaml:5.1.0.M3 (219)[org.openhab.core.model.yaml.internal.things.YamlThingProvider(268)] : Could not get service from ref {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600}
2026-01-03 11:52:20.930 [WARN ] [ml.internal.things.YamlThingProvider] - bundle org.openhab.core.model.yaml:5.1.0.M3 (219)[org.openhab.core.model.yaml.internal.things.YamlThingProvider(268)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600} for reference ThingHandlerFactory
2026-01-03 11:52:20.931 [ERROR] [shelly.internal.ShellyHandlerFactory] - bundle org.openhab.binding.shelly:5.1.0.M3 (357)[org.openhab.binding.shelly.internal.ShellyHandlerFactory(600)] : Error during instantiation of the implementation object
java.lang.IllegalArgumentException: argument type mismatch
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:65) ~[?:?]
--
at java.lang.Class.cast(Class.java:4069) ~[?:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
... 78 more
2026-01-03 11:52:20.938 [WARN ] [core.thing.internal.ThingManagerImpl] - bundle org.openhab.core.thing:5.1.0.M3 (223)[org.openhab.core.thing.internal.ThingManagerImpl(297)] : Could not get service from ref {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600}
2026-01-03 11:52:20.939 [WARN ] [core.thing.internal.ThingManagerImpl] - bundle org.openhab.core.thing:5.1.0.M3 (223)[org.openhab.core.thing.internal.ThingManagerImpl(297)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600} for reference ThingHandlerFactory
2026-01-03 11:52:20.939 [ERROR] [shelly.internal.ShellyHandlerFactory] - bundle org.openhab.binding.shelly:5.1.0.M3 (357)[org.openhab.binding.shelly.internal.ShellyHandlerFactory(600)] : Error during instantiation of the implementation object
java.lang.IllegalArgumentException: argument type mismatch
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:65) ~[?:?]
--
at java.lang.Class.cast(Class.java:4069) ~[?:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
... 78 more
2026-01-03 11:52:20.947 [WARN ] [ore.thing.internal.ThingRegistryImpl] - bundle org.openhab.core.thing:5.1.0.M3 (223)[org.openhab.core.thing.internal.ThingRegistryImpl(298)] : Could not get service from ref {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600}
2026-01-03 11:52:20.947 [WARN ] [ore.thing.internal.ThingRegistryImpl] - bundle org.openhab.core.thing:5.1.0.M3 (223)[org.openhab.core.thing.internal.ThingRegistryImpl(298)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.thing.binding.ThingHandlerFactory, org.openhab.binding.shelly.internal.ShellyHandlerFactory}={service.id=3200, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.ShellyHandlerFactory, component.id=600} for reference ThingHandlerFactory
2026-01-03 11:52:20.950 [ERROR] [elly.internal.api.ShellyEventServlet] - bundle org.openhab.binding.shelly:5.1.0.M3 (357)[org.openhab.binding.shelly.internal.api.ShellyEventServlet(601)] : Error during instantiation of the implementation object
java.lang.IllegalArgumentException: argument type mismatch
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:65) ~[?:?]
--
at java.lang.Class.cast(Class.java:4069) ~[?:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
... 78 more
2026-01-03 11:52:20.976 [WARN ] [y.mdns.internal.MDNSDiscoveryService] - bundle org.openhab.core.config.discovery.mdns:5.1.0.M3 (173)[org.openhab.core.config.discovery.mdns.internal.MDNSDiscoveryService(152)] : Could not get service from ref {org.openhab.core.config.discovery.mdns.MDNSDiscoveryParticipant}={service.id=3202, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.discovery.ShellyMDNSDiscoveryParticipant, component.id=602}
2026-01-03 11:52:20.976 [WARN ] [y.mdns.internal.MDNSDiscoveryService] - bundle org.openhab.core.config.discovery.mdns:5.1.0.M3 (173)[org.openhab.core.config.discovery.mdns.internal.MDNSDiscoveryService(152)] : DependencyManager : invokeBindMethod : Service not available from service registry for ServiceReference {org.openhab.core.config.discovery.mdns.MDNSDiscoveryParticipant}={service.id=3202, service.bundleid=357, service.scope=bundle, osgi.ds.satisfying.condition.target=(osgi.condition.id=true), component.name=org.openhab.binding.shelly.internal.discovery.ShellyMDNSDiscoveryParticipant, component.id=602} for reference MDNSDiscoveryParticipant
2026-01-03 11:52:20.990 [ERROR] [nternal.manager.ShellyManagerServlet] - bundle org.openhab.binding.shelly:5.1.0.M3 (357)[org.openhab.binding.shelly.internal.manager.ShellyManagerServlet(604)] : Error during instantiation of the implementation object
java.lang.IllegalArgumentException: argument type mismatch
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:65) ~[?:?]
--
at java.lang.Class.cast(Class.java:4069) ~[?:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
... 73 more
2026-01-03 11:52:21.003 [WARN ] [ax.web.service.spi.model.ServerModel] - ServletModel{id=ServletModel-68,name='/shelly/manager',urlPatterns=[/shelly/manager/*],contexts=[{WB,OCM-1,default,/}]} can't be registered now in context / under "/shelly/manager/*" mapping. Conflict with ServletModel{id=ServletModel-52,name='/shelly/manager',urlPatterns=[/shelly/manager/*],contexts=[{WB,OCM-1,default,/}]}.
2026-01-03 11:52:21.004 [WARN ] [ax.web.service.spi.model.ServerModel] - Skipped registration of ServletModel{id=ServletModel-68,name='/shelly/manager',urlPatterns=[/shelly/manager/*],contexts=[{WB,OCM-1,default,/}]} because of existing mappings. Servlet will be added as "awaiting registration".
2026-01-03 11:52:29.061 [WARN ] [ax.web.service.spi.model.ServerModel] - ServletModel{id=ServletModel-70,name='cxf-servlet',urlPatterns=[/*],contexts=[{WB,OCM-1,default,/}]} can't be registered now in context / under "/*" mapping. Conflict with ServletModel{id=ServletModel-31,name='/',urlPatterns=[/*],contexts=[{WB,OCM-1,default,/}]}.
2026-01-03 11:52:29.061 [WARN ] [ax.web.service.spi.model.ServerModel] - Skipped registration of ServletModel{id=ServletModel-70,name='cxf-servlet',urlPatterns=[/*],contexts=[{WB,OCM-1,default,/}]} because of existing mappings. Servlet will be added as "awaiting registration".
There is no message from the binding even with log level DEBUG.
what do you see when you execute
bundle:list | grep Philips
what is the state of the vinding , is it active? Or if nothing is there, openhab does not think it is installed..
Dunno about the shelly binding. In the log I don’t see anything about the philipsair.
Hi Marcel,
the jar file that gets downloaded from https://verpaalen.com/openhab/org.openhab.binding.philipsair-5.1.0-SNAPSHOT.jar is from August 15th 2025 with file size of ~66k. Is that the most recent version?
Once installed I can see it with bundle:list in state Installed. Then I do bundle:start it changes to Active. But there is no message in the logs.
Thanks