Hi @arboeh,
I found your add-on while trying to figure out a way that my Huawei inverter starts to speak home assistant.
I like the idea to do it via MQTT (I have a separate MQTT instance running) etc.
I tried to set up, but it runs into timeouts (v1.4.2)
But nevertheless, although I am not sure, it connects to MQTT just fine (and the 50+ entities become available in HA)
.
And it also connects to the inverter (via the dongle) fine, but only initially and does not produce any data at all.
Instead, it runs into a timeout right away. At least it is what it seems to me.
But I might got it wrong here. Or what does it mean,
2026-01-08 23:25:31,536 - huawei.main - INFO - Connected (Slave ID: 2)
But five seconds, the following happens each time:
> 2026-01-08 23:25:36,545 - huawei_solar.huawei_solar - ERROR - Timeout while waiting for connection. Reconnecting
> Traceback (most recent call last):
> File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
> return await fut
> ^^^^^^^^^
> File "/usr/lib/python3.12/asyncio/locks.py", line 212, in wait
> await fut
> asyncio.exceptions.CancelledError
> The above exception was the direct cause of the following exception:
> Traceback (most recent call last):
> File "/usr/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 150, in _communication_lock
> await asyncio.wait_for(
> File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
> async with timeouts.timeout(timeout):
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
> raise TimeoutError from exc_val
> TimeoutError
> 2026-01-08 23:25:41,563 - huawei_solar.huawei_solar - ERROR - Timeout while waiting for connection. Reconnecting
> Traceback (most recent call last):
> File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
> return await fut
> ^^^^^^^^^
> File "/usr/lib/python3.12/asyncio/locks.py", line 212, in wait
> await fut
> asyncio.exceptions.CancelledError
> The above exception was the direct cause of the following exception:
> Traceback (most recent call last):
> File "/usr/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 150, in _communication_lock
> await asyncio.wait_for(
> File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
> async with timeouts.timeout(timeout):
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
> raise TimeoutError from exc_val
> TimeoutError
> 2026-01-08 23:25:46,566 - huawei_solar.huawei_solar - ERROR - Timeout while waiting for connection. Reconnecting
> Traceback (most recent call last):
> File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
> return await fut
> ^^^^^^^^^
> File "/usr/lib/python3.12/asyncio/locks.py", line 212, in wait
> await fut
> asyncio.exceptions.CancelledError
> The above exception was the direct cause of the following exception:
> Traceback (most recent call last):
> File "/usr/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 150, in _communication_lock
> await asyncio.wait_for(
> File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
> async with timeouts.timeout(timeout):
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
> raise TimeoutError from exc_val
> TimeoutError
> 2026-01-08 23:25:51,571 - huawei_solar.huawei_solar - ERROR - Timeout while waiting for connection. Reconnecting
> Traceback (most recent call last):
> File "/usr/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
> return await fut
> ^^^^^^^^^
> File "/usr/lib/python3.12/asyncio/locks.py", line 212, in wait
> await fut
> asyncio.exceptions.CancelledError
> The above exception was the direct cause of the following exception:
> Traceback (most recent call last):
> File "/usr/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 150, in _communication_lock
> await asyncio.wait_for(
> File "/usr/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
> async with timeouts.timeout(timeout):
> ^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
> raise TimeoutError from exc_val
> TimeoutError
Any idea? Any suggestion?
It runs on the laetest HA OS.
Firmware etc.:
Dongle V200R022C10SPC312
Inverter (20KTL-M2) V100R001C00SPC173
HA OS 2026.1
Thanks,
HANT
PS. Other solutions seem to suffer the same fate.