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

Defrosting state #5

Closed
wojtek14a opened this issue Jan 8, 2022 · 4 comments
Closed

Defrosting state #5

wojtek14a opened this issue Jan 8, 2022 · 4 comments

Comments

@wojtek14a
Copy link

wojtek14a commented Jan 8, 2022

Hi,
I have a Hyundai HRP-M12SEPI air conditioner running with ESPHome on @dudanov iot-uni-dongle (great work btw!). During negative temperatures outside my ac is defrosting its outside unit which leads to lowering the temperature inside the room (forgot to mention, it's my primary heat source for the room). The entire defrost cycle lasts for just few minutes but due to terrible insulation of the house it drop noticeably:
image
This is an external temp sensor in the room away from ac unit which readings are used to control the ac using follow me feature via IR codes.

Is it possible to detect the defrost mode of an ac unit over uart? Did you stumbled upon some bits that could be indicating that the ac is in defrost mode but you couldn't decode earlier? My indoor ac unit displays dF on its LED display on which it normally displays current or set temperature so that information must be somewhere and my question is whether this place could be the UART bus :D

I will try and catch some UART logs and will attach them here if successful, but I wanted to already ask the question in case you already know the answer without the logs.

Regards,
Wojtek

@wojtek14a
Copy link
Author

wojtek14a commented Jan 9, 2022

I'm attaching the logs from UART communication, it's 5 minutes period, the dF showed on the LCD around 02:56:30 and disappeared around 02:58:00.

UPDATE
I think I've narrowed it down to this command:
AA:1F:AC:B3:00:00:00:00:03:0D:01:01:04:77:2A:A8:C0:FF:00:00:00:00:00:00:00:00:00:00:00:00:52:12
It appears at 02:56:20 and 02:58:19

In wider time frame I can see it appears exactly every 2 minutes, few seconds after sending follow me IR code :(

logs_defrost.txt

@reneklootwijk
Copy link
Owner

reneklootwijk commented Jan 9, 2022

The logs you provided might not show everything communicated over the UART. What I notice is the value of byte 16 of the C0 report. Byte 16, as far as I understand, is used to specify a failure code. In the provided log the value of byte 16 becomes 19 at 02:59:11 until the end of the log. 19 is one of the values I do not know what it means :-(. However, this does not match the time you specified maybe because the time in the log is off. Can you provide a log of a larger period?

@reneklootwijk
Copy link
Owner

reneklootwijk commented Jan 9, 2022

Found it, stupid of me. 16 is hex so 25 decimal which means: Heating and cold wind protection

So yes it is in the UART in byte 16 of the C0 response. However, Sergey likely did not implement this parsing in his code.

@DjordjeMandic
Copy link

I have added some logs to dudanov/MideaUART#18

I am blind or there is no change in byte16. Chatgpt o1-preview also cannot find indicator for defrost cycle on my unit.

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

3 participants