I have been trying to get data from my Victron SmartShunt for a few days but the received data stream has lots of errors and dropped bytes.
Ive tried using the SerialProxy plugin and example rules and settings exactly as per the plugin documentation but I cant get it to work.
I've also tried the SerialServer plugin as a way of monitoring the whole data stream and the resulting log shows lots of missing data:
Code: Select all
26325: EVENT: !Serial#:AA40100FFA7
26685: EVENT: !Serial#:A65EC0025C36F7F3BA4D98CF18BFFDD4E68B
26703: EVENT: !Serial#40A14
28843: EVENT: !Serial#CE 0
28846: EVENT: !Serial#SOC 1000
28846: EVENT: !Serial#TTG -1
28847: EVENT: !Serial#Alarm OFF
28847: EVENT: !Serial#AR
28863: EVENT: !Serial# 0
28863: EVENT: !Serial#BMV SmartShunt 500A/50mV
28864: EVENT: !Serial#FW 0416^
28882: EVENT: !Serial#MON 0
28883: EVENT: !Serial#Checksum D
30356: EVENT: !Serial#H10 3
30357: EVENT: !Serial#H
30374: EVENT: !Serial#11 0
30376: EVENT: !Serial#H12 0
30377: EVENT: !Serial#H15 -13
30377: EVENT: !Serial#H16 14645
30378: EVENT: !Serial#H17 1
30394: EVENT: !Serial#22
30396: EVENT: !Serial#H18 158
30396: EVENT: !Serial#Checksum �
31846: EVENT: !Serial#CE 0
31847: EVENT: !Serial#SOC 1000^
31864: EVENT: !Serial#TTG -1
31864: EVENT: !Serial#Alarm OFF
31865: EVENT: !Serial#AR 0
31865: EVENT: !Serial#BMV SmartShu
31886: EVENT: !Serial#nt 500A/50mV
31887: EVENT: !Serial#FW 0416
31887: EVENT: !Serial#MON 0
31888: EVENT: !Serial#Checksum C
32868: EVENT: !Serial#TTG -1
32868: EVENT: !Serial#Alarm OFF
32869: EVENT: !Serial#AR 0
32869: EVENT: !Serial#BMV SmartS
32887: EVENT: !Serial#hunt 500A/50mV
32888: EVENT: !Serial#FW 0416
32888: EVENT: !Serial#MON 0
32889: EVENT: !Serial#Checks
32906: EVENT: !Serial#um D
33328: EVENT: !Serial#H1 -16
33523: EVENT: !Serial#H8 14837
33523: EVENT: !Serial#H9 0
33524: EVENT: !Serial#H10 3
33524: EVENT: !Serial#H11 0
33525: EVENT: !Serial#H12 0
33525: EVENT: !Serial#H15 -13
33526: EVENT: !Serial#H16 14645
33526: EVENT: !Serial#H17 122
33527: EVENT: !Serial#H18 158
33527: EVENT: !Serial#Checksum �
33971: EVENT: !Serial#P 0
33972: EVENT: !Serial#CE 0
33972: EVENT: !Serial#SOC 1000
33973: EVENT: !Serial#TTG -1
33973: EVENT: !Serial#Alarm OFF
33974: EVENT: !Serial#AR 0
33974: EVENT: !Serial#BMV SmartShunt 500A/50mV
33975: EVENT: !Serial#FW 0416
33975: EVENT: !Serial#MON 0
33976: EVENT: !Serial#Checksum D
34340: EVENT: !Serial#H1 -16606
34341: EVENT: !Serial#H2 0
34341: EVENT: !Serial#H3 0
34360: EVENT: !Serial#H4 0
34361: EVENT: !Serial#H5 0
34361: EVENT: !Serial#H6 -96454
34362: EVENT: !Serial#H7 12272
34362: EVENT: !Serial#H8 1
34384: EVENT: !Serial#4837
34528: EVENT: !Serial#H9 0
34529: EVENT: !Serial#H10 3
34529: EVENT: !Serial#H11 0
34530: EVENT: !Serial#H12 0
34530: EVENT: !Serial#H15 -13
34531: EVENT: !Serial#H16 14645
34531: EVENT: !Serial#H17 122
34531: EVENT: !Serial#H18 158
34532: EVENT: !Serial#Checksum �
34866: EVENT: !Serial#SOC 1000
34867: EVENT: !Serial#TTG -1
34867: EVENT: !Serial#Alarm O
34885: EVENT: !Serial#FF
34886: EVENT: !Serial#AR 0
34887: EVENT: !Serial#BMV SmartShunt 500A/50mV
34887: EVENT: !Serial#FW
34906: EVENT: !Serial#0416
34907: EVENT: !Serial#MON 0
34908: EVENT: !Serial#Checksum B
36379: EVENT: !Serial#H10
36397: EVENT: !Serial#3
36398: EVENT: !Serial#H11 0
36399: EVENT: !Serial#H12 0
36399: EVENT: !Serial#H15 -13
36400: EVENT: !Serial#H16 14645
36400: EVENT: !Serial#H1
36417: EVENT: !Serial#7 122
36422: EVENT: !Serial#H18 158
36422: EVENT: !Serial#Checksum �
37873: EVENT: !Serial#CE 0
37874: EVENT: !Serial#SOC 1000
37874: EVENT: !Serial#TT
37890: EVENT: !Serial#G -1
37891: EVENT: !Serial#Alarm ON
37892: EVENT: !Serial#AR 8
37892: EVENT: !Serial#BMV SmartShunt 5
37911: EVENT: !Serial#00A/50mV
37912: EVENT: !Serial#FW 0416
37913: EVENT: !Serial#MON 0
38085: EVENT: !Serial#Checksum y
39387: EVENT: !Serial#H6 -96454
39388: EVENT: !Serial#H7 12272
39388: EVENT: !Serial#H8 14837
39389: EVENT: !Serial#H9 0
39409: EVENT: !Serial#H10 3
39410: EVENT: !Serial#H11 0
39410: EVENT: !Serial#H12 0
39411: EVENT: !Serial#H15 -13
39411: EVENT: !Serial#H16 14645
39429: EVENT: !Serial#H17 122
39576: EVENT: !Serial#H18 158
39578: EVENT: !Serial#Checksum �
39886: EVENT: !Serial#CE 0
39887: EVENT: !Serial#SOC 1000
39888: EVENT: !Serial#TTG -1
39888: EVENT: !Serial#Alarm ON
39906: EVENT: !Serial#AR 8
39907: EVENT: !Serial#BMV SmartShunt 500A/50mV
39908: EVENT: !Serial#FW 04
I have tested that the output from the Victron Shunt is good by connecting it to a PC using a TTL-USB converter and also using an "official" VE.Direct USB cable.
In both cases I get a clean data stream (using PuTTY) to monitor it like this.
Code: Select all
H1 -16606
H2 0
H3 0
H4 0
H5 0
H6 -96454
H7 12272
H8 14837
H9 0
H10 3
H11 0
H12 0
H15 -13
H16 14645
H17 122
H18 158
Checksum ▒
PID 0xA389
V 12840
VS -7
I 0
P 0
CE 0
SOC 1000
TTG -1
Alarm OFF
AR 0
BMV SmartShunt 500A/50mV
FW 0416
MON 0
Checksum E
H1 -16606
H2 0
H3 0
H4 0
H5 0
H6 -96454
H7 12272
H8 14837
H9 0
H10 3
H11 0
H12 0
H15 -13
H16 14645
H17 122
H18 158
Checksum ▒
PID 0xA389
V 12840
VS -8
I 0
P 0
CE 0
SOC 1000
TTG -1
Alarm OFF
AR 0
BMV SmartShunt 500A/50mV
FW 0416
MON 0
Checksum D
H1 -16606
H2 0
H3 0
H4 0
H5 0
H6 -96454
H7 12272
H8 14837
H9 0
H10 3
H11 0
H12 0
H15 -13
H16 14645
H17 122
H18 158
Checksum ▒
PID 0xA389
V 12841
VS -8
I 0
P 0
CE 0
SOC 1000
TTG -1
Alarm OFF
AR 0
BMV SmartShunt 500A/50mV
I cant tell if I have a hardware interface problem or a config problem with the plugin so any ideas or suggestions would be welcomed.