sampsyo / hass-smartthinq

Home Assistant component for LG SmartThinQ HVAC devices
MIT License
284 stars 98 forks source link

API V2 Support #87

Open blassond opened 3 years ago

blassond commented 3 years ago

I am looking for support with testing your latest release acquired via HACS. I find that if i use your version of wideq to acquire my token with example.py, it only displays one of my window unit type acs (both are the exact same make and model just purchased approx 1.5-2years apart. If i use Gladhorn's version ( https://github.com/gladhorn/wideq )to acquire my token, it shows both of my devices.

I am curious if there is a way that i can implement gladhorn's version of wideq into your version of smartthinq? I have attempted to browse thru the filesystem for my HA ( downloaded VDI file from HA website and run via virtualbox ) and have yet to find anything related to wideq.

I have also tried to use Ollo69's version ( https://github.com/ollo69/ha-smartthinq-sensors ) via HACS which allows you to add your locale and language and copy/paste the login/redirection link to get your token via the HA integrations UI. I am not sure how much work this would take to adopt from his version (read elsewhere about that fork steering far away from yours) but i read in your logs about wanting to implement this as well into your version.

Any help regarding the APIv2 or testing Gladhorn's version of wideq would be appreciated and i am willing to offer whatever i can to assist you.

Thanks

blakito commented 3 years ago

+1

sampsyo commented 3 years ago

I don't know if it will work, but it's worth a shot installing @gladhorn's fork with something like pip install -e . and then just attempting to use this component unmodified. I'm afraid I can't help much more than that, but it's worth experimenting with it if you're interested.

jacekpaszkowski commented 3 years ago

Hi @blassond, any success regarding connecting to APIv2 using component in HA?

nurimoca commented 3 years ago

I installed @gladhorn's wideq fork and ran the pip install -e command, and it detected al my AC devices, prior to that using Sampsyo wideq, only one AC unit was detected. But it does not integrate all units in Home Assistant, only one, the same with sampsyo and gladhorn's wideq...

SerpentDrago commented 3 years ago

What's the current state on ha support for hvac s that are v2?

What fork is best? Is this project dead?

Thanks

marciogranzotto commented 3 years ago

I've made a fork that's working for my v2 AC split unit: https://github.com/marciogranzotto/hass-smartthinq

alfredkrohmer commented 3 years ago

@marciogranzotto You are awesome. Works flawlessly with my ACs 🤩

blakito commented 3 years ago

Fantastic work Marcio!

Also worked flawlessly with my 3 API v2 units!

On Tue, Apr 20, 2021 at 2:31 AM Marcio Granzotto Rodrigues < @.***> wrote:

I've made a fork that's working for my v2 AC split unit: https://github.com/marciogranzotto/hass-smartthinq

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sampsyo/hass-smartthinq/issues/87#issuecomment-822985200, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADM2YTJFOAMUPMUTMFV5NZDTJUGUNANCNFSM4S42THUQ .

sjakub commented 3 years ago

I've made a fork that's working for my v2 AC split unit: https://github.com/marciogranzotto/hass-smartthinq

Hi!

It looks like that repository is now deprecated... What's the alternative now? Which of the projects/repositories work with the v2 API?

Thanks!

marciogranzotto commented 3 years ago

I've made a fork that's working for my v2 AC split unit: https://github.com/marciogranzotto/hass-smartthinq

Hi!

It looks like that repository is now deprecated... What's the alternative now? Which of the projects/repositories work with the v2 API?

Thanks!

ollo69's integration supports both v2 and v1: https://github.com/ollo69/ha-smartthinq-sensors