Hey, does anyone can support with this issue?
I’m currently setting up a new HA OS as my current one is more like a sandbox and running in a docker container.
My Huawei Inverter has a Dongle connected which is connected to my network with a fixed IP.
Version “old” HA: 2023.12.3 (don’t want to update as this is working fine)
Version “new” HA: 2023.12.4
integration version on both HA: 1.2.9 (tried this as this is working on my “old” HA, but also tried 1.3.1 and had the same issue)
On my “old” HA running in docker the integration is working fine, I’m getting all data and had no such error within the last 7 months (since I configured the integration the first time).
Now on my “new” HA I started adding all integration I’d need, but when trying to configure this integration with IP, port (502 or 6607 tried both) and slave ID’s “1” as the dongle is connected, I’m always getting this warnings and error:
This error originated from a custom integration.
Logger: huawei_solar.huawei_solar
Source: custom_components/huawei_solar/config_flow.py:115
Integration: Huawei Solar (documentation, issues)
First occurred: 11:48:06 (1 occurrences)
Last logged: 11:48:06
Could not read register value, has another device interrupted the connection?
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py:348
First occurred: 09:01:19 (8 occurrences)
Last logged: 11:48:10
Modbus client is not connected to the inverter.
NoneType: None
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py:184
First occurred: 11:48:54 (1 occurrences)
Last logged: 11:48:54
Aborting client creation due to error.
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 398, in _read_registers
return await _do_read()
^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/backoff/_async.py”, line 151, in retry
ret = await target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/backoff/_async.py”, line 151, in retry
ret = await target(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py”, line 351, in _do_read
response = await self._client.read_holding_registers(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/pymodbus/client/base.py”, line 207, in async_execute
raise ModbusIOException(
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] ERROR: No response received after 3 retries
+++
at the same time the integration on my “old” HA is still working fine…
Can anyone support?
thx & br