Page 1 of 1

plugin LGAC_SmartT not working anymore

Posted: Saturday 11 November 2023 22:13
by gert1956
Last year I had this python plugin operational. I started with the original plugin from olek, moved the the plugin from Herman (heggink) and later to maykls version.
It worked fine.
This summer I had to reinstall my raspberripy. Now I want to make the LGAC_SmartT plugin operational again.
I get stuck when I execute the command

Code: Select all

python3 example.py -c NL -l en-EN
When I access the login page of LG I get a message

Code: Select all

https://nl.m.lgaccount.com/spx/login/signIn?country=NL&language=en-EN&svc_list=SVC202&client_id=LGAO221A02&division=ha&redirect_uri=https%3A%2F%2Fkr.m.lgaccount.com%2Flogin%2FiabClose&state=39368c2480d311ee96fde45f01e2b5e5&show_thirdparty_login=AMZ%2CFBK
"this service has been terminated and is no longer available"
Tried it with all 3 forks.
I anyone familiar with this and does someone have a solution for it?
many thanks for helping

Re: plugin LGAC_SmartT not working anymore

Posted: Sunday 12 November 2023 10:56
by gert1956
made some progress.
I did
  • reset the lg password
  • accepted the terms in the app again
  • python3 example.py -c NL -l nl-NL
  • This time with the correct language settings
This leads to a new url
When I paste in the the example.py script. It tells me that I only have thinq1 devices
This fork is only applicable for thinq2 devices
The real issue is probably that I did use the wrong language code.
Will try again with the heggink fork

Re: plugin LGAC_SmartT not working anymore

Posted: Sunday 12 November 2023 11:23
by gert1956
unfortunately no luck
steps taken
  • sudo rm -rf domoticz_lg_thinq_plugin
  • cd LGAC_SmartT
  • sudo pip3 install -e .
  • nano wideq.py
  • COUNTRY = 'NL'
  • LANGUAGE = 'nl-NL'
  • sudo python3 example.py
  • log in
same error
Screenshot from 2023-11-12 11-10-32.png
Screenshot from 2023-11-12 11-10-32.png (36.96 KiB) Viewed 325 times
does anyone have a tip how to proceed?