Just found this binding, been waiting for one for quite some time so huge thanks for working on this!
However, I can’t seem to get my fridge to work - it goes ONLINE and then OFFLINE after a few seconds with the following error in the openhab.log:
2023-09-17 21:37:47.919 [ERROR] [nternal.handler.LGThinQFridgeHandler] - Error updating thing Fridge/a9819ad0-6ba4-11e9-a78d-2c2bf94c177f from LG API. Thing goes OFFLINE until next retry: Error getting monitor data for the device:a9819ad0-6ba4-11e9-a78d-2c2bf94c177f
org.openhab.binding.lgthinq.internal.errors.LGThinqApiException: Error getting monitor data for the device:a9819ad0-6ba4-11e9-a78d-2c2bf94c177f
at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler.getSnapshotDeviceAdapter(LGThinQAbstractDeviceHandler.java:692) ~[?:?]
at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler.updateThingStateFromLG(LGThinQAbstractDeviceHandler.java:465) ~[?:?]
at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler$UpdateThingStateFromLG.run(LGThinQAbstractDeviceHandler.java:458) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 9 out of bounds for length 9
at org.openhab.binding.lgthinq.lgservices.model.DefaultSnapshotBuilder.createFromBinary(DefaultSnapshotBuilder.java:89) ~[?:?]
at org.openhab.binding.lgthinq.lgservices.model.devices.fridge.FridgeSnapshotBuilder.createFromBinary(FridgeSnapshotBuilder.java:41) ~[?:?]
at org.openhab.binding.lgthinq.lgservices.model.devices.fridge.FridgeSnapshotBuilder.createFromBinary(FridgeSnapshotBuilder.java:1) ~[?:?]
at org.openhab.binding.lgthinq.lgservices.model.DefaultSnapshotBuilder.createFromBinary(DefaultSnapshotBuilder.java:1) ~[?:?]
at org.openhab.binding.lgthinq.lgservices.LGThinQAbstractApiClientService.getMonitorData(LGThinQAbstractApiClientService.java:342) ~[?:?]
at org.openhab.binding.lgthinq.lgservices.LGThinQAbstractApiClientService.getMonitorData(LGThinQAbstractApiClientService.java:1) ~[?:?]
at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler.getSnapshotDeviceAdapter(LGThinQAbstractDeviceHandler.java:676) ~[?:?]
... 8 more
The link to the appliance description is: https://eic.lgthinq.com:46030/api/webContents/modelJSON?modelName=2REF12EII_P_2&countryCode=WW&contentsId=JS0903072406417786&authKey=thinq
Datatrace:
{"deviceId":"a9819ad0-6ba4-11e9-a78d-2c2bf94c177f","deviceState":"E","format":"B64","returnCode":"0000","returnData":"AgQIAQICBAAB","stateCode":"S","workId":"n-a9819ad0-6ba4-11e9-a78d-2c2bf94c177f"}
Is there anything I’ve configured wrongly here, or is it not yet supported?
This is on openHAH 4, with the latest JAR file.