core icon indicating copy to clipboard operation
core copied to clipboard

Gree climate does not update tha data (status)

Open andrassaraa opened this issue 1 year ago • 3 comments

The problem

The HA does not update the climate status (switch) if the change is made with a remote control. It does not follow the climate continuously.

What version of Home Assistant Core has the issue?

2024.10.1

What was the last working version of Home Assistant Core?

2024.09.

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Gree

Link to integration documentation on our website

https://www.home-assistant.io/integrations/gree

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

andrassaraa avatar Oct 09 '24 17:10 andrassaraa

Hey there @cmroche, mind taking a look at this issue as it has been labeled with an integration (gree) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of gree can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign gree Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


gree documentation gree source (message by IssueLinks)

home-assistant[bot] avatar Oct 09 '24 17:10 home-assistant[bot]

I am reproducing this event as well as of 2024.10.1 - I confirm the audible 'beep' from the units confirming the change, but the entities in home assistant do not update to show the changes. Reloading the configuration has no impact.

hindsight2021 avatar Oct 16 '24 16:10 hindsight2021

Hello. I have the same problem. The status is not updated when changes are made from the remote control. But if you restart HA, it shows the current status

Регистратор: greeclimate.network
Источник: /usr/local/lib/python3.12/site-packages/greeclimate/network.py:240
Первое сообщение: 22:54:31 (1 сообщений)
Последнее сообщение: 22:54:31

Error while handling packet
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/greeclimate/network.py", line 235, in packet_received
    param = params.get(resp, lambda o, a: (o, a))(obj, addr)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/greeclimate/network.py", line 225, in <lambda>
    Response.RESULT.value: lambda o, a: [dict(zip(o["pack"]["opt"], o["pack"]["val"]))],
                                                                    ~~~~~~~~~^^^^^^^
KeyError: 'val'

flyjshum avatar Oct 19 '24 19:10 flyjshum

Hello Everybody

Currently I am using the below version and the entity status is still not updated automaticaly.

Core 2024.10.4 Supervisor 2024.10.3 Operating System 13.2 Frontend 20241002.4

Anybody has idea?

andrassaraa avatar Oct 26 '24 15:10 andrassaraa

The same for the latest version of HA and Gree AC

Can we provide some details for investigation? Please suggest.

deniselenok avatar Nov 06 '24 21:11 deniselenok

Same here. HA is not updating the status. When "reloading" the integration it works for a moment, but next time it will not update again.

water-escape avatar Nov 20 '24 09:11 water-escape

@cmroche please 🙏🏻

flyjshum avatar Nov 20 '24 19:11 flyjshum

Same problem here. Only if I reload the entities in the integration, the status does refresh (once). Nothing in the logs, though.

KossikCZ avatar Nov 23 '24 15:11 KossikCZ

Hello. I have the same problem. The status is not updated. But if restarted HA, it shows the current status.

ArturStarz avatar Nov 24 '24 16:11 ArturStarz

Having the same issue with the integration. System info below:

Core 2024.11.3 Supervisor 2024.11.4 Operating System 13.2 Frontend 20241106.2

singleoxfarm avatar Dec 03 '24 17:12 singleoxfarm

I'm having the same issue! Only 1 out of 3 is shown in HA.

aalmarshad avatar Dec 07 '24 21:12 aalmarshad

Hello Everybody

Currently I am using the below version and the entity status is still not updated automaticaly.

Core 2024.12.1 Supervisor 2024.11.4 Operating System 14 Frontend 20241127.4

Anybody has idea?

andrassaraa avatar Dec 07 '24 22:12 andrassaraa

I have same problem, for me the room temperature is not updated. I have 2 devices, and seems to me, after "scanning" and both device reply the name, and other details, then manually update happens only on the first device, the second one is not asked for status.

Meister1977 avatar Dec 08 '24 14:12 Meister1977

I have the same problem This was in my log, does that help? 2024-12-14 06:56:32.250 ERROR (MainThread) [greeclimate.network] Error while handling packet Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/greeclimate/network.py", line 235, in packet_received param = params.get(resp, lambda o, a: (o, a))(obj, addr) File "/usr/local/lib/python3.13/site-packages/greeclimate/network.py", line 225, in Response.RESULT.value: lambda o, a: [dict(zip(o["pack"]["opt"], o["pack"]["val"]))], ~~~~~~~~~^^^^^^^ KeyError: 'val' 2024-12-14 07:24:57.044 ERROR (MainThread) [greeclimate.network] Error while handling packet Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/greeclimate/network.py", line 235, in packet_received param = params.get(resp, lambda o, a: (o, a))(obj, addr) File "/usr/local/lib/python3.13/site-packages/greeclimate/network.py", line 225, in Response.RESULT.value: lambda o, a: [dict(zip(o["pack"]["opt"], o["pack"]["val"]))], ~~~~~~~~~^^^^^^^ KeyError: 'val'

MarcRaynor avatar Dec 14 '24 22:12 MarcRaynor

I have the same problem.

rakitadragan avatar Dec 17 '24 12:12 rakitadragan

I have the same problem.

sgergos avatar Dec 17 '24 13:12 sgergos

+1

ABnSultan avatar Jan 11 '25 06:01 ABnSultan

@andrassaraa in 2025.3 issue should be fixed, please test it and close issue if it works

filipagh avatar Mar 05 '25 21:03 filipagh

@filipagh thx for your help it is working previously it updated the status or result with a delay of a few seconds, now it updates every 2 minutes

andrassaraa avatar Mar 06 '25 20:03 andrassaraa

Hi, issue still reproducible for : Core 2025.3.3 Supervisor 2025.03.3 Operating System 14.2

`Logger: greeclimate.network Source: /usr/local/lib/python3.13/site-packages/greeclimate/network.py:240 First occurred: 11:06:59 (1 occurrences) Last logged: 11:06:59

Error while handling packet Traceback (most recent call last): File "/usr/local/lib/python3.13/site-packages/greeclimate/network.py", line 235, in packet_received param = params.get(resp, lambda o, a: (o, a))(obj, addr) File "/usr/local/lib/python3.13/site-packages/greeclimate/network.py", line 225, in Response.RESULT.value: lambda o, a: [dict(zip(o["pack"]["opt"], o["pack"]["val"]))], ~~~~~~~~~^^^^^^^ KeyError: 'val'`

vdrahaniuk avatar Mar 17 '25 09:03 vdrahaniuk

@vdrahaniuk its different issue see https://github.com/home-assistant/core/issues/124759

filipagh avatar Mar 17 '25 09:03 filipagh