I think so. Flow below. I just used two versions of my bank of fogstar batteries to emulate when I run two banks of 16 fogstar batteries. Done the sums to add some stats together like ccl and then averaging battery voltage etc.
If anyone sees anything wrong let me know. This has to be 100% reliable as it will be running my whole business in ess.
Edit: I can’t make the flow show properly so I give up 
```flow
[
{
"id": "94147fbcc564dd23",
"type": "tab",
"label": "BMS Combine",
"disabled": false,
"info": "",
"env": []
},
{
"id": "78dad5a002063712",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Info/MaxChargeCurrent",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Info/MaxChargeCurrent",
"type": "float",
"name": "CCL - Charge Current Limit (A)"
},
"name": "",
"onlyChanges": false,
"x": 180,
"y": 40,
"wires": [
[
"48de2d88c06b8b89"
]
]
},
{
"id": "31df306df36400ee",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Info/MaxChargeCurrent",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Info/MaxChargeCurrent",
"type": "float",
"name": "CCL - Charge Current Limit (A)"
},
"name": "",
"onlyChanges": false,
"x": 180,
"y": 100,
"wires": [
[
"c0272b634e992737"
]
]
},
{
"id": "3d669fc7ce18f34f",
"type": "function",
"z": "94147fbcc564dd23",
"name": "CCL",
"func": "msg.payload = msg.bat1ccl + msg.bat2ccl\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 790,
"y": 60,
"wires": [
[
"7cf2843a3fbc6a50"
]
]
},
{
"id": "48de2d88c06b8b89",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1ccl",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 40,
"wires": [
[]
]
},
{
"id": "c0272b634e992737",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2ccl",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 100,
"wires": [
[]
]
},
{
"id": "a25fe40d1f0adb3e",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "bat1ccl",
"v": "bat1ccl",
"vt": "flow"
},
{
"p": "bat2ccl",
"v": "bat2ccl",
"vt": "flow"
}
],
"repeat": "2",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"x": 670,
"y": 60,
"wires": [
[
"3d669fc7ce18f34f"
]
]
},
{
"id": "b8b14f2d591f1fee",
"type": "victron-virtual",
"z": "94147fbcc564dd23",
"name": "Work",
"device": "battery",
"default_values": true,
"battery_capacity": "20000",
"include_battery_temperature": true,
"grid_nrofphases": 1,
"include_motor_temp": false,
"include_controller_temp": false,
"include_coolant_temp": false,
"include_motor_rpm": true,
"include_motor_direction": true,
"position": 0,
"pvinverter_nrofphases": 1,
"fluid_type": 0,
"include_tank_battery": false,
"include_tank_temperature": false,
"tank_battery_voltage": 3.3,
"tank_capacity": 0.2,
"temperature_type": 2,
"include_humidity": false,
"include_pressure": false,
"include_temp_battery": false,
"temp_battery_voltage": 3.3,
"x": 650,
"y": 160,
"wires": []
},
{
"id": "7cf2843a3fbc6a50",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Info/MaxChargeCurrent",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Info/MaxChargeCurrent",
"type": "float",
"name": "CCL - Charge Current Limit (A)"
},
"name": "",
"onlyChanges": false,
"x": 1050,
"y": 60,
"wires": []
},
{
"id": "625f86af576a86e7",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Info/MaxChargeVoltage",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Info/MaxChargeVoltage",
"type": "float",
"name": "CVL - Charge Voltage Limit (V)"
},
"name": "",
"onlyChanges": false,
"x": 180,
"y": 220,
"wires": [
[
"aa47cda562e84e02"
]
]
},
{
"id": "546b4a7deb10be34",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Info/MaxChargeVoltage",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Info/MaxChargeVoltage",
"type": "float",
"name": "CVL - Charge Voltage Limit (V)"
},
"name": "",
"onlyChanges": false,
"x": 180,
"y": 280,
"wires": [
[
"79ea15411ae95436"
]
]
},
{
"id": "251157f93bb19d2e",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Info/MaxDischargeCurrent",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Info/MaxDischargeCurrent",
"type": "float",
"name": "DCL - Discharge Current Limit (A)"
},
"name": "",
"onlyChanges": false,
"x": 180,
"y": 360,
"wires": [
[
"c75b38d0c5649772"
]
]
},
{
"id": "a21b2d5268216691",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Info/MaxDischargeCurrent",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Info/MaxDischargeCurrent",
"type": "float",
"name": "DCL - Discharge Current Limit (A)"
},
"name": "",
"onlyChanges": false,
"x": 180,
"y": 420,
"wires": [
[
"2f58b1635421b7e3"
]
]
},
{
"id": "2a2d896a1d225cde",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Soc",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Soc",
"type": "float",
"name": "State of charge (%)"
},
"name": "",
"onlyChanges": false,
"x": 140,
"y": 480,
"wires": [
[
"05edb549a3264ddb"
]
]
},
{
"id": "43c1fa6455d207f1",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Soc",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Soc",
"type": "float",
"name": "State of charge (%)"
},
"name": "",
"onlyChanges": false,
"x": 140,
"y": 540,
"wires": [
[
"21ea5e1e19654cc2"
]
]
},
{
"id": "e6b7708130ccf5df",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Dc/0/Voltage",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Dc/0/Voltage",
"type": "float",
"name": "Battery voltage (V)"
},
"name": "",
"onlyChanges": false,
"x": 140,
"y": 620,
"wires": [
[
"42e6e09a40509d74"
]
]
},
{
"id": "1fc7e92357dc1c0b",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Dc/0/Voltage",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Dc/0/Voltage",
"type": "float",
"name": "Battery voltage (V)"
},
"name": "",
"onlyChanges": false,
"x": 140,
"y": 680,
"wires": [
[
"7bd614e927dfb5a0"
]
]
},
{
"id": "aa47cda562e84e02",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1cvl",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 220,
"wires": [
[]
]
},
{
"id": "79ea15411ae95436",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2cvl",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 280,
"wires": [
[]
]
},
{
"id": "c75b38d0c5649772",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1dcl",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 360,
"wires": [
[]
]
},
{
"id": "2f58b1635421b7e3",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2dcl",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 420,
"wires": [
[]
]
},
{
"id": "05edb549a3264ddb",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1soc",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 480,
"wires": [
[]
]
},
{
"id": "21ea5e1e19654cc2",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2soc",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 540,
"wires": [
[]
]
},
{
"id": "42e6e09a40509d74",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1volt",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 620,
"wires": [
[]
]
},
{
"id": "7bd614e927dfb5a0",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2volt",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 480,
"y": 680,
"wires": [
[]
]
},
{
"id": "676ccdb54730c5e3",
"type": "function",
"z": "94147fbcc564dd23",
"name": "CVL",
"func": "msg.payload = (msg.bat1cvl + msg.bat2cvl)/2\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 790,
"y": 260,
"wires": [
[
"03d994cddcbda47d",
"f22f9df39b85c318"
]
]
},
{
"id": "f1b9c6192c01a367",
"type": "function",
"z": "94147fbcc564dd23",
"name": "DCL",
"func": "msg.payload = (msg.bat1dcl + msg.bat2dcl)\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 790,
"y": 380,
"wires": [
[
"27bce3f70eabe887"
]
]
},
{
"id": "5f0343cfd4e1a677",
"type": "function",
"z": "94147fbcc564dd23",
"name": "SOC",
"func": "msg.payload = (msg.bat1soc + msg.bat2soc)/2\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 790,
"y": 500,
"wires": [
[
"0f767b4058018207"
]
]
},
{
"id": "8971dad44b02ab81",
"type": "function",
"z": "94147fbcc564dd23",
"name": "Bat Volts",
"func": "msg.payload = (msg.bat1volt + msg.bat2volt)/2\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 800,
"y": 640,
"wires": [
[
"5376586d1da17c65"
]
]
},
{
"id": "03d994cddcbda47d",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Info/MaxChargeVoltage",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Info/MaxChargeVoltage",
"type": "float",
"name": "CVL - Charge Voltage Limit (V)"
},
"name": "",
"onlyChanges": false,
"x": 1070,
"y": 260,
"wires": []
},
{
"id": "27bce3f70eabe887",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Info/MaxDischargeCurrent",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Info/MaxDischargeCurrent",
"type": "float",
"name": "DCL - Discharge Current Limit (A)"
},
"name": "",
"onlyChanges": false,
"x": 1080,
"y": 380,
"wires": []
},
{
"id": "0f767b4058018207",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Soc",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Soc",
"type": "float",
"name": "State of charge (%)"
},
"name": "",
"onlyChanges": false,
"x": 1040,
"y": 500,
"wires": []
},
{
"id": "5376586d1da17c65",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Dc/0/Voltage",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Dc/0/Voltage",
"type": "float",
"name": "Battery voltage (V)"
},
"name": "",
"onlyChanges": false,
"x": 1030,
"y": 640,
"wires": []
},
{
"id": "b642725a5636e274",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Dc/0/Current",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Dc/0/Current",
"type": "float",
"name": "Battery current (A)"
},
"name": "",
"onlyChanges": true,
"x": 140,
"y": 740,
"wires": [
[
"69ecdde5eb6918a1"
]
]
},
{
"id": "f5cbb9bf5847f77c",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Dc/0/Current",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Dc/0/Current",
"type": "float",
"name": "Battery current (A)"
},
"name": "",
"onlyChanges": true,
"x": 140,
"y": 800,
"wires": [
[
"5830d22e0b01a971"
]
]
},
{
"id": "44ce1588f1ebea75",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Dc/0/Power",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Dc/0/Power",
"type": "float",
"name": "Battery power (W)"
},
"name": "",
"onlyChanges": false,
"x": 140,
"y": 860,
"wires": [
[
"1dcfbabf14d28589"
]
]
},
{
"id": "d18f857cd6d17468",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Dc/0/Power",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Dc/0/Power",
"type": "float",
"name": "Battery power (W)"
},
"name": "",
"onlyChanges": true,
"x": 140,
"y": 920,
"wires": [
[
"c09cb1d2bd95d3a5"
]
]
},
{
"id": "69ecdde5eb6918a1",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1current",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 740,
"wires": [
[]
]
},
{
"id": "1dcfbabf14d28589",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1watt",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 860,
"wires": [
[]
]
},
{
"id": "5830d22e0b01a971",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2current",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 800,
"wires": [
[]
]
},
{
"id": "c09cb1d2bd95d3a5",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2watt",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 920,
"wires": [
[]
]
},
{
"id": "6348e3386cf77c83",
"type": "function",
"z": "94147fbcc564dd23",
"name": "Bat Current",
"func": "msg.payload = (msg.bat1current + msg.bat2current)\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 810,
"y": 760,
"wires": [
[
"d713f62e27253b31"
]
]
},
{
"id": "7b2478a1cd3d30d7",
"type": "function",
"z": "94147fbcc564dd23",
"name": "Bat Watts",
"func": "msg.payload = (msg.bat1watt + msg.bat2watt)\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 800,
"y": 880,
"wires": [
[
"a9689199667e79d8"
]
]
},
{
"id": "d713f62e27253b31",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Dc/0/Current",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Dc/0/Current",
"type": "float",
"name": "Battery current (A)"
},
"name": "",
"onlyChanges": false,
"x": 1030,
"y": 760,
"wires": []
},
{
"id": "a9689199667e79d8",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Dc/0/Power",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Dc/0/Power",
"type": "float",
"name": "Battery power (W)"
},
"name": "",
"onlyChanges": false,
"x": 1030,
"y": 880,
"wires": []
},
{
"id": "9c8194360f26f0a2",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/System/MaxCellTemperature",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/System/MaxCellTemperature",
"type": "float",
"name": "Maximum cell temperature (°C)"
},
"name": "",
"onlyChanges": false,
"x": 180,
"y": 980,
"wires": [
[
"c93b9d5c8a92bccf"
]
]
},
{
"id": "f9221ef556cb865d",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/System/MaxCellTemperature",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/System/MaxCellTemperature",
"type": "float",
"name": "Maximum cell temperature (°C)"
},
"name": "",
"onlyChanges": false,
"x": 180,
"y": 1040,
"wires": [
[
"c375d8402490d03e"
]
]
},
{
"id": "c93b9d5c8a92bccf",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1temp",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 980,
"wires": [
[]
]
},
{
"id": "c375d8402490d03e",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2temp",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 1040,
"wires": [
[]
]
},
{
"id": "352a937be5f4b326",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "bat1cvl",
"v": "bat1cvl",
"vt": "flow"
},
{
"p": "bat2cvl",
"v": "bat2cvl",
"vt": "flow"
}
],
"repeat": "60",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"x": 670,
"y": 260,
"wires": [
[
"676ccdb54730c5e3"
]
]
},
{
"id": "0ab96f9d6956123f",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "bat1dcl",
"v": "bat1dcl",
"vt": "flow"
},
{
"p": "bat2dcl",
"v": "bat2dcl",
"vt": "flow"
}
],
"repeat": "2",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"x": 670,
"y": 380,
"wires": [
[
"f1b9c6192c01a367"
]
]
},
{
"id": "52e29697a5ffaf1b",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "bat1soc",
"v": "bat1soc",
"vt": "flow"
},
{
"p": "bat2soc",
"v": "bat2soc",
"vt": "flow"
}
],
"repeat": "2",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"x": 670,
"y": 500,
"wires": [
[
"5f0343cfd4e1a677"
]
]
},
{
"id": "d5a4c427aa8f41dc",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "bat1volt",
"v": "bat1volt",
"vt": "flow"
},
{
"p": "bat2volt",
"v": "bat2volt",
"vt": "flow"
}
],
"repeat": "1",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"x": 670,
"y": 640,
"wires": [
[
"8971dad44b02ab81"
]
]
},
{
"id": "b24c0b6d20434cc4",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "bat1current",
"v": "bat1current",
"vt": "flow"
},
{
"p": "bat2current",
"v": "bat2current",
"vt": "flow"
}
],
"repeat": "1",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"x": 670,
"y": 760,
"wires": [
[
"6348e3386cf77c83"
]
]
},
{
"id": "84153cb9d2978218",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "bat1watt",
"v": "bat1watt",
"vt": "flow"
},
{
"p": "bat2watt",
"v": "bat2watt",
"vt": "flow"
}
],
"repeat": "1",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"x": 670,
"y": 880,
"wires": [
[
"7b2478a1cd3d30d7"
]
]
},
{
"id": "13ffd87dad00082d",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Dc/0/Temperature",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Dc/0/Temperature",
"type": "float",
"name": "Battery temperature (°C)"
},
"name": "",
"onlyChanges": false,
"x": 1090,
"y": 1000,
"wires": []
},
{
"id": "3668de2447b25783",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "5",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"payload": "bat1temp",
"payloadType": "flow",
"x": 700,
"y": 980,
"wires": [
[
"1011d1458799efa5"
]
]
},
{
"id": "2c651dc2c2560e1b",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Info/BatteryLowVoltage",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Info/BatteryLowVoltage",
"type": "float",
"name": "Min discharge voltage (V DC)"
},
"name": "",
"onlyChanges": false,
"x": 170,
"y": 1100,
"wires": [
[
"4c443b6ac774e673"
]
]
},
{
"id": "421ce2a2b16daeac",
"type": "victron-input-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/512",
"path": "/Info/BatteryLowVoltage",
"serviceObj": {
"service": "com.victronenergy.battery/512",
"name": "Fogstar"
},
"pathObj": {
"path": "/Info/BatteryLowVoltage",
"type": "float",
"name": "Min discharge voltage (V DC)"
},
"name": "",
"onlyChanges": false,
"x": 170,
"y": 1160,
"wires": [
[
"9e9476b7d59757b4"
]
]
},
{
"id": "4c443b6ac774e673",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat1disvolt",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 1100,
"wires": [
[]
]
},
{
"id": "9e9476b7d59757b4",
"type": "change",
"z": "94147fbcc564dd23",
"name": "",
"rules": [
{
"t": "set",
"p": "bat2disvolt",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 1160,
"wires": [
[]
]
},
{
"id": "2777beb62c84b0a5",
"type": "function",
"z": "94147fbcc564dd23",
"name": "Bat DisChar Volt",
"func": "msg.payload = (msg.bat1disvolt + msg.bat2disvolt)/2\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 820,
"y": 1120,
"wires": [
[
"f8ce8a8572d1e448"
]
]
},
{
"id": "029c4fcfddc34a57",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "bat1disvolt",
"v": "bat1disvolt",
"vt": "flow"
},
{
"p": "bat2disvolt",
"v": "bat2disvolt",
"vt": "flow"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"x": 670,
"y": 1120,
"wires": [
[
"2777beb62c84b0a5"
]
]
},
{
"id": "f8ce8a8572d1e448",
"type": "victron-output-battery",
"z": "94147fbcc564dd23",
"service": "com.victronenergy.battery/101",
"path": "/Info/BatteryLowVoltage",
"serviceObj": {
"service": "com.victronenergy.battery/101",
"name": "Work"
},
"pathObj": {
"path": "/Info/BatteryLowVoltage",
"type": "float",
"name": "Min discharge voltage (V DC)"
},
"name": "",
"onlyChanges": false,
"x": 1070,
"y": 1120,
"wires": []
},
{
"id": "f22f9df39b85c318",
"type": "debug",
"z": "94147fbcc564dd23",
"name": "debug 22",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 1060,
"y": 180,
"wires": []
},
{
"id": "1011d1458799efa5",
"type": "switch",
"z": "94147fbcc564dd23",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gte",
"v": "bat2temp",
"vt": "flow"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 850,
"y": 980,
"wires": [
[
"a1b2e95cd6d6896f",
"13ffd87dad00082d"
]
]
},
{
"id": "b050d7d1d5829ca3",
"type": "inject",
"z": "94147fbcc564dd23",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "5",
"crontab": "",
"once": true,
"onceDelay": "0.5",
"topic": "",
"payload": "bat2temp",
"payloadType": "flow",
"x": 700,
"y": 1040,
"wires": [
[
"f79668be1201a8f5"
]
]
},
{
"id": "f79668be1201a8f5",
"type": "switch",
"z": "94147fbcc564dd23",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "bat1temp",
"vt": "flow"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 850,
"y": 1040,
"wires": [
[
"1b7d172a36ecb8d9",
"13ffd87dad00082d"
]
]
},
{
"id": "a1b2e95cd6d6896f",
"type": "debug",
"z": "94147fbcc564dd23",
"name": "debug 23",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1040,
"y": 940,
"wires": []
},
{
"id": "1b7d172a36ecb8d9",
"type": "debug",
"z": "94147fbcc564dd23",
"name": "debug 24",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1040,
"y": 1060,
"wires": []
}
]