Connection to Inverter SUN2000-10KTL-M1 failed #508
Replies: 3 comments 2 replies
-
Do you have a usb dongle ? Inwerter ip is 192.168.200.1 but to HA i add ip of the usb dongiel, port: 502, slave id: 1 Before that you need to log and change Modbus-TCP to and set unrestricted https://github.com/wlcrs/huawei_solar/files/9150658/sdonglea-05-modbus-tcp-guide.pdf |
Beta Was this translation helpful? Give feedback.
-
Default password is 00000a or 000000a Password reset |
Beta Was this translation helpful? Give feedback.
-
Log in to inwerter (password is 00000a or 000000a), qr code is on right side and change Dongle parameter settings https://github.com/wlcrs/huawei_solar/files/9150658/sdonglea-05-modbus-tcp-guide.pdf if password was changed by installer, consider resetting your password Password reset |
Beta Was this translation helpful? Give feedback.
-
I have HA installed on a Raspberry Pi 4. The Pi is connected to my home network using a cable.
The inverter is connected to the Pi using WiFi provided by the inverter (SUN2000-TAxxxxxxxx). The inverter's ip-adres is 192.168.200.1 and my Pi is getting an ip-adres 192.168.200.2. When trying to add the integration I fill out the ip-adres, port number and device id.
When I trie to connect I get "connection failed".
From the Pi I tried to ping the inverter, but I get a timeout.
I connected a laptop to the Inverters network and tried to ping the Inverter and then I get an answer. When pinging the Pi, I get no answer.
I tried to find an answer by googling my problem but no luck so far. Can anyone help me out? I think it must a configuration on the Pi, but I don't have a clue.
Network setup:
Logfile:
2023-10-16 14:39:29.486 ERROR (MainThread) [huawei_solar.huawei_solar] Timeout while waiting for connection. Reconnecting...
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 490, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/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.11/site-packages/huawei_solar/huawei_solar.py", line 141, in _communication_lock
await asyncio.wait_for(self._client.connected_event.wait(), WAIT_FOR_CONNECTION_TIMEOUT)
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
2023-10-16 14:39:29.502 ERROR (MainThread) [huawei_solar.huawei_solar] Aborting client creation due to error.
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 490, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/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.11/site-packages/huawei_solar/huawei_solar.py", line 178, in create
await huawei_solar._initialize()
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 107, in _initialize
self.time_zone = (await self.get(rn.TIME_ZONE)).value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 241, in get
return (await self.get_multiple([name], slave))[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 276, in get_multiple
response = await self._read_registers(registers[0].register, total_length, slave)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 396, in _read_registers
async with self._communication_lock():
File "/usr/local/lib/python3.11/contextlib.py", line 204, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 145, in _communication_lock
raise err
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 141, in _communication_lock
await asyncio.wait_for(self._client.connected_event.wait(), WAIT_FOR_CONNECTION_TIMEOUT)
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 492, in wait_for
raise exceptions.TimeoutError() from exc
TimeoutError
2023-10-16 14:39:39.517 WARNING (MainThread) [pymodbus.logging] Failed to connect
Beta Was this translation helpful? Give feedback.
All reactions