deiger / AirCon

Scripts for controlling Air Conditioners, e.g. with HiSense modules.
GNU General Public License v3.0
219 stars 58 forks source link

One AC working, 3 not working. Multiple AC´s Home Assistant #284

Open bratwurstbraeter opened 5 months ago

bratwurstbraeter commented 5 months ago

Hello,

i have 4 Hisense AC´s and want to control them by Home Assistant. I have installed Mosquito broker, MQTT and HiSense Air Conditioners Add-On Version 0.3.17.

Now in MQTT i can see all my 4 AC´s as Devices but only one ist available. At the Protocoll in the HiSense Air Conditioners Add-On i can see:

I0701 16:06:48.032 web_log.py:206] 192.168.0.182 [01/Jul/2024:14:06:48 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 482 "-" "-" I0701 16:06:49.047 query_handlers.py:139] Decrypted: {"seq_no":856,"data":{"name":"f_e_push","base_type":"integer","value":0}} I0701 16:06:49.049 web_log.py:206] 192.168.0.182 [01/Jul/2024:14:06:49 +0000] "POST /local_lan/property/datapoint.json?cmd_id=785&status=200 HTTP/1.1" 200 150 "-" "-" E0701 16:06:49.090 notifier.py:121] Failed to connect to 192.168.0.181, maybe it is offline? E0701 16:06:49.125 notifier.py:121] Failed to connect to 192.168.0.183, maybe it is offline? E0701 16:06:49.127 notifier.py:121] Failed to connect to 192.168.0.180, maybe it is offline? E0701 16:06:50.726 notifier.py:121] Failed to connect to 192.168.0.181, maybe it is offline? E0701 16:06:50.769 notifier.py:121] Failed to connect to 192.168.0.180, maybe it is offline? E0701 16:06:50.771 notifier.py:121] Failed to connect to 192.168.0.183, maybe it is offline?

All AC´s are the same Wifi, the same IP Subnet and managed by the same Account in the same App.

Can anyone help me get the other 3 running.

Thank you.

pjpeartree commented 3 months ago

Hi,

I'm experiencing the same issue, but I'm running on a Docker container. The integrations work fine for a few hours after restarting the container.

Any advice on how to resolve this would be greatly appreciated.

Thank you.

I0806 00:53:14.974 web_log.py:206] 192.168.1.116 [06/Aug/2024:00:53:14 +0000] "POST /local_lan/property/datapoint.json?cmd_id=853&status=404 HTTP/1.1" 200 150 "-" "-" I0806 00:53:15.050 web_log.py:206] 192.168.1.114 [06/Aug/2024:00:53:15 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 482 "-" "-" I0806 00:53:15.062 web_log.py:206] 192.168.1.116 [06/Aug/2024:00:53:15 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 482 "-" "-" I0806 00:53:15.063 web_log.py:206] 192.168.1.112 [06/Aug/2024:00:53:15 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 482 "-" "-" I0806 00:53:15.092 query_handlers.py:139] Decrypted: {"seq_no":88,"data":{"name":"t_work_mode","base_type":"integer","value":1}} I0806 00:53:15.093 web_log.py:206] 192.168.1.114 [06/Aug/2024:00:53:15 +0000] "POST /local_lan/property/datapoint.json?cmd_id=854&status=200 HTTP/1.1" 200 150 "-" "-" I0806 00:53:15.118 query_handlers.py:139] Decrypted: {"seq_no":89,"data":{"name":"t_work_mode","base_type":"integer","value":2}} I0806 00:53:15.119 web_log.py:206] 192.168.1.112 [06/Aug/2024:00:53:15 +0000] "POST /local_lan/property/datapoint.json?cmd_id=854&status=200 HTTP/1.1" 200 150 "-" "-" I0806 00:53:15.119 query_handlers.py:139] Decrypted: {"seq_no":89,"data":{"name":"t_work_mode","base_type":"integer","value":2}} I0806 00:53:15.120 web_log.py:206] 192.168.1.116 [06/Aug/2024:00:53:15 +0000] "POST /local_lan/property/datapoint.json?cmd_id=854&status=200 HTTP/1.1" 200 150 "-" "-" I0806 00:53:15.144 web_log.py:206] 192.168.1.115 [06/Aug/2024:00:53:15 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 482 "-" "-" I0806 00:53:15.149 web_log.py:206] 192.168.1.113 [06/Aug/2024:00:53:15 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 482 "-" "-" I0806 00:53:15.187 query_handlers.py:139] Decrypted: {"seq_no":89,"data":{"name":"t_work_mode","base_type":"integer","value":2}} I0806 00:53:15.187 web_log.py:206] 192.168.1.113 [06/Aug/2024:00:53:15 +0000] "POST /local_lan/property/datapoint.json?cmd_id=854&status=200 HTTP/1.1" 200 150 "-" "-" I0806 00:53:15.289 query_handlers.py:139] Decrypted: {"seq_no":89,"data":{"name":"t_work_mode","base_type":"integer","value":2}} I0806 00:53:15.290 web_log.py:206] 192.168.1.115 [06/Aug/2024:00:53:15 +0000] "POST /local_lan/property/datapoint.json?cmd_id=854&status=200 HTTP/1.1" 200 150 "-" "-" I0806 00:55:00.093 web_log.py:206] 192.168.1.115 [06/Aug/2024:00:55:00 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:55:00.111 web_log.py:206] 192.168.1.114 [06/Aug/2024:00:55:00 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:55:00.177 web_log.py:206] 192.168.1.112 [06/Aug/2024:00:55:00 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:55:00.276 web_log.py:206] 192.168.1.116 [06/Aug/2024:00:55:00 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:55:00.560 web_log.py:206] 192.168.1.113 [06/Aug/2024:00:55:00 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:56:45.264 web_log.py:206] 192.168.1.114 [06/Aug/2024:00:56:45 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:56:45.298 web_log.py:206] 192.168.1.112 [06/Aug/2024:00:56:45 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:56:45.316 web_log.py:206] 192.168.1.115 [06/Aug/2024:00:56:45 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:56:45.404 web_log.py:206] 192.168.1.116 [06/Aug/2024:00:56:45 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:56:45.482 web_log.py:206] 192.168.1.113 [06/Aug/2024:00:56:45 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:58:29.913 web_log.py:206] 192.168.1.114 [06/Aug/2024:00:58:29 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:58:29.917 web_log.py:206] 192.168.1.115 [06/Aug/2024:00:58:29 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:58:30.096 web_log.py:206] 192.168.1.112 [06/Aug/2024:00:58:30 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:58:30.100 web_log.py:206] 192.168.1.116 [06/Aug/2024:00:58:30 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" I0806 00:58:30.165 web_log.py:206] 192.168.1.113 [06/Aug/2024:00:58:30 +0000] "GET /local_lan/commands.json HTTP/1.1" 200 270 "-" "-" E0806 00:58:57.225 notifier.py:121] Failed to connect to 192.168.1.116, maybe it is offline? E0806 00:58:57.226 notifier.py:121] Failed to connect to 192.168.1.112, maybe it is offline? E0806 00:58:57.226 notifier.py:121] Failed to connect to 192.168.1.114, maybe it is offline? E0806 00:59:04.231 notifier.py:121] Failed to connect to 192.168.1.116, maybe it is offline? E0806 00:59:04.231 notifier.py:121] Failed to connect to 192.168.1.112, maybe it is offline? E0806 00:59:04.231 notifier.py:121] Failed to connect to 192.168.1.114, maybe it is offline? E0806 00:59:11.236 notifier.py:121] Failed to connect to 192.168.1.116, maybe it is offline? E0806 00:59:11.237 notifier.py:121] Failed to connect to 192.168.1.112, maybe it is offline? E0806 00:59:11.237 notifier.py:121] Failed to connect to 192.168.1.114, maybe it is offline? E0806 00:59:19.245 notifier.py:121] Failed to connect to 192.168.1.116, maybe it is offline? E0806 00:59:19.245 notifier.py:121] Failed to connect to 192.168.1.112, maybe it is offline? E0806 00:59:19.246 notifier.py:121] Failed to connect to 192.168.1.114, maybe it is offline? E0806 00:59:29.252 notifier.py:121] Failed to connect to 192.168.1.116, maybe it is offline? E0806 00:59:29.252 notifier.py:121] Failed to connect to 192.168.1.112, maybe it is offline? E0806 00:59:29.252 notifier.py:121] Failed to connect to 192.168.1.114, maybe it is offline? E0806 00:59:40.265 notifier.py:121] Failed to connect to 192.168.1.114, maybe it is offline? E0806 00:59:40.266 notifier.py:121] Failed to connect to 192.168.1.112, maybe it is offline?