Closed bayramog closed 4 years ago
Thanks for trying this out!
Multi-region support was not a feature until #2, but I just now published version 0.3.0 which should fix it.
Could you try upgrading to version 0.3.0 and add country_code
and language_code
settings to the plugin? I've added a note to the readme on setting these as well
(closing as duplicate of #2, feel free to re-open if you still have issues)
** version 0.3.1, which includes an auth fix from 0.3.0
Hi, I tested with v0.3.1. I add my config as below
{ “platform”: “LgThinqAirConditioner”, “country_code”: “TR”, “language_code”: “tr-TR” }
But link generates as again with US codes. See below
{ “platform”: “LgThinqAirConditioner”, “country_code”: “TR”, “language_code”: “tr-TR”, “auth_login_url”: “https://tr.m.lgaccount.com/spx/login/signIn?client_id=LGAO221A02&redirect_uri=https%3A%2F%2Fkr.m.lgaccount.com%2Flogin%2FiabClose&scope=&response_type=code&state=45a44015-85ae-4340-b82a-38ce8fed7dc8&country=US&langauge=en-US&svc_list=SVC202&division=ha&show_thirdparty_login=GGL%2CAMZ%2CFBK”, “auth_login_state”: “45a44015-85ae-4340-b82a-38ce8fed7dc8” }
Oh you’re right - let me check that out
Just published 0.3.2 -- try now?
Yes I can authenticate now thanks ☺️ but there are some other issues so I will open new issue for that
Awesome! This is brand new so keep them coming— I’ll try to take another look tonight
Hi, I have tried a few times. But authentication error occurs every time. I only change country and language code as TR and tr-TR. The error log is at below.