Can't connect to inverter Huawei Solar Integration V1.5.4 #946
mete111home
started this conversation in
Connecting to the inverter
Replies: 2 comments
-
Same problem here, but connecting to inversor directly. Stop working last week. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same problem since today or yesterday |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
Unfortunately I can't setup the Huawei Integration, because I can't connect to the inverter. Any suggestions what I can try?
Connection type: Wired Sdongle
Integration Version: V1.5.4
OS Version: Home Assistant OS 14.2
Home Assistant Core: 2025.2.1
Modbus TCP: activated (unrestricted)

Inverter Firmware: V100R001C20SPC144
Dongle Firmware: V200R022C10SPC200
Dongle IP: 192.168.178.45 (fixed)
Port testet: 502 and 6607
Slave-ID testet: 0,1,100, AUTO
LOG:
Logger: custom_components.huawei_solar.config_flow
Quelle: custom_components/huawei_solar/config_flow.py:508
Integration: Huawei Solar (Dokumentation, Probleme)
Erstmals aufgetreten: 13:37:34 (1 Vorkommnisse)
Zuletzt protokolliert: 13:37:34
Read exception while connecting via ModbusTCP
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/backoff/_async.py", line 151, in retry
ret = await target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/backoff/_async.py", line 151, in retry
ret = await target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 375, in _do_read
raise ConnectionInterruptedException(message)
huawei_solar.exceptions.ConnectionInterruptedException: Modbus client is not connected to the inverter
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/huawei_solar/config_flow.py", line 508, in async_step_setup_network
info = await validate_network_setup_auto_slave_discovery(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/config/custom_components/huawei_solar/config_flow.py", line 100, in validate_network_setup_auto_slave_discovery
bridge = await create_tcp_bridge(
^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 659, in create_tcp_bridge
return await _create(await AsyncHuaweiSolar.create(host, port, slave_id), slave_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 685, in _create
product_info = await HuaweiSolarProductInfo.retrieve_from_device(client, slave_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 67, in retrieve_from_device
) = await client.get_multiple(
^^^^^^^^^^^^^^^^^^^^^^^^^^
...<8 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 292, in get_multiple
response = await self._read_registers(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 429, in _read_registers
return await _do_read()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/backoff/_async.py", line 159, in retry
await _call_handlers(on_giveup, **details, exception=e)
File "/usr/local/lib/python3.13/site-packages/backoff/_async.py", line 37, in _call_handlers
await handler(details)
File "/usr/local/lib/python3.13/site-packages/backoff/_async.py", line 16, in f
return coro_or_func(*args, **kwargs)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 351, in backoff_giveup
raise ReadException(
f"Failed to read register {register} after {details['tries']} tries",
)
huawei_solar.exceptions.ReadException: Failed to read register 30000 after 6 tries
Beta Was this translation helpful? Give feedback.
All reactions