Search found 21 matches

by majki
Wednesday 09 August 2023 7:56
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

In the LG thin Q app there is nothing related to power consumption, other functions are present. In the App I have two airco units, both are the latest models. If you use these models in a Single Split setup, then you have the energy consumption. But in a Multisplit setup this is functionality is ...
by majki
Tuesday 08 August 2023 10:25
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Awesome Thanks! But unfortunately this will not work on a Multisplit model. Because when connecting to a multi-split model the kWh settings are disabled by default as far as I know. Tested it; but unfortunately 0 kwh reading. Oh, that's not good. I didn't have an idea that it would not work on ...
by majki
Thursday 20 July 2023 13:41
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Guys, please let me introduce new feature that I recently added to this plugin. It is for getting energy consumption data from LG servers (even 2 years back!) and putting it to domoticz. Great way to have energy history in our domoticz, isn't it? :) Details here :arrow: https://github.com/majki09 ...
by majki
Tuesday 06 September 2022 8:25
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Hi @smedest. I think I've found the issue - you have "/var" folder for your plugins and this path is not covered by the plugin yet. I've posted a reply on your github issue: https://github.com/majki09/domoticz_lg_thinq_plugin/issues/10#issuecomment-1237701750 Also thanks for you @waltervl for trying ...
by majki
Tuesday 07 June 2022 14:46
Forum: Other questions and discussions
Topic: Domoticz behind Nginx reverse proxy
Replies: 8
Views: 1730

Re: Domoticz behind Nginx reverse proxy

Hi @gwabber. I have also domoticz behind reverse proxy and I'm getting wss errors in my web browser: WebSocket connection to 'wss://domoticz.mydomain/json' failed: NPM log: [07/Jun/2022:12:47:26 +0000] - 400 400 - GET https domoticz.mydomain "/json" [Client 12.34.56.78] [Length 89] [Gzip -] [Sent-to ...
by majki
Friday 01 April 2022 12:21
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Heatpump now available!


Guys!

I have now pushed new version with heatpumps integration. Just pull last version from github and enjoy!

Many thanks for @superprzemo for supporting his wideq file (yes, integration was made remotely :D )
by majki
Friday 01 April 2022 6:50
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Hi gvrgvr! First, make sure that you are using latest plugin version (git pull). Second, open LG ThinQ app on your smartphone and if there's new license to accept, please do it. Sometimes when we have API errors like this it's caused by changes in license and it have to be accepted with the app. No ...
by majki
Thursday 24 February 2022 20:28
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Hi @majki, I can not send you my wideq_status.json to your PM, because I am blocked from sending PM :( I got PM from you, but I can not reply to it. Maybe because your account is fresh new, we had this issue before: https://www.domoticz.com/forum/viewtopic.php?p=280432#p280432 Maybe you need to ...
by majki
Thursday 18 November 2021 8:35
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Hi @gvrgvr. I've had also some errors in my logs today: 2021-11-18 02:42:34.112 Error: LG ThinQ: (LG ThinQ) 'onHeartbeat' failed 'ConnectionError'. But now it's back online: 2021-11-18 03:01:28.477 LG ThinQ: (LG ThinQ) Session expired, refreshing... So maybe you are right, maybe there was some LG ...
by majki
Thursday 14 October 2021 10:59
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Thanks for your answer. My knowlege of python is limited, but i can try with some help. If I look in the thinq-app (android) then the information is very limited and depending of settings in the controler of the LG itself. Currently I use in the controler LG only "water (outlet)". Then you see in ...
by majki
Thursday 14 October 2021 10:06
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

OK, sorry, that was my fault. There was a redundant "raise IOError" which is removed now. I didn't realized that I'm testing another version (which was OK actually) - sorry, I'm still learning :)

Just

Code: Select all

git pull --rebase
to update your local repository and try again.
by majki
Wednesday 13 October 2021 14:11
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

That's right. Each LG user will have individual wideq_state.json file.

Just asking: have you already logged in on your smartphone's app and accepted LG's new terms?

Hopefully I will be able to look at this later today.
by majki
Wednesday 13 October 2021 13:42
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

I can't check right now by myself, but please try this command:

Code: Select all

python3 example.py -c NL -l en-US
by majki
Wednesday 13 October 2021 12:01
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Hi @gvrgvr! Just follow instructions here https://github.com/majki09/domoticz_lg_thinq_plugin#installation You need to generate and copy wideq_state.json file to your domoticz folder, if your'e on Raspberry Pi it's probably /home/pi/domoticz. I will change this manual copying to some automation when ...
by majki
Monday 04 October 2021 10:01
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

boosjgm wrote: Saturday 02 October 2021 12:59 Hi Majki

I have not sufficient rights to send you an PM
I've just sent you a PM, please try to reply.
Maybe you have not enough posts to write PMs?

majki
by majki
Friday 01 October 2021 12:57
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Thanks for your answer. My knowlege of python is limited, but i can try with some help. If I look in the thinq-app (android) then the information is very limited and depending of settings in the controler of the LG itself. Currently I use in the controler LG only "water (outlet)". Then you see in ...
by majki
Friday 01 October 2021 12:35
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Hi jsmit! Just open an LG app in your smartphone and accept their new terms . Otherwise the script will get "0110": InvalidCredentialError and will not connect to API. I have also had this problem, debugging the code for so long and found that all is about LG's new terms. Probably you have also ...
by majki
Monday 27 September 2021 8:35
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

I have a LG heatpump (HM091M.U43). I have successfully followed all instructions for the V2 api. I have created the wideq_state.json and "python example.py ls" also gives the correct device: d27fab90-7149-11d3-80c9-xxxxxx: Heat pump air to water (AC AWHP_019101_WW/thinq1). In domoticz the AC ...
by majki
Tuesday 31 August 2021 10:45
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

jsmit wrote: Friday 27 August 2021 10:23 Majki,

Thanks for the plugin.
It works great.
I have a new single split and multi split air conditioner.
All the units are working.
Keep up the good work.

Jacco
Hi Jacco,

great to hear that!
Thanks for a review ;)
by majki
Tuesday 20 July 2021 14:16
Forum: Python
Topic: Python Plugin: LG Smart AC (SmartThinQ)
Replies: 173
Views: 49294

Re: Python Plugin: LG Smart AC (SmartThinQ)

Alright then. You can get this plugin from my github repo: https://github.com/majki09/domoticz_lg_thinq_plugin Excellent news. Is this compatible with the v1 logins as well? What is your GitHub repo? Love to see it. Great work. Many thanks. Since works are on the way with https://github.com/sampsyo ...