Length Bytes: 4
Data Format: Float
Units: W
Hi Byte: 00
Lo Byte 034
name: “Stromzähler Heizung”
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: E
port: /dev/ttyUSB0
stopbits: 1
sensors:
name: “Sensor1”
unit_of_measurement: W
address: 30053
count: 2
The meter is recognized and values are also displayed. Unfortunately only always 0 and not the values from the counter. Can someone help me? I’m just new to Modbus and still have a lot to learn.
I was able to successfully communicate to the SDM72D-M power meter, using the script below.
Hardware: Raspberry PI 3
Modbus connection: via USB to Modbus Dongle (no-name from Ebay)
Power meter: EASTRON SDM72D-M
Note: Baudrate was raised to 19.200 and polling interval shortened to 10 seconds. Any other setting for these two parameters naturally would work as well.
Important note: download the SDM72D-M user manual from Eastron, there you see the correct Modbus address codes.
For example; Phase1 line voltage is Addr: 0x00, Phase1 current is 0x06, total system power is 0x34 (decimal 52). Do Not use the 300xx register addresses, these won’t work.
modbus:
name: EASTRON_SDM72DM
message_wait_milliseconds: 10
retry_on_empty: true
close_comm_on_error: false
type: serial
baudrate: 19200 #works also with 9600 baud
bytesize: 8
method: rtu
parity: E
port: /dev/ttyUSB0
stopbits: 1
sensors: