Jump to content

Sunsynk connection to home assistant


MV SOLAR

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...