No Modbus Connection #376
pedroplusrodrigues
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whatver i do - whatever i try: NO Connection
Ich have HA running on unraid and i tried literally everything. Direct , usb dongle, protoss ethernet. Installed the beta.
Need help. I suspect that something on my System prevents an external connection.
Here is my logfile:
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py:206
First occurred: 08:55:38 (7 occurrences)
Last logged: 08:56:16
Aborting client creation due to error.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py", line 200, in create_rtu
await huawei_solar._initialize()
File "/usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py", line 104, in _initialize
self.time_zone = (await self.get(rn.TIME_ZONE)).value
File "/usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py", line 223, in get
return (await self.get_multiple([name], slave))[0]
File "/usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py", line 258, in get_multiple
response = await self._read_registers(registers[0].register, total_length, slave)
File "/usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py", line 350, in _read_registers
async with self._communication_lock():
File "/usr/local/lib/python3.10/contextlib.py", line 199, in aenter
return await anext(self.gen)
File "/usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py", line 133, in _communication_lock
if not self._client.connected_event.is_set():
AttributeError: 'AsyncHuaweiSolarModbusSerialClient' object has no attribute 'connected_event'
Beta Was this translation helpful? Give feedback.
All reactions