Hi,
I have a Huawei sun2000-6ktl-m1 with a wifi dongle. It has two wireless networks and I used another router to link the internal wifi (192.168.200.1 in my case) with the local network. In the end I managed to get HA to see it, but I get now this error in the log :
2021-04-22 14:15:13 ERROR (SyncWorker_0) [huawei_solar.huawei_solar] could not read register value, is an other device already connected?
2021-04-22 14:15:13 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up huawei_solar platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 198, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/huawei_solar/sensor.py", line 109, in setup_platform
HuaweiSolarSensor(inverter, config[CONF_OPTIMIZERS], config[CONF_BATTERY])
File "/config/custom_components/huawei_solar/sensor.py", line 124, in __init__
self._name = self._inverter.get("model_name").value
File "/usr/local/lib/python3.8/site-packages/huawei_solar/huawei_solar.py", line 40, in get
response = self.read_register(reg.register, reg.length)
File "/usr/local/lib/python3.8/site-packages/huawei_solar/huawei_solar.py", line 189, in read_register
raise ReadException(message)
huawei_solar.huawei_solar.ReadException: could not read register value, is an other device already connected?
I can ping it and I can run
curl -v 192.168.200.1:502 and it connects.
I use hass.io on a Raspberry so no python3 access.
Any suggestions ?
Thank you