From 7a68b5877a1354cd4d49aee1d3fbda240e5f37ea Mon Sep 17 00:00:00 2001 From: Scott Bender Date: Sat, 25 May 2024 09:14:53 -0400 Subject: [PATCH] feature: add some lynx bms paths --- venusToDeltas.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/venusToDeltas.js b/venusToDeltas.js index 4663150..fd94b1d 100644 --- a/venusToDeltas.js +++ b/venusToDeltas.js @@ -851,7 +851,26 @@ module.exports = function (app, options, state, putRegistrar) { return makePath(m, `${m.instanceName}.bms.allowToChargeRate`) } }, - + '/Io/AllowToCharge': { + path: m => { + return makePath(m, `${m.instanceName}.bms.allowToCharge`) + } + }, + '/Io/AllowToDischarge': { + path: m => { + return makePath(m, `${m.instanceName}.bms.allowToDischarge`) + }, + }, + '/Io/ExternalRelay': { + path: m => { + return makePath(m, `${m.instanceName}.bms.externalRelay`) + } + }, + '/Balancing': { + path: m => { + return makePath(m, `${m.instanceName}.bms.balancing`) + } + }, /* '/SystemState/BatteryLife': { path: m => {