Skip to content

Commit

Permalink
feature: add /Bms data (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 authored May 24, 2024
1 parent 5eb7b2a commit ed1fe7b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions venusToDeltas.js
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,42 @@ module.exports = function (app, options, state, putRegistrar) {
conversion: percentToRatio,
units: 'ratio'
},

'/Bms/AllowToCharge': {
path: m => {
return makePath(m, `${m.instanceName}.bms.allowToCharge`)
}
},
'/Bms/AllowToDischarge': {
path: m => {
return makePath(m, `${m.instanceName}.bms.allowToDischarge`)
}
},
'/Bms/BmsExpected': {
path: m => {
return makePath(m, `${m.instanceName}.bms.bmsExpected`)
}
},
'/Bms/BmsType': {
path: m => {
return makePath(m, `${m.instanceName}.bms.BmsType`)
}
},
'/Bms/Error': {
path: m => {
return makePath(m, `${m.instanceName}.bms.error`)
}
},
'/Bms/PreAlarm': {
path: m => {
return makePath(m, `${m.instanceName}.bms.preAlarm`)
}
},
'/Bms/AllowToChargeRate': {
path: m => {
return makePath(m, `${m.instanceName}.bms.allowToChargeRate`)
}
},

/*
'/SystemState/BatteryLife': {
Expand Down

0 comments on commit ed1fe7b

Please sign in to comment.