paveldn / haier-esphome

Haier ac integration for ESPHome
72 stars 13 forks source link

Haier smartAir2 not responding after power outage #43

Open ssrsmart opened 4 weeks ago

ssrsmart commented 4 weeks ago

I Have 6 GE split units " rebranded haier ac smartAir2", controlled by NodeMCU and esphome haier integration, the ac units responding so fast and reliable until a power outage accrue, after the power back some ac units not responding and the problem accur with different ac randomly, the only way to solve the issue is by turning off/on the power to the ac.

Screenshot_2024-05-03-23-21-26-97_c3a231c25ed346e59462e84656a70e50

paveldn commented 4 weeks ago

Hi @ssrsmart , I need logs. Can you please get logs from the devices when they can't communicate with AC?

ssrsmart commented 4 weeks ago

Hi @ssrsmart , I need logs. Can you please get logs from the devices when they can't communicate with AC?

Hi, I can't get logs becouse devices run haier integration remains in offline in esphome, the devices connected to the network and responding from home assistance

Uploading Screen_Recording_20240504_192206_Home Assistant.mp4…

paveldn commented 4 weeks ago

OK. Got it. I need more details. What kind of board are you using? What version of my ESPHome and my Haier component (from ESPHome, from my repo master branch, dev branch, experimental branch)? I saw this kind of behavior in the past. The problem was that when there was no communication with AC ESP was trying to establish a connection by sending requests at a high rate (every couple of seconds) and this was somehow interfering with the WiFi component. But I think I fixed it months ago. So my hypothesis there 2 problems:

  1. For some reason after the outage your AC is not answering ESP (probably because ESP is aggressively trying to communicate before AC is initialized)
  2. This is causing problems with WiFi communication.

That is why I need all the details to try to reproduce the problem.