Ocpp: tweak EVBox (#15279)
This commit is contained in:
parent
78b2067c01
commit
7bca010e8b
2 changed files with 6 additions and 0 deletions
|
|
@ -239,6 +239,11 @@ func NewOCPP(id string, connector int, idtag string,
|
|||
c.idtag = *opt.Value
|
||||
c.log.DEBUG.Printf("overriding default `idTag` with Alfen-specific value: %s", c.idtag)
|
||||
}
|
||||
|
||||
case ocpp.KeyEvBoxSupportedMeasurands:
|
||||
if meterValues == "" {
|
||||
meterValues = *opt.Value
|
||||
}
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
|
|
|
|||
|
|
@ -17,4 +17,5 @@ const (
|
|||
|
||||
// Vendor specific keys
|
||||
KeyAlfenPlugAndChargeIdentifier = "PlugAndChargeIdentifier"
|
||||
KeyEvBoxSupportedMeasurands = "evb_SupportedMeasurands"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue