question

mose avatar image
mose asked

Bug? - BMV 712 smart (rev2) not recognized in VRM using LoRaWAN

As I found out quite a lot since I originally posted my question, here is the latest summary:

  1. I'm trying to connect a BMV-712 smart (rev2) to VRM using a LoRaWAN module
  2. LoRa communication works perfectly, but BMV-712 smart (rev2) never shows up in VRM
  3. Communication through LoRa using a BlueSolar MPPT works instantly
  4. I read VE.direct protocol specification and analyzed the situation quite a lot:
    1. Output of BMV-712 smart (rev2) on VE.direct
      PID    0xA383
      V    25564
      VS    25426
      I    -3092
      P    -79
      CE    -6334
      SOC    993
      TTG    8980
      Alarm    OFF
      Relay    OFF
      AR    0
      BMV    712 Smart
      FW    0413
      MON    0
      Checksum    �
      H1    -29323
      H2    -6334
      H3    0
      H4    0
      H5    0
      H6    -419554
      H7    27
      H8    29780
      H9    10860
      H10    0
      H11    0
      H12    0
      H15    23
      H16    25749
      H17    1091
      H18    1356
      Checksum    Z
    2. Using an Arduino I simulated a BMV-702 (which did work instantly in VRM) with this payload:
      V    12800
      VS    24500
      VM    1280
      DM    120
      VPV    3350
      PPV    196
      I    15000
      IL    1500
      LOAD    ON
      T    25
      P    192
      CE    13500
      SOC    876
      TTG    45
      Alarm    OFF
      Relay    OFF
      AR    1
      H1    55000
      H2    15000
      H3    13000
      H4    230
      H5    12
      H6    234000
      H7    11000
      H8    14800
      H9    7200
      H10    45
      H11    5
      H12    0
      H13    0
      H14    0
      H15    11500
      H16    14800
      H17    34
      H18    45
      H19    456
      H20    45
      H21    300
      H22    45
      H23    350
      ERR    0
      CS    5
      BMV    702
      FW    1.19
      PID    0x204
      SER#    HQ14415IZFW
      HSDS    0
      Checksum    ⸮
    3. As this proves that basic BMV communication is working through my LoRaWAN module I suspected that there is a problem with the payload from my BMV-712 smart (rev2). This hardware has PID 0xA383. I tried a payload that simulates being from a BMV-712 smart (rev1) with PID 0xA381 without changing anything else (except checksum of course). My Payload was:
      PID    0xA381
      V    25564
      VS    25426
      I    -3092
      P    -79
      CE    -6334
      SOC    993
      TTG    8980
      Alarm    OFF
      Relay    OFF
      AR    0
      BMV    712 Smart
      FW    0413
      MON    0
      Checksum    ⸮
      H1    -29323
      H2    -6334
      H3    0
      H4    0
      H5    0
      H6    -419554
      H7    27
      H8    29780
      H9    10860
      H10    0
      H11    0
      H12    0
      H15    23
      H16    25749
      H17    1091
      H18    1356
      Checksum    Z
      This was a success. It showed up in VRM instantly.
  5. This leads me to the conclusion that my LoRaWAN module with firmware 1.06 does not correctly recognize my BMV-712 smart (rev2) and as such does not send it's data to VRM. I think it is unexpected behavior / a bug in the LoRaWAN module.

For Victron Staff:
My VRM Installation ID is 319124 if you want to look up something in the logs.



=== Original Post ===

I'm trying to connect a BMV-712 smart through a LoRaWAN module with no success. LoRA communication is fine. Signal is good, the gateway receives the messages and communication shows up in VRM, but only the LoRaWAN is shown in device list. The BMV never shows up. After trying many power cycles, checking all cabling etc. I connected the LoRaWAN to my BlueSolar MPPT just to see if anything works at all. After power cycling the LoRaWAN the MPPT showed up in VRM instantly. I switched back to the BMV, power cycled both the LoRAWAN and the BMV... no success :-(

When disconnecting the LoRaWAN VE.direct it starts blinking yellow. After reconnecting it to the BMV it blinks green again so it recognizes something...

I'm out of ideas. Hope somebody can help.

VRM Installation ID is 319124.


EDIT 1:

The LoRa gateway is not a single channel one. It's run by a friend of mine and it is just 250m away. We also checked it on TTN and the gateway is fine.


EDIT 2:

This is the output on BMV VE.direct port:

PID    0xA383
V    25564
VS    25426
I    -3092
P    -79
CE    -6334
SOC    993
TTG    8980
Alarm    OFF
Relay    OFF
AR    0
BMV    712 Smart
FW    0413
MON    0
Checksum    �
H1    -29323
H2    -6334
H3    0
H4    0
H5    0
H6    -419554
H7    27
H8    29780
H9    10860
H10    0
H11    0
H12    0
H15    23
H16    25749
H17    1091
H18    1356
Checksum    Z

And for my MPPT

PID 0xA060
FW 161
SER# HQ2xxxxxxxx
V 25570
I 0
VPV 140
PPV 0
CS 0
MPPT 0
OR 0x00000001
ERR 0
LOAD OFF
IL0
H19 9263
H20 70
H21 216
H22 162
H23 333
HSDS 71
Checksum �


I'm no expert on VE.direct communication but at first glance it looks okay to me. One difference: BMV does not provide it's serial number. Is this normal?

VRMBMV Battery Monitorbug reportLoRaWAN
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers