home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.94k stars 29.03k forks source link

Gree Climate integration with U Crown unit - temperature 178 issue #102587

Open bartol86 opened 8 months ago

bartol86 commented 8 months ago

The problem

Hi all I am opening again this topic as I didn't found solution for that but have seen it was already discussed #73950.

When integrating Gree air condition in HA, specifically for U Crown units I have wrong room temperature reading. In HA called current_temperature is constant at 178 deg. For Gree Pular unit it gets correct reading of room temperature. It only appears on U Crown model.

In log file I see TemSen is 218 all the time. For comparison there is a data from Pular unit where value TemSen is 60 (offset of 40 probably) and its fluctuating within time.

Any idea or solution for that issue ??

image

What version of Home Assistant Core has the issue?

core-2023.10.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Gree Climate

Link to integration documentation on our website

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

Diagnostics information

HA_Gree_Climate_Log.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 8 months ago

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.

(message by CodeOwnersMention)


gree documentation gree source (message by IssueLinks)

eWuPi commented 6 months ago

I have a similar problem, instead of 21 degrees it shows -7, but only on one unit and I have two identical ones. Zrzut ekranu 2023-12-20 170149 Zrzut ekranu 2023-12-20 170217

bartol86 commented 6 months ago

@eWuPi and both yours units are u crown?

eWuPi commented 6 months ago

I also had this in U-CROWN (I also have it), but the temperature showed 178 degrees, now the two units I wrote about are CLIVIA.

bartol86 commented 6 months ago

Ok, I think in U crown you can set up and read temperature with 0,5C resolution and because of that HA and Gree integration can not read it properly. I have other unit Pular and with that all works good. I was thinking how to replace value of current_temperature with my own room sensor but dont know how to make it in simple way. How to overwright it in HA so that all graphs etc will work correctly. Maybe you know some way for that @eWuPi ? Thanks.

edisonbar commented 4 months ago

Can u share how did you manage to have temsen working,i have gree clivia and i am unable to pull temperature

philips1923 commented 2 months ago

@bartol86 how did you managed your gree pular to work? My 1.21 version isnt responsible in HA

bartol86 commented 2 months ago

In my case it worked straight forward with Gree Climate integration. But I have v2.06 in Gree mobile app.

bartol86 commented 2 months ago

IMG_2470

galandilias commented 1 month ago

I have installed Gree U-Crown couple days ago and have same issue. My FW version is v1.01 I see that there is update pending to v1.02 but it always failes for me at 67% - anyone had same issue?

galandilias commented 1 month ago

Update from my side - I have contacted Gree support and firmware upgrades should work now. However after the upgrade still I see wrong readings of temperature from the unit.

edisonbar commented 1 month ago

Update from my side - I have contacted Gree support and firmware upgrades should work now. However after the upgrade still I see wrong readings of temperature from the unit.

How much is the difference?

bartol86 commented 1 month ago

Update from my side - I have contacted Gree support and firmware upgrades should work now. However after the upgrade still I see wrong readings of temperature from the unit.

How much is the difference?

In my case it is static value of 178. So there is no fixed offset but the value itself is all the time 178.

galandilias commented 1 month ago

Update from my side - I have contacted Gree support and firmware upgrades should work now. However after the upgrade still I see wrong readings of temperature from the unit.

How much is the difference?

Practically I see not much difference - errors in the logs regarding the unavailability are still there and temperature still stays at magical 178 deg...

cmroche commented 2 weeks ago

@galandilias This means that your device is unable to report the temperature to the integration.

parison there is a data from Pular unit where value TemSen is 60 (offset of 40 probably) and its fluctuating within time.

Really high values that never change, probably mean the device isn't actually able to report it's temperature (maybe it doesn't have an internal sensor?) and so has a fixed non-sensible value. There are a few reports of this in other issues, and this seems to be the conclusion.

cmroche commented 2 weeks ago

@eWuPi Your issue is not related, this might be fixed with the upcoming update for 2024.07, please check and let me know once you are able to update. If the problem still exists, I will need debug logs for greeclimate from startup until the wrong temperature is reported to understand why your firmware offset isn't detected.

bartol86 commented 1 week ago

@galandilias This means that your device is unable to report the temperature to the integration.

parison there is a data from Pular unit where value TemSen is 60 (offset of 40 probably) and its fluctuating within time.

Really high values that never change, probably mean the device isn't actually able to report it's temperature (maybe it doesn't have an internal sensor?) and so has a fixed non-sensible value. There are a few reports of this in other issues, and this seems to be the conclusion.

@cmroche my observation is that U Crown device has internal sensor, it can show its value on display. The thing is that U Crown tends to be more sophisticated unit then e.g. Pular and it shows values with higher resolution. I mean here that you can read room temperature is 22.5 (U Crown) while on Pular you can read only integer number 22 deg. Maybe that couse the problem in some decoding values?

cmroche commented 1 week ago

@bartol86 You mentioned the value is always 178 though. If it was simply a higher resolution I would have expected the number to still change regularly. Maybe another variable I am unaware of? I don't have one of these units though, so I won't be able to do much more without additional info. I could not find any indication of how to handle this from other Gree projects either at the moment, despite similar reports.

Are you using the Gree+ App? Does it show a proper temperature report in the app?

bartol86 commented 1 week ago

@cmroche yes, so I have Gree+ app installed. Just noticed that in app for U Crown there is no button to poll room temperature. But I see there is such a button in Pular unit. That is strange for me, I was told U Crown is Premium unit within Gree. It has also outside temperature sensor, I can read it on unit (toggling between room temp., outside temp., and setpoint).

Anyway just wanted to ask if there is some way to sniff what is send between UCrown - Gree+ app or UCrown - HA integration? I am not IT but more OT guy, so typically I use Wireshark but in that case have no knowledge what and how. If you would like to investigate more by some logs, screens etc. I can provide.

Thanks.

cmroche commented 1 week ago

If you enable debug logging for the integration, it will copy all network traffic to the log with the device. I think it's possible to do this is the UI now.

MosheTzvi commented 4 days ago

I have a Tadiran unit which is stuck at -4 degrees in HA (only when the unit is on). Shows fine in the Gree+ app. Perhaps the same issue?