In development: LG SmartThinQ component

Thank you! That worked great.

Very annoyed I work in the Air Con industry and chose LG because of the API support and that it would work with the home assistant and now to find out it wont because of the 2.0 changes is really annoying lol.

Has anyone had any success with a new LG Aircon and the API 2.0 working with home assistant yet?

To give an opposing view here, I’ve owned multiple Samsung washers. All have lasted ~3 years before having catastrophic failures related to struts / drive trains that were more costly to repair than replace. A quick google search will show multiple recalls, and even more blogs and studies on how Samsung builds washers for planned obsolescence. While yes, they’re smart integrations may be more plentiful, LG will outlast Samsung any day of the week. Sadly, I think I’m done with Samsung. Just swapped out my 3rd failure for the same reason. Bought an LG.

3 Likes

Well I had a Samsung dishwasher that has served me faithfully for over 10 years, and my secondary TV set is an old FHD Samsung 45" that is running almost 6-7 hours daily… So I certainly cannot complain about Samung reliability, would be happy if LG would prove that reliable (leaving all their API issues aside).

All I can say is wow. Found this thread while trying to set up a LG portable unit with wifi, and it seems like the HA integration is either a mess or doesn’t work anymore.

Not regretting the purchase as apparently the LG was one of the better AC units…but this is sad that it has wifi, but such poor support from LG on those features.

Also guessing I’m stuck at the API 2.0 thing, given when I try to run example.py I get the URL, can log in fine, but when I pass the response URL back again all I get is python errors and it saying SSL doesn’t work/could not connect.

EDIT: I should update this although I still don’t have it working. I was able to run the script by executing it directly inside the docker container, for whatever reason it didn’t work from my Ubuntu base OS. That said, it gives me the tokens but returns no devices, and HA sees no new devices. I found another copy of wideq that is for APIv2, and it does return the device, but doesn’t seem to work with HA. So still stuck.

I had to choose between Samsung and LG. Took advise from Korean friends and went with LG. Apparently Samsung doesn’t have best reputation in homeland. I had LG appliances and have old washer that after 15 years still works (but had to change seals twice), while Samsung failed just outside warranty (faulty drier always spins unless you open door, even when off).

Anyone else having an error with “Status update failed”

I am getting these every 2 minutes in my home-assistant.log:

2021-01-08 13:23:44 WARNING (SyncWorker_8) [custom_components.smartthinq_sensors] Status update failed
2021-01-08 13:25:44 WARNING (SyncWorker_8) [custom_components.smartthinq_sensors] Status update failed
2021-01-08 13:27:44 WARNING (SyncWorker_3) [custom_components.smartthinq_sensors] Status update failed

Not sure what to do. It found my washer/dryer/fridge/dishwasher upon setup, but now it can’t update the statuses. Any ideas or anyone else experiencing this?

Thanks

I can not make this work… Somebody tell me what i’m doing wrong.

I installed the component in HACS, no problem, restarted the server as requested, and i cannot find the integration on the Integrations tab. I’m running HA in a VM,

Operating System
Home Assistant OS 5.10

If you’re running a v2 API, the wideq component is still under (albeit slow) development to get working with LG’s updated API. There have been a few people inputting, but I think everyone is hampered by time.

This PR is where a lot is being done - and is now working somewhat, but isn’t integrating back in to HA. To be fair to everyone else, I’ve also spent no time trying to understand better what’s happening.

Any status if the all in one combo units work with this? WM3998HBA

Weird, I met some Korean guys at a local Korean BBQ joint before the last lockdown, and they told me exactly the opposite.

But in any case, personal anecdotes about reliability wont add much value to the discussion here, especially as this thread is about HA integration, while on the other hand the complete fail of LG to provide an open API (as opposed to Samsung who have shown it can be done) is a sad fact.

1 Like

Hello,
I currently have LG washer/dryer combo (1 unit)
I installed smartthinq_sensors from ollo69. Detected it as a washer in HA and working great.
But, as my device is combo, what can I do for detecting it as a dryer also?

I also have a combo washer/dryer (WM3998HBA). Is there any near-term plan to get support for this? Presumably I could modify the washer sensor code to include the dryer entities as well?

It would also be fantastic to get energy usage data. That’s actually the main reason I wanted my washer/dryer integrated…

So… trying to summarize the whole thread, let’s see if I got it all right:

  • @samps wrote a great component and inner library that worked at that time and got improved by others, including support to other devices and other fixes
  • some forks got lost in the way and there are other versions of the original code that support different countries and devices, and it seems it was hard to merge them all together
  • one of those forks are from @ollo69, which ended up in HACS, and this seems to be the main version nowadays. It’s not worth trying the other forks.
  • then LG launches an updated API and the main code stops working with the updated devices, which are mostly ACs. Washing machines/dryers still work, though (mine seems to!)
  • it seems current work is slow (winter + covid + life) and scattered among many members:

Is it correct to assume the main and only live Integration is Ollo’s from HACS?
What’s needed nowadays to help out getting ACs into the Integration?

And, what would be necessary to maybe get help from upstream, the developers of other integrations, to get this running and maybe make it official?

3 Likes

Seems about right, I have a new Australian LG ducted system installed late October 2020. The HACs integration doesn’t show any devices :frowning:

I’m happy to supply whatever I need to hopefully get it working with Home Assistant but as for now I’ve just been using the LG app

1 Like

I have to share here what else have I found. I found a work around for this stale mate.

TL:DR - This isn’t perfect and Homekit controler seems to have trouble exposing all the HVAC machines Homebridges is connected to.

I actually use Homebridge as a translator for multiple things so they show up at my Homekit app on my Apple iPhone. I then share this things in the simplified interface with my family iPhones. This allows me to use Siri, which I considerer a better interperter for my voice commands. (My experience with Google Android didn’t went that well. End of subject)

  1. Go to Supervisor and install Portainer add on. Make sure you disable protection mode for this add on and wait for it to start.
  2. Add Homebridge to Portainer as per @thecem post here.
  3. Go to your Homeassistant internal URL at the port 8581 (http://myinternalhomeassistant:8571/). Enter user admin and password admin (Change this later).
  4. At the top bar, choose the Plugin menu.
  5. Search for homebridge-lg-thinq-ac at the plugin management page. This is a Homebrigde plugin to connect ia LG Thinq V2.
  6. Follow the instructions for homebridge-lg-thinq-ac, entering the country code and language configuration in the plugin configuration. Ignore the URL fields by now. You need to restart Homebridge for them to show the correct information (I know. this seems dumb)
  7. Restart Homebridge.
  8. Go back to the homebridge-lg-thinq-ac plugin at Homebridge and get the URL to authenticate over at LG Api v2. Wait for the redirect and get the authentication URL.
  9. Go back to the homebridge-lg-thinq-ac plugin at Homebridge and paste the URL. (Yes! You need to restart Homebidge AGAIN!)
  10. (By now you guessed what comes next) Add Homekit controler to your Home-assistant integrations.
  11. Add the Homebridge hub to the Homekit controller… et voilá. You have it.

But not yet! Unfortunately, even if this works great for my iPhone if I pair the Homebridge with my Homekit app, the Homekit controler seems to have trouble exposing my multiple HVAC internal machines or get commands correctly sent to LG API thing.

Any way, the all thing works great in the iPhone with HomeKit app.

1 Like

Big cheer to MacXatu :+1: This workaround works.

So I’ve worked through the Readme on Samsyo’s Github and it all seemed to install ok, but when I try to input the information into Configuration.yaml and reboot I get an “Component error: smartthinq_sensor - Integration ‘smartthinq’ not found.” error.

Below is the entry I added to configuration.yaml

#Smartthinq
smartthinq:
 token: [redacted]
 region: ca
 language: en-us

Any help would be greatly appreciated.
Robert

Watch out for gaps

#Smartthinq
smartthinq:
  token: [redacted]
  region: ca
  language: en-US

I adjusted the entry but still get the error :Component error: smartthinq - Integration ‘smartthinq’ not found.: