Modbus energymeter not responding

I’m having difficulties to read data from a modbus DDM18SD energymeter using USB<>RS485.

Here’s my configuration.yaml:

modbus:
  # DDM18SD PowerMeter
  - name: eastron
    type: serial
    baudrate: 9600
    bytesize: 8
    method: rtu
    parity: E
    port: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
    stopbits: 1
    #delay: 10
    #timeout: 3
    #retries: 10
    #retry_on_empty: true
    #close_comm_on_error: false
    sensors:
      - name: EV_power
        unique_id: EV_power
        count: 2
        data_type: float32
        precision: 2
        address: 10
        input_type: input
        slave: 13
        unit_of_measurement: W
        state_class: measurement
        device_class: power

Serial settings are ok (checked). Log gives:

Pymodbus: eastron: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 4 bytes (0 received)

It’s a DDM18SD meter, registers can be found here.

What am I doing wrong? Port speed, baud,parity are ok (checked using Modbus Poll on Windows), same goes for address (meter shows “013” on startup).

Thx

Hey,

I would say you should used “address : 18” rather than “address: 10” for the Active power es per the documentation of your device. I have just made to work a DDM18SD using an EW11 via TCP/IP and works like a charm :grinning: