AirCon icon indicating copy to clipboard operation
AirCon copied to clipboard

spam in the log and no devices appear

Open Simonee88 opened this issue 4 years ago • 3 comments

Hi I have installed the add-on following the instructions of the documentation, I have set my data in the config file but in the logs I am spammed this error

E0302 08:30:14.579 query_handlers.py:44] The key_id has been replaced!! Old ID was 65130; new ID is 63205. I0302 08:30:14.581 web_log.py:206] 192.168.1.62 [02/Mar/2021:07:30:14 +0000] "POST /local_lan/key_exchange.json HTTP/1.1" 404 212 "-" "-"

and no device appears on homeassistant

Simonee88 avatar Mar 02 '21 07:03 Simonee88

I have the same issue. After not using the AC for a while, the integration seems to stop working. Things I've tried:

  • Removed and re-added AC device from/via official app (hisense-eu)
  • Removed AddOn from HA and added it again
  • Enabling / disabling firewallrule for blocking inet access from AC (WAN out)

I'll keep playing and if I find something I'll update this thread. If anyone has tips/trics: please share :)

albertromkes avatar Jun 10 '21 17:06 albertromkes

After playing with it some more I found the solution:

  • Find the config_{name_ac}.json in the /config/hisense/ subdirectory (via the HA File Editor)
  • Rename or remove this file (make a backup, just to be sure)
  • Restart the HiSense Air Conditioners AddOn

A new config file will be generated and everything starts working again. I'm not sure what's causing this, but I noticed that the lanip_key in this config file was changed. Maybe an update from HiSense?

Anyway, I hope this is useful for somebody.

albertromkes avatar Jun 10 '21 19:06 albertromkes

Same behavior. I tried to delete and pairing again on Hismart Life app. Then HA stars to show it again but with no possibility to control it. I renamed json file as mentioned and restarted addon. Working at the moment.

aportillagithub avatar Aug 11 '21 19:08 aportillagithub