Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indoor temperature Not updating #177

Closed
moguennouni opened this issue Jul 11, 2022 · 15 comments
Closed

indoor temperature Not updating #177

moguennouni opened this issue Jul 11, 2022 · 15 comments

Comments

@moguennouni
Copy link

Hello,
First thank you for this magical plugin, it changed the way I use my LG AC.
As wrote on the title the indoor temp is not updating automatically in home app. So I need to open The LG ThinQ app to get it updated.
Is there a way to make it do it because we can't create a automation with temperature as a condition.
Thank you

@nVuln
Copy link
Owner

nVuln commented Jul 13, 2022

which plugin version did you used ?

@moguennouni
Copy link
Author

Hello,

The last one I guess

homebridge-lg-thinq v1.2.17

Thx

@FilipAben
Copy link

Having the same problem here. When opening the ThinQ app, an update seems to be triggered
v1.2.17

@FilipAben
Copy link

Some more observations after enabling debug logging:

  1. the MQTT listener (thinq2 here) never receives any data, even though I'm switching the AC on/off and changing settings through the ThinQ app.
  2. the code requests a snapshot every 10 minutes, but the data is outdated as it contains a timestamp which was hours ago.
  3. after I open the ThinQ app, next snapshot requested by the plugin contains up-to-date data with a timestamp set to around the time I opened the app.

@vfontes
Copy link

vfontes commented Aug 27, 2022

Can confirm the same thing occurs for me, I'm on version 1.2.17.

@corvel
Copy link

corvel commented Apr 9, 2023

Did you guys resolve that issue? It would be nice to make this working.

@Damien514
Copy link

Same issue here. I never the correct data, from both my Thinq1 and Thinq2 AC. Any way to "ping" the device to force update the temperature?

@nVuln
Copy link
Owner

nVuln commented Nov 16, 2023

Same issue here. I never the correct data, from both my Thinq1 and Thinq2 AC. Any way to "ping" the device to force update the temperature?

unfortunately I don't have any thinq1 device right here to try 🥲

@aabdellah
Copy link
Contributor

Having the same issue as well

@aabdellah
Copy link
Contributor

After investigating the traffic between ThinQ app and their servers, I have found out that temps have to be updated using a call to /control endpoint on each AC device so that the temperature will be updated in further calls to /service/homes.

Below is the details of the endpoint:

POST https://eic-service.lgthinq.com:46030/v1/service/devices/{deviceId}/control
{
    "command": "Set",
    "ctrlKey": "allEventEnable",
    "dataKey": "airState.mon.timeout",
    "dataValue": "70"
}

Is it possible to call this endpoint periodically for devices that have temperature sensors? this will greatly improve automations for AC.

ThinQ app calls the endpoint for each AC device every minute to update the temperature.

@nVuln
Copy link
Owner

nVuln commented Jan 22, 2024

After investigating the traffic between ThinQ app and their servers, I have found out that temps have to be updated using a call to /control endpoint on each AC device so that the temperature will be updated in further calls to /service/homes.

Below is the details of the endpoint:

POST https://eic-service.lgthinq.com:46030/v1/service/devices/{deviceId}/control
{
    "command": "Set",
    "ctrlKey": "allEventEnable",
    "dataKey": "airState.mon.timeout",
    "dataValue": "70"
}

Is it possible to call this endpoint periodically for devices that have temperature sensors? this will greatly improve automations for AC.

ThinQ app calls the endpoint for each AC device every minute to update the temperature.

nice, let me work on it
thanks for your works

@nVuln
Copy link
Owner

nVuln commented Jan 22, 2024

I just added it in 1.6.4-ac.1, can anyone pull it and test?

@moguennouni
Copy link
Author

Hello , just installed the test version and it seems to work!
It's updating the temperature continuously
Thank you for this amazing work !

@nVuln
Copy link
Owner

nVuln commented Jan 24, 2024

need a few more test before I can merge it into stable

@vfontes
Copy link

vfontes commented Jan 24, 2024 via email

nVuln added a commit that referenced this issue Jan 28, 2024
* fix: AC temperature not updated
@nVuln nVuln closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants