LG ThinQ Binding - does not work as expceted with a LG dryer

I have the LG ThinQ Binding 5.01 installed with OH 5.01 (Windows) which I would like to connect with an LG dryer. The LG Gateway is working and ON

LINE. But after I added the dryer it gives me an error (HANDLER_INITIALIZING_ERROR - URI is not absolute) In detail:

[ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while initializing handler of thing ‘lgthinq:dryer-202:1cc43d8bd8’: URI is not absolute
java.lang.IllegalArgumentException: URI is not absolute
at java.net.URL.of(URL.java:862) ~[?:?]
at java.net.URI.toURL(URI.java:1172) ~[?:?]
at org.openhab.binding.lgthinq.lgservices.LGThinQAbstractApiClientService.loadDeviceCapability(LGThinQAbstractApiClientService.java:185) ~[?:?]
at org.openhab.binding.lgthinq.lgservices.LGThinQAbstractApiClientService.getCapability(LGThinQAbstractApiClientService.java:324) ~[?:?]
at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler.getCapabilities(LGThinQAbstractDeviceHandler.java:325) ~[?:?]
at org.openhab.binding.lgthinq.internal.handler.LGThinQWasherDryerHandler.updateChannelDynStateDescription(LGThinQWasherDryerHandler.java:131) ~[?:?]
at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler.initializeThing(LGThinQAbstractDeviceHandler.java:376) ~[?:?]
at org.openhab.binding.lgthinq.internal.handler.LGThinQWasherDryerHandler.initializeThing(LGThinQWasherDryerHandler.java:116) ~[?:?]
at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler.initialize(LGThinQAbstractDeviceHandler.java:364) ~[?:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:149) ~[?:?]
at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]

The LG app on the smartphone workes perfectly with the LG dryer. Why there is such errror?
Thanks in advance

This error is not limited to the dryer, I see the same with our washer…

@nemer Could you please check…..

This problem seams to be related to the discovery process. For some reason, the properties of your device can’t found in the LG API. I can’t reproduce in my lab and maybe need you some help to reproduce.

I’m preparing a version of the binding with some more debug information to confirm this suspect, and send to you to get more information. Is it ok to you ?

2 Likes

@nemer Do you have already a (new) binding for some more debug information ready?

Thanks