checkmann
(Christoph)
March 21, 2020, 11:18pm
1
I have a easymeter Q3D Smartmeter which reports OBIS Codes and a Volkszaehler IR USB reader attached.
The same configuration works fine with the volkszaehler rpi image and I’m able to read the data.
if I do “cat /dev/ttyUSB0”, I got
/ESY5Q3DA1004 V3.03
1-0:0.0.0*255(009002xxx)
1-0:1.8.0*255(00027075.4912577*kWh)
1-0:21.7.255*255(000032.98*W)
1-0:41.7.255*255(000084.77*W)
1-0:61.7.255*255(000134.83*W)
1-0:1.7.255*255(000252.58*W)
1-0:96.5.5*255(82)
0-0:96.1.255*255(1ESY1217002763)
!
However in the log I see
2020-03-22 00:02:30.237 [INFO ] [ding.smartmeter.internal.MeterDevice] - Opening connection to smartmeter:meter:0bdf49ee
2020-03-22 00:02:40.332 [WARN ] [.iec62056.Iec62056_21SerialConnector] - 1. reading attempt failed: Received unexpected identification message start byte: 28. Retrying /dev/ttyUSB0...
2020-03-22 00:02:40.337 [WARN ] [.iec62056.Iec62056_21SerialConnector] - Delaying retry by PT10S
Any Idea?
H102
(CM6.5 H102)
March 22, 2020, 4:35pm
2
The warning mentions something unexpected, how is your items configured?
checkmann
(Christoph)
March 22, 2020, 8:15pm
3
Thanks very much for your reply. The item is not yet configured at all, since the Thnig itself is having problems.
The thing is configured as
Is this wrong?
H102
(CM6.5 H102)
March 23, 2020, 12:34pm
4
Looking at the doc’s and your configuration the Mode ABC should use a baudrate of 300. Try changing either Mode to SML or the baudrate to 300.
checkmann
(Christoph)
March 23, 2020, 6:54pm
5
The configuration used for the volkszaehler image, which was woking fine was
stty -F /dev/ttyUSB0 9600 -parodd cs7 -cstopb parenb -ixoff -crtscts -hupcl -ixon -opost -onlcr -isig -icanon -iexten -echo -echoe -echoctl -echoke
The mode is configured as ABC not SML.
checkmann
(Christoph)
March 23, 2020, 8:14pm
6
Got it working with protocoll mode D. Thanks for your support!