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

Problem with Haier Tundra #6

Open
piio opened this issue Mar 19, 2021 · 4 comments
Open

Problem with Haier Tundra #6

piio opened this issue Mar 19, 2021 · 4 comments

Comments

@piio
Copy link

piio commented Mar 19, 2021

Hi,

I have Haier Tundra (AS50TDDHRA-CL// 1U50MEEFRA) with original wifi dongle (in Haier app version is R_1.0.00/e_2.5.14).
I want to get possibility to manage this device using Home Assistant.

I use Wemos D1 mini, connected USB cable.
When I use Haier.h in version 'Create by Miguel Ángel López on 20/07/19' it connects ok.
But when I want to use newer version - from Your repository I got problem with 'Invalid temperatures'.

using Haier.h:
[13:01:51][D][Haier:181]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[13:01:51][W][Haier:198]: Invalid temperatures
[13:01:55][D][Haier:157]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[13:01:56][D][Haier:181]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[13:01:56][W][Haier:198]: Invalid temperatures
[13:02:00][D][Haier:157]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[13:02:01][D][Haier:181]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[13:02:01][W][Haier:198]: Invalid temperatures

Using Haierv2.h: (also there is problem with connecting/disconnecting)
[[12:48:49][D][time:040]: Synchronized time: Fri Mar 19 12:48:49 2021
[12:48:50][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:50][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:50][D][time:040]: Synchronized time: Fri Mar 19 12:48:50 2021
[12:48:50][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:50][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:50][D][time:040]: Synchronized time: Fri Mar 19 12:48:50 2021
[12:48:50][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:51][D][Haier:372]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[12:48:51][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:52][D][Haier:411]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[12:48:52][W][Haier:427]: Invalid temperatures
[12:48:52][D][time:040]: Synchronized time: Fri Mar 19 12:48:51 2021
[12:48:52][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:52][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:52][D][time:040]: Synchronized time: Fri Mar 19 12:48:52 2021
[12:48:52][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:53][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:53][D][time:040]: Synchronized time: Fri Mar 19 12:48:53 2021
[12:48:53][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:53][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:53][D][time:040]: Synchronized time: Fri Mar 19 12:48:53 2021
[12:48:53][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:53][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:53][D][time:040]: Synchronized time: Fri Mar 19 12:48:53 2021
[12:48:54][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:54][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:54][D][time:040]: Synchronized time: Fri Mar 19 12:48:54 2021
[12:48:54][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:54][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:54][D][time:040]: Synchronized time: Fri Mar 19 12:48:54 2021
[12:48:55][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:55][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:55][D][time:040]: Synchronized time: Fri Mar 19 12:48:55 2021
[12:48:55][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:55][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:55][D][time:040]: Synchronized time: Fri Mar 19 12:48:55 2021
[12:48:56][D][Haier:372]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[12:48:57][D][Haier:411]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[12:48:57][W][Haier:427]: Invalid temperatures
[12:48:57][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:58][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:58][D][time:040]: Synchronized time: Fri Mar 19 12:48:58 2021
[12:48:58][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:58][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:58][D][time:040]: Synchronized time: Fri Mar 19 12:48:58 2021
[12:48:59][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:59][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:59][D][time:040]: Synchronized time: Fri Mar 19 12:48:59 2021
[12:48:59][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:48:59][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:48:59][D][time:040]: Synchronized time: Fri Mar 19 12:48:59 2021
[12:49:00][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:00][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:00][D][time:040]: Synchronized time: Fri Mar 19 12:49:00 2021
[12:49:00][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:00][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:00][D][time:040]: Synchronized time: Fri Mar 19 12:49:00 2021
[12:49:01][D][Haier:372]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[12:49:02][D][Haier:411]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[12:49:02][W][Haier:427]: Invalid temperatures
[12:49:02][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:02][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:02][D][time:040]: Synchronized time: Fri Mar 19 12:49:02 2021
[12:49:02][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:02][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:02][D][time:040]: Synchronized time: Fri Mar 19 12:49:02 2021
[12:49:03][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:03][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:03][D][time:040]: Synchronized time: Fri Mar 19 12:49:03 2021
[12:49:03][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:03][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:03][D][time:040]: Synchronized time: Fri Mar 19 12:49:03 2021
[12:49:04][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:04][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:04][D][time:040]: Synchronized time: Fri Mar 19 12:49:04 2021
[12:49:04][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:04][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:04][D][time:040]: Synchronized time: Fri Mar 19 12:49:04 2021
[12:49:04][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:04][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:04][D][time:040]: Synchronized time: Fri Mar 19 12:49:04 2021
[12:49:05][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:05][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:05][D][time:040]: Synchronized time: Fri Mar 19 12:49:05 2021
[12:49:05][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:05][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:05][D][time:040]: Synchronized time: Fri Mar 19 12:49:05 2021
[12:49:06][D][Haier:372]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[12:49:07][D][Haier:411]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[12:49:07][W][Haier:427]: Invalid temperatures
[12:49:07][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:07][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:07][D][time:040]: Synchronized time: Fri Mar 19 12:49:07 2021
[12:49:08][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:08][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:08][D][time:040]: Synchronized time: Fri Mar 19 12:49:08 2021
[12:49:08][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:08][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:08][D][time:040]: Synchronized time: Fri Mar 19 12:49:08 2021
[12:49:08][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:08][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:09][D][time:040]: Synchronized time: Fri Mar 19 12:49:08 2021
[12:49:09][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:09][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:09][D][time:040]: Synchronized time: Fri Mar 19 12:49:09 2021
[12:49:09][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:09][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:10][D][time:040]: Synchronized time: Fri Mar 19 12:49:09 2021
[12:49:10][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:10][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:10][D][time:040]: Synchronized time: Fri Mar 19 12:49:10 2021
[12:49:10][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:10][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:10][D][time:040]: Synchronized time: Fri Mar 19 12:49:10 2021
[12:49:11][D][Haier:372]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[12:49:12][D][Haier:411]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[12:49:12][W][Haier:427]: Invalid temperatures
[12:49:12][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[12:49:12][D][api.connection:604]: Client 'Home Assistant 2021.3.4 (192.168.1.1)' connected successfully!
[12:49:12][D][time:040]: Synchronized time: Fri Mar 19 12:49:12 2021
[12:49:12][D][api:067]: Disconnecting Home Assistant 2021.3.4 (192.168.1.1)
[13:01:51][D][Haier:181]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[13:01:51][W][Haier:198]: Invalid temperatures
[13:01:55][D][Haier:157]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[13:01:56][D][Haier:181]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[13:01:56][W][Haier:198]: Invalid temperatures
[13:02:00][D][Haier:157]: POLL: 255 255 10 64 0 0 0 0 0 1 77 1 153 179 180
[13:02:01][D][Haier:181]: Readed message ALBA: 255 255 34 64 0 0 0 0 0 2 109 1 0 21 0 32 0 127 0 0 0 0 0 1 0 3 0 0 0 24 0 0 0 0 0 7 169 0 0 0 240 167 198 75 0 0 0
[13:02:01][W][Haier:198]: Invalid temperatures

Can anybody help me with this issue?

@albetaCOM
Copy link
Owner

Hi @piio, sorry I've not been very active lately.

When using Haierv2.h are you using the ESPHome v1.15.0b4 or higher? Apart from that, I was having issues with desconnections too when the ip address of the esp was not static, I don't know if it may be the case.

About the temperatures, it shows that message if the read temperatures are not in the following range:
// temperatures supported by AC system
#define MIN_SET_TEMPERATURE 16
#define MAX_SET_TEMPERATURE 30

//if internal temperature is outside of those boundaries, message will be discarded
#define MIN_VALID_INTERNAL_TEMP 10
#define MAX_VALID_INTERNAL_TEMP 50

This can mean that your AC unit firmware version is not compatible with this esp firmware version, that the messages are composed different.

@piio
Copy link
Author

piio commented Mar 25, 2021

Hi @albetaCOM, thank you for your answer.
I'm using ESPHome in lastest version - 1.16.2. I configured static IP so this disconnects are strange for me for now, but they occurs only in Haierv2.h, when I'm using Haier.h there is no such disconnects. I will try to debug this.

I will try to upload to my Wemos the oldest version of your code and go to the newest - when I'm using the oldest version of Haier.h by "Miguel Ángel López on 20/07/19" my AC is working correctly.

I will also try to enable debug messages to compare with working Haier.h code.

@mikechristiansen
Copy link

Hi @piio,
I have the same issue. Did you ever get any further?
It looks like my AC uint might have a very slightly different protocol than the one decoded by instalator and used by @albetaCOM in this project.
My AC is a Haier ducted uint, ADH105M1erg. The wifi module is connected with a small connector on the board not a USB connector.
Also im attempting to use this outside of homeassistant using MQTT with nodered. Shouldn't make a difference tho?

Thanks @albetaCOM for the fantastic work on this!

@OwlBawl
Copy link

OwlBawl commented Jul 13, 2022

Yep, same here
I have SmartAir2 model AD35S2SS1FA - can control with "Miguel Ángel López on 20/07/19" version,
when trying Haier.h of @albetaCOM - can't control. Nothing work's.
But latest hOn Flexis can be controlled for me with Haierv2.h
HaierFlexisPlus.h - to me seems to be for someones individual use, not working with latest Flexis models I have.

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

4 participants