Hi All,
I configured the AirCon addon to run my AirConditioner through the AEH-W4E1 HW. The addon detect corretcly the wifi HW of the AC but it seems having issue with MQTT.
Here the AirCon addon logs:
D0408 16:25:41.998 selector_events.py:58] Using selector: EpollSelector
D0408 16:25:42.764 notifier.py:112] [KeepAlive] Sending POST http://hidden1/local_reg.json {"local_reg": {"ip": "hidden2", "notify": 1, "port": hidden3, "uri": "/local_lan"}}
Traceback (most recent call last):
File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/app/aircon/__main__.py", line 304, in <module>
asyncio.run(run(parsed_args))
File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/app/aircon/__main__.py", line 253, in run
query_status_worker(devices), notifier.start(session))
File "/app/aircon/__main__.py", line 153, in setup_and_run_http_server
await site.start()
File "/usr/local/lib/python3.7/site-packages/aiohttp-3.7.4-py3.7-linux-aarch64.egg/aiohttp/web_runner.py", line 128, in start
reuse_port=self._reuse_port,
File "/usr/local/lib/python3.7/asyncio/base_events.py", line 1389, in create_server
% (sa, err.strerror.lower())) from None
OSError: [Errno 98] error while attempting to bind on address ('::', hidden3, 0, 0): address already in use
Here the CORE logs:
Platform mqtt does not generate unique IDs. ID ca2c4fad63c2 already exists - ignoring climate.piano_terra
16:29:10 – (ERRORE) Termostato - il messaggio si è verificato per la prima volta alle 4 aprile 2022, 23:04:06 e compare 9587 volte
Here the MQTT logs:
1649428150: New connection from 172.30.32.1 on port hidden3.
1649428150: New client connected from 172.30.32.1 as auto-4BE41805-BCD8-8468-8BFF-5C3F78D43EE0 (p2, c1, k60, u'hidden4').
1649428150: Socket error on client auto-4BE41805-BCD8-8468-8BFF-5C3F78D43EE0, disconnecting.
```Any ideas on how to solve it?
Thanks in advance
Alessandro