Contribution - LG ThinQ Binding

Hi all,

LG recently changed its login API. Because of that, new LG ThinQ bridges cannot log in anymore. The same happens to existing bridges as soon as they need a fresh login, for example after a configuration change. Bridges that are already online keep working for now.

I’ve submitted the fix, plus several device fixes, to the official repository. Until the maintainers review and merge it, you can use the test builds below.

What’s fixed

  • Bridge login: works again after LG’s API change (#22163, PR #22164).
  • Dishwasher (#19726):
    • the Thing no longer fails on start;
    • binary data is decoded correctly;
    • power follows the real state;
    • door-lock is filled.
  • ThinQ V1 devices: a Thing no longer goes OFFLINE with “Exhausted trying to get monitor data” when the device sends no data for a while.
  • Washer/dryer:
    • process-state now shows the running process;
    • a new previous-state channel is added automatically to existing Things;
    • state labels are fixed.
  • Air conditioner: auto-dry state and command are fixed.
  • Heat pump: ThinQ V1 heat pumps no longer fail when their capabilities are loaded.
  • United Kingdom: the country is now sent as GB instead of UK, which LG rejected. Existing configurations are converted automatically.
  • Connections: more robust TLS handshake with some LG servers.

The full list is in PR #22165.

Which file to download

All files are at GitHub - nemerdaud/openhab-thinq-stuff: Some distribution binary, files and docs. · GitHub. They contain the same fixes, built for each openHAB line:

Your openHAB version Download
5.2.x (current stable) and 5.3.0.M1–M3 org.openhab.binding.lgthinq-5.2.4-SNAPSHOT.jar
5.3.0 snapshots built after 28 Oct 2026 org.openhab.binding.lgthinq-5.3.0-SNAPSHOT.jar
5.1.x org.openhab.binding.lgthinq-5.1.5-SNAPSHOT.jar

If you are not sure, check Help & About in the UI and use the 5.2.4 file if your version is 5.2.x or a 5.3 milestone. Ignore the older JARs in that repository.

How to install

  1. Uninstall the official binding, if it is installed: Settings → Add-ons → LG ThinQ → Uninstall. Your Bridge, Things and Items are kept; they will be offline until the new JAR is loaded.

  2. Copy the JAR into the addons folder:

    • openHABian / apt / rpm: /usr/share/openhab/addons/
    • Docker: the volume mapped to /openhab/addons
    • manual installation: <openHAB folder>/addons/
  3. Wait a minute and check that the bundle is active. In the Karaf console (openhab-cli console) run:

    bundle:list | grep -i thinq
    
    

    The state should be Active.

  4. If your bridge was offline because of the login problem, disable and re-enable the Bridge. If it still fails, delete and recreate it. Your Things and Items stay as they are.

  5. To go back: delete the JAR from addons and reinstall the official binding.

The 5.1 file was built and unit tested, but I could not test it on a running 5.1 system.

Feedback

Please report your results here or in the issues above. Tell me your openHAB version, device type and model, and whether it is ThinQ V1 or V2. If something goes wrong, a TRACE log helps a lot:

log:set TRACE org.openhab.binding.lgthinq

You can turn it back off with log:set INFO org.openhab.binding.lgthinq.

Thanks to everyone who reported problems and sent logs!

@nemer I have a large system with 84 Things and quite complicated structure under OH 4.1.2 + Home Dashbord. It would take me a month to update to 5.x,
I have used chatGPT to fix old 4.2.0.jar file - I have got a new one which works for me - I am so surprised - it took me 5 minutes.

Anyway. Thank you for continuous binding updating. There are several changes form 4.2.0 to 5.x apart from new login approach. Maybe I will move to OH 5.x one day.

I’m still a bit old-school. I use AI as an assistant, but I prefer to stay in the driver’s seat when it comes to making decisions, so things don’t always happen quite as fast.

That said, you have something I don’t: an OH 4.x environment, which is exactly what’s holding me back from backporting the bug fix.

Glad it worked for you, though! I’d strongly recommend planning your migration to 5.x carefully, but sooner rather than later, as things are only going to get trickier from here.

Hello,

I’m on openhab 5.2.3 running on a raspberry pi, after i use org.openhab.binding.lgthinq-5.2.4-SNAPSHOT.jar all errors regarding API connection are gone, now everything is working perfect for an LG Fridge (platformType: thinq2).

Thank you Nemer!

Hi @nemer

any fix is applied for air flow direction issue i reported above in the above jars?

Thanks!

What could be the reason for the remaining time to include only minutes, no hours? I have an LG F4X9009TWCE washer which works fine with this binding now, but shows only remaining minutes:

(this widget only displays the string item that contains this “00:65”)

Thanks for the report. The “00:65” string is actually produced by the binding, not your widget. The LG API delivers remaining time as two separate fields (remainTimeHour / remainTimeMinute), and the binding simply formats them as HH:MM. It looks like your F4X9009TWCE reports the whole remaining time in the minutes field (hour = 0, minute = 65) instead of splitting it as the capability declares (minutes 0–59). I’ll normalize this in the binding so it shows 01:05.

To confirm, could you set the org.openhab.binding.lgthinq logger to DEBUG during a wash cycle and send me the file $OPENHAB_USERDATA/thinq/thinq-<deviceId>-datatrace.json (and the matching thinq-<deviceId>-cap.json if present)? Please check that it contains no personal information before sharing.

Thanks, I’ll check it at the next longer wash (it is a new device at our home, and most washes were under an hour)