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.
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.
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:
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)
Go to Supervisor and install Portainer add on. Make sure you disable protection mode for this add on and wait for it to start.
Go to your Homeassistant internal URL at the port 8581 (http://myinternalhomeassistant:8571/). Enter user admin and password admin (Change this later).
At the top bar, choose the Plugin menu.
Search for homebridge-lg-thinq-ac at the plugin management page. This is a Homebrigde plugin to connect ia LG Thinq V2.
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)
Restart Homebridge.
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.
Go back to the homebridge-lg-thinq-ac plugin at Homebridge and paste the URL. (Yes! You need to restart Homebidge AGAIN!)
(By now you guessed what comes next) Add Homekit controler to your Home-assistant integrations.
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.
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
Also posting in here in case someone can help:
This fork of the component works for v2 devices:
Is based on both @no2chem (hass-smarthinq v2) component @ollo69 (wideq v2) library versions
HOWEVER: If you have mixed v1 and v2 devices it might break you setup. I installed this fork and tried to keep the original component but seems that there is only one wideq version possible so there are issues in one or the other.
If somebody knows how to keep both wideq versions to co-exist so we can use both components at the same time please let me know!
Boiiiiiii!!! This works, finally after months I can see my LG aircon in home assistant.
It’s still not 100% because I cant get current temp and stuff but I can adjust temp and change modes.
So now my LG HVAC on api2 is finally working, does anyone know how we might get my zone motors to open/close via the api as well? I can control which rooms are open/closed from the LG app just in the “Zone” section.
Was just planning to put sensors in certain rooms and perhaps control the flow a bit
I see many query on eic.lgthinq.com, several per minutes (every 30 seconds?), on my pihole logs. Is it normal? Can’t it be lowered to something to one ping each each 5 minutes? Or only when one of the appliance is active?