paveldn / haier-esphome

Haier ac integration for ESPHome
76 stars 13 forks source link

Looks like no communication with airco #32

Closed Keeze closed 7 months ago

Keeze commented 7 months ago

I just updated a rather old version of the program on the esp in one of my airco's to be able to update in the future. This is an airco with the Smartair2 protocol.

This is a D1 mini with the datawires soldered to RX and TX. It did always work with the old version.

When I start the module ans try to send a command it gives this log.

INFO Trying to connect to airco-evaline.local in the background INFO Successfully connected to airco-evaline.local [16:40:31][I][app:102]: ESPHome version 2023.8.3 compiled on Nov 9 2023, 16:39:26

[16:40:31][C][wifi:379]: Local MAC: 68:C6:3A:F4:B7:63 [16:40:31][C][wifi:380]: SSID: 'hoekelen'[redacted] [16:40:31][C][wifi:381]: IP Address: 192.168.1.112 [16:40:31][C][wifi:382]: BSSID: 80:2A:A8:81:12:E7[redacted]

[16:40:31][C][wifi:386]: Signal strength: -68 dB ▂▄▆█ [16:40:31][C][wifi:390]: Channel: 4 [16:40:31][C][wifi:391]: Subnet: 255.255.255.0 [16:40:31][C][wifi:392]: Gateway: 192.168.1.1 [16:40:31][C][wifi:393]: DNS1: 192.168.1.1 [16:40:31][C][wifi:394]: DNS2: 0.0.0.0

[16:40:31][C][logger:302]: Level: DEBUG [16:40:31][C][logger:303]: Log Baud Rate: 0 [16:40:31][C][logger:305]: Hardware UART: UART0 [16:40:31][C][uart.arduino_esp8266:102]: UART Bus: [16:40:31][C][uart.arduino_esp8266:103]: TX Pin: GPIO1 [16:40:31][C][uart.arduino_esp8266:104]: RX Pin: GPIO3 [16:40:31][C][uart.arduino_esp8266:106]: RX Buffer Size: 256 [16:40:31][C][uart.arduino_esp8266:108]: Baud Rate: 9600 baud [16:40:31][C][uart.arduino_esp8266:109]: Data Bits: 8 [16:40:31][C][uart.arduino_esp8266:110]: Parity: NONE [16:40:31][C][uart.arduino_esp8266:111]: Stop bits: 1 [16:40:31][C][uart.arduino_esp8266:113]: Using hardware serial interface. [16:40:31][C][haier.climate:228]: Haier Climate 'Airco Evaline' [16:40:31][C][haier.climate:229]: Device communication status: none [16:40:31][C][haier.climate:131]: Protocol version: smartAir2 [16:40:31][C][web_server:161]: Web Server: [16:40:31][C][web_server:162]: Address: airco-evaline.local:80

[16:40:31][C][mdns:113]: Hostname: airco-evaline [16:40:31][C][ota:093]: Over-The-Air Updates: [16:40:32][C][ota:094]: Address: airco-evaline.local:8266 [16:40:32][C][ota:097]: Using Password. [16:40:32][C][api:138]: API Server: [16:40:32][C][api:139]: Address: airco-evaline.local:6053 [16:40:32][C][api:141]: Using noise encryption: YES [16:40:33][D][api:102]: Accepted 192.168.1.7 [16:40:33][W][component:204]: Component api took a long time for an operation (0.36 s). [16:40:33][W][component:205]: Components should block for at most 20-30ms. [16:40:33][D][haier.protocol:019]: Sending frame: type 61, data: 00 07 [16:40:33][D][haier.protocol:019]: Frame found: type 62, data: 45 2B 2B 32 2E 31 38 00 31 37 30 36 32 36 30 30 F1 00 00 31 37 30 35 32 36 30 30 01 55 2D 41 43 00 00 00 00 00 04 [16:40:34][D][api.connection:1031]: Home Assistant 2023.11.1 (192.168.1.7): Connected successfully [16:40:35][D][haier.protocol:019]: Sending frame: type 01, data: 4D 01 [16:40:35][I][haier.climate:090]: Answer timeout for command 01, phase 5, timeout counter 1 [16:40:37][D][haier.protocol:019]: Sending frame: type 01, data: 4D 01 [16:40:37][I][haier.climate:090]: Answer timeout for command 01, phase 5, timeout counter 2 [16:40:39][D][haier.protocol:019]: Sending frame: type 01, data: 4D 01 [16:40:39][I][haier.climate:090]: Answer timeout for command 01, phase 5, timeout counter 3 [16:40:48][D][climate:011]: 'Airco Evaline' - Setting [16:40:48][D][climate:015]: Mode: HEAT [16:40:48][D][Control:300]: Control call [16:40:48][W][haier.climate:302]: Can't send control packet, first poll answer not received [16:40:49][D][haier.protocol:019]: Sending frame: type 61, data: 00 07 [16:40:49][I][haier.climate:090]: Answer timeout for command 61, phase 1, timeout counter 1 [16:40:51][D][haier.protocol:019]: Sending frame: type 61, data: 00 07 [16:40:51][D][haier.protocol:019]: Frame found: type 62, data: 45 2B 2B 32 2E 31 38 00 31 37 30 36 32 36 30 30 F1 00 00 31 37 30 35 32 36 30 30 01 55 2D 41 43 00 00 00 00 00 04 [16:40:53][D][haier.protocol:019]: Sending frame: type 01, data: 4D 01 [16:40:53][I][haier.climate:090]: Answer timeout for command 01, phase 5, timeout counter 1

The airco is present in Home assistant, But I can't do anything with it and there is no feed-back. Anny clues what I am doing wrong here?

Cheers, Kees

Keeze commented 7 months ago

Read in the forums that I should try the Hon protocol, which worked!