[Bug]: When trying to connect to EMMA with SUN2000-17K-MB0 I get the following errors #945
Closed
3 of 5 tasks
Labels
bug
Something isn't working
Describe the issue
I tryied with Slave 0, 1 and AUTO
First error:
Logger: pymodbus.logging
Source: custom_components/huawei_solar/config_flow.py:204
integration: Huawei Solar (documentation, issues)
First occurred: 07:06:40 (4 occurrences)
Last logged: 10:50:28
Failed to connect [Errno 111] Connect call failed ('192.168.1.101', 502)
Failed to connect [Errno 111] Connect call failed ('192.168.1.101', 6607)
Second error:
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py:146
First occurred: 07:05:35 (10 occurrences)
Last logged: 10:50:33
Timeout while waiting for connection. Reconnecting
Traceback (most recent call last):
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/locks.py", line 213, 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/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 141, in _communication_lock
await asyncio.wait_for(
...<2 lines>...
)
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 506, in wait_for
async with timeouts.timeout(timeout):
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/timeouts.py", line 116, in aexit
raise TimeoutError from exc_val
TimeoutError
Third error:
Logger: custom_components.huawei_solar.config_flow
Source: custom_components/huawei_solar/config_flow.py:536
integration: Huawei Solar (documentation, issues)
First occurred: 07:06:46 (4 occurrences)
Last logged: 10:50:33
Unexpected exception while connecting via ModbusTCP
Traceback (most recent call last):
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 507, in wait_for
return await fut
^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/locks.py", line 213, in wait
await fut
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/huawei_solar/config_flow.py", line 536, in async_step_setup_network
info = await validate_network_setup(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
)
^
File "/config/custom_components/huawei_solar/config_flow.py", line 204, in validate_network_setup
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 422, in _read_registers
async with self._communication_lock():
~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/contextlib.py", line 214, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 141, in _communication_lock
await asyncio.wait_for(
...<2 lines>...
)
File "/usr/local/lib/python3.13/asyncio/tasks.py", line 506, in wait_for
async with timeouts.timeout(timeout):
~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/local/lib/python3.13/asyncio/timeouts.py", line 116, in aexit
raise TimeoutError from exc_val
TimeoutError
Last error:
Logger: pymodbus.logging
Source: runner.py:154
First occurred: 07:05:35 (10 occurrences)
Last logged: 10:50:33
Failed to connect [Errno 111] Connect call failed ('192.168.1.101', 502)
Failed to connect [Errno 111] Connect call failed ('192.168.1.101', 6607)
Describe your Huawei Solar Setup
Inverter Type: SUN2000-17K-MB0
Inverter Firmware version: V200R023C10SPC200
sDongle present: Yes
sDongle Type: EMMA-A02
sDongle Connectivitiy: Ethernet
sDongle Firmware: SmartHEMS V100R024C00SPC101
Power meter present: three phase
Optimizers Present: Yes
Battery: LUNA2000-15KW-C0
Battery Firmware version: V100R002C00SPC624
Huawei Solar integration version:
How do you connect to the inverter?
Via the SDongle, wired connection
Upload your Diagnostics File
Drag & Drop your Diagnostics File here.
Upload your relevant debug logs
Please confirm the following:
The text was updated successfully, but these errors were encountered: