Contribution - LG Thinq [WasherDryer & DishWasher]

Now I get the error already when I turn on the washing machine:

2023-04-13 22:55:11.204 [ERROR] [al.handler.LGThinQWasherDryerHandler] - System error in pooling thread (UpdateDevice) for device LG Waschi/df859ecc-64d7-1fe2-bca0-4cbce9d99ee3. Filtering to do not stop the thread

java.lang.StringIndexOutOfBoundsException: begin 0, end 10, length 5

at java.lang.String.checkBoundsBeginEnd( ~[?:?]

at java.lang.String.substring( ~[?:?]

at org.openhab.core.library.types.DateTimeType.( ~[bundleFile:?]

at org.openhab.binding.lgthinq.internal.handler.LGThinQWasherDryerHandler.updateDeviceChannels( ~[bundleFile:?]

at org.openhab.binding.lgthinq.internal.handler.LGThinQWasherDryerHandler.updateDeviceChannels( ~[bundleFile:?]

at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler.updateThingStateFromLG( [bundleFile:?]

at org.openhab.binding.lgthinq.internal.handler.LGThinQAbstractDeviceHandler$ [bundleFile:?]

at java.util.concurrent.Executors$ [?:?]

at java.util.concurrent.FutureTask.runAndReset( [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ [?:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]

at java.util.concurrent.ThreadPoolExecutor$ [?:?]

at [?:?]

Let’s see how it behaves with the new version.

I am interested in implementing the Thinq binding. I have read thru the posts and looked at the code on GitHub. It’s not clear to me where to find the binding to load.

Please provide some clues about where I can locate the addon.

Much appreciated.

Here is the latest build of Nemer’s binding for LG ThinQ devices.

Thanks for the guidance. I’ve implemented the binding, and all seems to be working. I have an LG washer and am only interested in reporting the status and time left. Very handy.

I really appreciate the work done on this binding. I hope someday soon it becomes an official openhab binding.


I just installed the binding and tried adding the bridge. I get this error:

2023-05-03 19:28:37.854 [ERROR] [internal.api.OauthLgEmpAuthenticator] - Error login into account. The reason is:{
“error” : {
“request” : “/emp/v2.0/account/session/”,
“code” : “MS.001.03”,
“message” : “CA”

I tried changing the country to be sure its not that (I’m in Canada) but when I put something else then USA, I get precondition error thus it’s not that.

If I change username, I get wrong username error. Thus what is “CA” error?

Thank you!

OK… when you created your account on LG Thinq Portal, what country and language you choose ?

This error message says your account is from CA (Canada) and than… you have to registry your language as you choose in the LG Account Portal, you can’t choose a language that is not official in your country and is not associated with your account. Than… in your case can be FR or EN.
So… in the Bridge configuration, you mas choose User Country->Other and put “CA” in Manual Contry and in the User Language->Other and put “FR” or “EN” in Manual Language based on the language you associate your account. That… can be something like this:

Ah, CA was the problem. Funny thing is if I put something else then US, it throw another error totally, that’s why I though it wasn’t that. And when I tried, I put Canada instead of CA. Didn’t need to put FR since it’s in english.

To be honest, my account was created over a year ago from the apps, so I really don’t know what were the option and the apps doesn’t show me anything beside language thus I didn’t knew what region I had (and when Canada isn’t in the option, I put USA). I never been to the LG Account Portal, was create through the android app for my washer.

American English did work for language, bridge is now online. Maybe we could add Canada in the list?

Thank you!


1 Like

Hello again,

I’m having some weird stuff on my washer (I’ll check dryer later). Here’s my sitemap:

Default item=Laveuse_Power label="Power"
                Text item=Laveuse_Washer_State label="Washer State"
                Selection item=Laveuse_Washer_Course label="Cycle"
                Default item=Laveuse_Remaining_Time label="Temps Restant"
                Selection item=Laveuse_Temperature_Level label="Temperature"
                Selection item=Laveuse_Spin label="Spin"
                Selection item=Laveuse_Rinse label="Rinse"
                Text item=Laveuse_Standby_Mode label="Standby Mode"
                Default item=Laveuse_Remote_Start label="Remote Start"
                Default item=Laveuse_Delay_Time label="Délais"
                Default item=Laveuse_Washer_Door_Lock label="Door Lock"

Items are defined in the gui from the thing directly

When I’m on my phone, I see this:

Rinse doesn’t seems to want to appear as a select box.
The content of Cycle, Spin and Temperature are weird and include foreign language (that I’m probably sure don’t even work with mine since I don’t see them in the app, unless this include also downloadable one?)

modelid: F3P3CYK2_

edit: I also found this in the log when starting openhab

[WARN ] [dryer.WasherDryerCapabilityFactoryV2] - Data node not found in the WasherDryer definition. It's most likely a bug

Hi guys, I uploaded a new version of the binding with the following new features for WM/Dryer

  • Dynamic features (channels) for WM/Dryer remote start: when you configure the course and enable remote start (with standby off), the a Group called (Remote Start) will come up with the parameterized features (rinse, spin, temperature, etc) depending on the Course capability defined and supported by the device.
  • To start the WM in remote start function, just put in ON the Remote Start/Stop switch
  • Fixed support for custom Zoned Date/Time. For some cases, in some countries/languages, OH can’t parse the date/time for the binding that couses erros to present Remaining and Delay time.

OBS: The remote start for VW/Dryer V1 was not implemented yet. It’s a little more complicated because needs to create a bitmap to send. It’s a TODO for now.

1 Like

Strange results.Can you update the binding with the latest version from my github space ? Than after, put the binding in debug mode and collect the following files to me:

  • OH3_USERDATA/thinq/thinq-*-cap.json
  • OH3_USERDATA/thinq/thinq-*-datatrace.json

Than I can simulate here.


do I need to delete the thing and remove the current binding before installing the new version?
And, how do I put in debug?

This new binding has some considered changes in the WM definitions, channels, etc. Then, it’s a good approach to unlink and remove the items and complete delete the thing. Then install the new binding and discovery again the Thing.
To put the binding in debug mode, first you need to log into openhab console. To do so, go to the OH server and type:

$ openhab-cli console

Then it will ask you about the password of openhab user, normally is “habopen”
So, logged in the console, type the command:

log:set DEBUG org.openhab.binding.lgthinq

Thats it.

You can follow the log in the console as well (I prefer when I’m debuging the code) with the command:


got it, here are the files
thinq-606aba23-6dd3-1b7f-addb-24e853e73887-datatrace.json (2.6 KB)
thinq-0d689db0-f5a3-10c2-9665-24e853c95ab2-cap.json (92.4 KB)
thinq-0d689db0-f5a3-10c2-9665-24e853c95ab2-datatrace.json (4.0 KB)
thinq-606aba23-6dd3-1b7f-addb-24e853e73887-cap.json (60.9 KB)

weird is the .cap file are dated on may 3rd while the other are 12th (today).

I installer the new binding with restart and all, now the ui show the rinse cycle, but all selection box are empty.
But as soon as I restarted, it got back to the screenshot above. Could it be due to persistence? I’ll try to disable influxdb on these values.

edit: tried without persistance and samething after reboot

The first cap is about a Washer, and the second one, a Dryer. Do you have these 2 devices or it’s a WashTower ? Can you provide me the comercial name of the product ? Because, the description files are quite different comparing to what the Binding is expecting.

It is 2 seperate device.

Dryer model: DLEX4200B Washer model: WM4100HBA
dryer: 7.4 cu. ft. Capacity Gas Dryer
washer: LG 5.2 cu.ft. Ultra Large Capacity Front Load Washer with AI DD™ | LG Canada

Updated to the latest vercion and something is wrong,washer,dryer and refrigerator seems online but no state updates…

@Nodiaque, your devices has different schema descriptions. I did an update and hope you can see the channels better right now. Please, update your addon with the latest from my repository and let me know

Very strange… I recommend you to get the latest version, with some bug fixes and complete remove and reinstall the LgThinq thing & items associated. (the bridge is not necessary)

OBS: It’s always a good practice to make a security backup before update the binding, because it’s still WIP.

Hi @nemer , do you plan to deliver a v4.0 of this binding ?