kellerza Posted February 5, 2023 Share Posted February 5, 2023 On 2023/01/24 at 8:39 PM, No Name said: As a work around, I installed "Modbus TCP to Modbus RTU Gateway Add-on" and used the pymobus serial connection DEVICE: /dev/ttyUSB0 BAUDRATE: 9600 MODE: 8N1 TIMEOUT: 5 LOGLEVEL: 2 PORT: xx.xxx.xxx.xxx:502 DEVICE: /dev/serial/by-id/usb-1a86_USB2.0-Ser_-if00-port0 DRIVER: pymodbus I've updated the fault finding section to include this. kellerza/sunsynk: Sunsynk Inverter Python library and Home Assistant OS Addon (github.com) In your case, `DEVICE` is ignored, it uses `PORT` if it contains any value. In all cases I would still use the umodbus driver, since it is much more reliable to reconnect. You can see from Jack's log pymodbus disconnected for some reason (last error in his log). I only use the pymodbus driver to do basic development work from windows, else I use umodbus. Will update the docs Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.