Cannot connect the HA integration to the dongle via modbus - logs included #772
Replies: 3 comments 1 reply
-
@digijoebz The different subnet, unless your doing filtering between subnet/VLANs, should not pose a problem. In my own setup with 2 x M1 6kW cascaded and a sDongle in the primary inverter they are also on different subnets and VLANs. You might want to login to FusionSolar --> Device Management and run an update on the Modus version. You have SPC320 and SPC330 was released near 2 years ago (there is a newer version again...SPC335 iirc, but depending upon where you live, Huawei support may not make it available to you). |
Beta Was this translation helpful? Give feedback.
-
Thanks @Roving-Ronin for the quick reply! |
Beta Was this translation helpful? Give feedback.
-
Btw the inverter firmware they gave me was the SUN2000MAV100R001C00SPC164. They said V200 does not exist for the M1 - I have a SUN2000-6KTL-M1 |
Beta Was this translation helpful? Give feedback.
-
Hi - I am struggling to connect HA to my inverter's dongle. I have enabled modbus.
I tried to connect to both ports, logs are shown below. My installation seems fairly standard, I have 2 inverters + dongle. The only thing that is different is that the dongle is on a different subnet (192.168.1.x) to my HA installation (192.168.0.1). However I can ping the dongle from HA's terminal. I've also included a screenshot of the inverter firmware
and the dongle in the dhcp pool
A bit stuck what to try next, any help appreciated!
thanks
Joe
via 501
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py:203
First occurred: 9:49:43 AM (1 occurrences)
Last logged: 9:49:43 AM
Aborting client creation due to error.
Traceback (most recent call last):
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
return await fut
^^^^^^^^^
File "/usr/local/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/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 199, in create
await huawei_solar._initialize()
File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 118, in _initialize
self.time_zone = (await self.get(rn.TIME_ZONE)).value
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 271, in get
return (await self.get_multiple([name], slave))[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 308, in get_multiple
response = await self._read_registers(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 444, in _read_registers
async with self._communication_lock():
File "/usr/local/lib/python3.12/contextlib.py", line 210, in aenter
return await anext(self.gen)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/huawei_solar/huawei_solar.py", line 157, in _communication_lock
await asyncio.wait_for(
File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
async with timeouts.timeout(timeout):
File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in aexit
raise TimeoutError from exc_val
TimeoutError
via the 6607
Logger: pymodbus.logging
Source: runner.py:190
First occurred: 9:49:43 AM (1 occurrences)
Last logged: 9:49:43 AM
Failed to connect [Errno 111] Connect call failed ('192.168.1.10', 6607)
Beta Was this translation helpful? Give feedback.
All reactions