mbmd: SDM120C CRC checksum error
I try to read data from my SDM120C. with
/mbmd scan -a /dev/ttyUSB0 -b 2400 2020/08/05 21:53:15 config: creating RTU connection for /dev/ttyUSB0 (2400baud, 8N1) 2020/08/05 21:53:15 starting bus scan on /dev/ttyUSB0 2020/08/05 21:53:15 device 1: SDM type device found, VoltageL1: 230.80 2020/08/05 21:53:15 device 2: SDM type device found, VoltageL1: 229.75
device 1 is the SDM120c. Device 2 is a 630 and can be read perfectly.
but
./mbmd run -a /dev/ttyUSB0 -d sdm:1 -b 2400 -v
2020/08/05 21:54:08 mbmd 0.12 (0d6f45f)
2020/08/05 21:54:08 config: creating RTU connection for /dev/ttyUSB0 (2400baud, 8N1)
2020/08/05 21:54:08 config: declared device SDM:1.0
2020/08/05 21:54:08 httpd: starting api at 0.0.0.0:8080
2020/08/05 21:54:08 initialized device SDM1-1: {SDM SDM Eastron SDM630 0}
2020/08/05 21:54:08 device SDM1-1 did not respond (1/3)
2020/08/05 21:54:09 device SDM1-1 did not respond (2/3)
2020/08/05 21:54:11 device SDM1-1 did not respond (3/3)
Says no response.
SOme parameters which I take wrong? with
sdm120c -a1 -PN -S1 /dev/ttyUSB0
Voltage: 230.50 V
I can read at least the Voltage.
THanks in advance.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 20 (9 by maintainers)
now the 009d3fe https://github.com/volkszaehler/mbmd/commit/009d3fe8c8efbd2b6f56b2f30f5906db76bc6f60 works, more swap space was needed.