EPEVER Modbus RS-485 Config

Hi Brynn,

I have an Epever 4210AN with an original epever rs485 to usb cable: CC-USB-RS485-150U
I have Home assistant installed in Proxmox on a minicPC.
I connected the USB cable to a port in the MiniPC, and i made a pass-through to the VM.

I can see the USB connection in Home assistant as /dev/ttyACM0
I tried your config but not working, any idea what to do next?
this is my config:

modbus:  
  - name: epever
    port: /dev/ttyACM0
    delay: 5
    close_comm_on_error: true
    retry_on_empty: true
    retries: 10
    type: serial
    baudrate: 115200
    bytesize: 8
    method: rtu
    parity: N
    stopbits: 1
    sensors:
      - name: "Battery Array Capacity 1"
        unit_of_measurement: "%"
        slave: 1
        device_class: battery
        address: 12570
        input_type: input
        scan_interval: 5
      - name: "Solar Power Watts 1" # 3102 and 3103 https://community.home-assistant.io/t/epever-modbus-rs-485-config/214397
        unit_of_measurement: W
        device_class: power
        slave: 1
        address: 12546
        input_type: input
        data_type: int32
        scale: 0.01
        count: 2
        precision: 2
        swap: word
        scan_interval: 5
      - name: "Solar Voltage 1" #3100
        unit_of_measurement: V
        slave: 1
        device_class: voltage
        address: 12544
        input_type: input
        scan_interval: 5
        scale: 0.01
        precision: 2
1 Like