esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
288 stars 34 forks source link

Unsupported message received: type 62 data #5558

Open trackerr opened 3 months ago

trackerr commented 3 months ago

The problem

Log shows: Unsupported message received: type 62 data

Which version of ESPHome has the issue?

ESPHome 2024.2.1

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.2.5

What platform are you using?

ESP32

Board

Esp32dev

Component causing the issue

No response

Example YAML snippet

haier.protocol:013]: Unsupported message received: 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 [10:50:11][W][haier.protocol:013]: Message handler error, msg=62, err=1 [10:50:11][W][haier.climate:220]: Answer timeout for command 61, phase SENDING_INIT_1

Anything in the logs that might be useful for us?

No response

Additional information

The error also showed on prevoius versions.

Other than the log mentioning it, all normal use seems to work without problems. It is just the error message showing in the logs.

paveldn commented 3 months ago

Hi @trackerr This kind of message usually pops up when your AC answers slower than expected. In the documentation timeout for AC answers is 50 ms by default Haier component uses 200 ms and still for some models timeouts happen from time to time. In case if answer arrives later than expected it is interpreted as a request, not as an answer and this request from the AC side is not supported (that is why the error message has this form). You can try increasing timeout by using the answer_timeout option and setting it to 250ms or even 300ms, or since everything is working just ignore error messages.

Example of 300 ms timeout:

climate:
  - platform: haier
    protocol: hOn
    name: Haier AC
    answer_timeout: 300ms