-
Notifications
You must be signed in to change notification settings - Fork 12
Description
I have a DTSU666 connected to a Waveshare RS485 to Eth.
the waveshare link led gets blue for a few seconds, when clicking okay in the Integration, the gets green again, after Integration says unknown error.
Unfortunately, a connection to my DTSU is not working while getting unknown error message.
Here is the log entry:
'ModbusIOException' object has no attribute 'registers'
Traceback (most recent call last):
File "/config/custom_components/chint_pm/config_flow.py", line 387, in async_step_setup_network
info = await validate_network_setup(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/chint_pm/config_flow.py", line 145, in validate_network_setup
decoder = BinaryPayloadDecoder.fromRegisters(rr.registers, byteorder=Endian.BIG)
^^^^^^^^^^^^
AttributeError: 'ModbusIOException' object has no attribute 'registers'
Any idea what went wrong?