In development: LG SmartThinQ component

Hi another error :stuck_out_tongue:

root@debian:/home/homeassistant/wideq# python3.7 --version
Python 3.7.3
root@debian:/home/homeassistant/wideq# python3.7 example.py -c US -l en-US
Traceback (most recent call last):
File “example.py”, line 1, in
import wideq
File “/home/homeassistant/wideq/wideq/init.py”, line 3, in
from .core import * # noqa
File “/home/homeassistant/wideq/wideq/core.py”, line 9, in
import requests
ModuleNotFoundError: No module named ‘requests’

Please start from scratch with following the installation instructions so the dependencies get installed.

Did you get anywhere with this? I’m in the same boat as you on this (even down to being in Canada!). I’m not willing to put much effort into it though. I don’t see much value in having my fridge connected. How often are you really going to want to change the temperature setting of your fridge? I’ve had mine a year and haven’t changed it yet.

BTW the LG app does NOT report the current temperature of the fridge, only the set temperatures. IMHO this renders it pretty useless. I already know what the fridge is set to because I set it! I want to know when something is wrong which means giving me the current temperature. The only value might be filter change reminders but there are already flashing lights on the front of the fridge that I ignore everyday.

OTOH I can see laundry notifications being useful but that seems to be pretty easily accomplished with energy monitoring.

Nope, have not looked into it further.

That’s a bummer that the app does not report actual temp - I wonder if the API reports it, but it is not exposed in the LG app?

I’m going to hazard a guess and say no. Even the display on the actual fridge displays the set temp and not the actual temp which is stupid because they must be measuring the actual temp somewhere to know when to turn the compressor on. Really, really dumb design or just plain laziness on LG’s part.

Other than that it’s been a fantastic fridge though, so there’s that!

Hello samps,

Thanks for the advice. Managed to resolve this issue by installing the missing “requests” repository:
pip3.8 install requests

Decided to delete the folders, not the integration though. Followed the instructions from the start again but didn’t bother to get a new token, rebooted and all is working, both ACs are now showing. all seem to be working well.

Thank you

Use my version, who using washer, dryer and dehumidifier.
Device will discover automatically.
You need to translate korean to your language.(a little bit.)
Refregirator and A/C not supported yet.
(I have refregirator but not a/c.)
Thanks to @samps

2 Likes

Why i cant open issue at your repo? I start example.py and see only ref. but i hawe washer too. Why?

About to purchase either a Samsung or an LG washer dryer and the compatibility with Home Assistant is now going to be the deciding factor.

It looks like the Smarththings integration for Samsung is pretty polished, but reviews point to better reliability with LG. It looks like things are moving well here, so I’m more inclined to go down the LG route, but the automatic power off has raised an eyebrow.

When the device turns itself off, how do the sensors react in HA? Do they go to “Unavailable” or just show the most recent state?

Have a look further up this thread for one of my posts. Newer LG machines are no longer seem to be working with this component. Nothing is returned in the wideq_state.json file created. So far cannot integrate this into HA.

Thanks for the heads up. Looks like it’ll have to be the Samsung after all. Annoying as I had pretty much convinced myself that the LG was the way to go. Do you have a link to the GitHub posts that you mention in your previous comment?

Not been following this lately, but looks like progress is being made.

1 Like

Thanks. Looks like they’ve got it licked. Samsungs integration does seem a lot less likely to stop working at some point, but from everything I’ve read, their hardware is just far too unreliable and I’d be better of with the LG.

That is the same reason I brought the LG machine.

Without wishing to go too far off topic, and this issue aside, are you happy that you went lg over samsung? Any issues with it?

Yes, had mine for 5 months, although I have never owned a Samsung washer so dont have any real experience with that washer brand myself, I know people who do own a Samsung washer. And they were doing a minimum of about 5 wash cycles a week, have had an issue, but then again you cant really compare the brands until you have owned one for the same length of time as them doing like for like use. I just went with the reviews from trusted reviewers like Which and happy with it so far wash performance wise.

1 Like

I also have LG Washing Machine, and I’m very happy with it (it’s very quiet).
The only thing that pissed me off is the locked API.

It’s a shame that they haven’t followed Samsung’s model with their relatively open API. The work being done on this component is amazing, but it wouldn’t take much from LG (intentionally or otherwise) to break it temporarily or indefinitely.

I’ve also been looking at AEG machines. They are rated really highly and seem to have some impressive tech. They are smart and can be controlled by an app, however the API is so unknown and undocumented that it’s nearly impossible to find any reference to it on Google!

I also heard a lot of good stuff about AEG and several people recommended one, however ability to integrate it with the home assistant is very important to me. Unfortunately I’m unable to get my washer to show up in the wideq script.