-
Hi, USB adapters, which I tried were: Could somebody help me to solve the problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Use mbusd to connect to the ISB and then connect to mbusb from homeassistant so mbusb performs the same function as your USR the direct serial driver of both python drivers are not that fault tolerant |
Beta Was this translation helpful? Give feedback.
To expand on this reply, I did the following to make this work after seeing @kellerza's suggestion.
In HA, install "Modbus TCP to Modbus RTU Gateway" Add-on. Configure it to connect to the inverter as per config info (mbusd -d -L - -v 2 -p /dev/ttyUSB0 -s 9600 -m 8N1 -P 502)
Modified the Sunsynk/Deye Inverter Add-on (multi) config to connect via tcp on port: tcp://homeassistant.local:502.
Started Modbus and the inverter add-on and away we go. Seems much more stable (so far) than polling directly over USB to the RS-485 adaptor.
Thanks!