Can't connect to inverter anymore - worked before HA2025 and befor Huawei Solar 1.5.*** #920
Unanswered
johannsele
asked this question in
Setting up the integration
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the issue
Since updating Home Assistant to version 2025.2, I can no longer connect to my Huawei inverter using the Huawei Solar integration. Prior to this update, everything was working without issues. After attempting to update the Huawei Solar integration to version 1.5.*, the problems started.
I have tried uninstalling and reinstalling the integration using different versions of Huawei Solar, but none of these attempts resolved the issue. Currently, with version 1.5.3, I cannot establish a connection to the inverter.
A direct ping to the inverter from the command line returns responses within 10-15 ms, indicating that the device is reachable on the network.
Thank you for your help.
Describe your Huawei Solar Setup
Inverter Type: SUN2000-12KTL-M5
Inverter Firmware version: V200R023C10SPC206
sDongle present: Yes
sDongle Type: sDongleA-05 (WiFi / Ethernet)
sDongle Connectivity: WiFi
sDongle Firmware: V100R001C00SPC125
Power meter present: No
Optimizers Present: Yes, 4
Battery: No
Huawei Solar integration version: 1.5.3
How do you connect to the inverter?
Via the sDongle, WiFi connection.
Debuglog
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py:185
First occurred: February 1, 2025, 22:53:51 (16 occurrences)
Last logged: 08:18:04
Aborting client creation due to error
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 178, in create
client = AsyncHuaweiSolarModbusTcpClient(host, port, timeout)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/modbus.py", line 65, in init
super().init(host, port=port, timeout=timeout, reconnect_delay=RECONNECT_DELAY)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/huawei_solar/modbus.py", line 28, in init
super().init(*args, **kwargs, trace_connect=self._trace_connect) # forward all unused arguments
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AsyncModbusTcpClient.init() got an unexpected keyword argument 'trace_connect'
Please confirm the following:
[X] I'm running the latest release of Home Assistant.
[X] I'm running the latest release of this integration.
[X] I did not find an existing issue describing this problem.
I did upload the diagnostics-file that I could retrieve from the 'Devices & Services Page'
[X] I did upload the relevant debug logs (via 'Enable Debug Logging'-feature or by manually configuring HA logging)
Beta Was this translation helpful? Give feedback.
All reactions