This is my Node Red Flow:
[
{
"id": "879cb0e7a6fb8010",
"type": "victron-output-ess",
"z": "a537a42d19040213",
"service": "com.victronenergy.vebus/288",
"path": "/Hub4/DisableCharge",
"serviceObj": {
"service": "com.victronenergy.vebus/288",
"name": "MultiPlus-II 48/5000/70-50"
},
"pathObj": {
"path": "/Hub4/DisableCharge",
"type": "enum",
"name": "Disable charge",
"enum": {
"0": "No",
"1": "Yes"
},
"writable": true
},
"initial": "",
"name": "",
"onlyChanges": false,
"x": 1170,
"y": 560,
"wires": []
},
{
"id": "88c2a3940210ca7e",
"type": "victron-output-ess",
"z": "a537a42d19040213",
"service": "com.victronenergy.settings",
"path": "/Settings/CGwacs/AcPowerSetPoint",
"serviceObj": {
"service": "com.victronenergy.settings",
"name": "Venus settings"
},
"pathObj": {
"path": "/Settings/CGwacs/AcPowerSetPoint",
"type": "integer",
"name": "Grid set-point (W)",
"writable": true
},
"name": "",
"onlyChanges": false,
"x": 1140,
"y": 660,
"wires": []
},
{
"id": "973b9b48a4484145",
"type": "mqtt in",
"z": "a537a42d19040213",
"name": "",
"topic": "jk-bms/sensor/jk-bms_total_voltage/state",
"qos": "2",
"datatype": "auto-detect",
"broker": "29140ea396afdc39",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 200,
"y": 660,
"wires": [
[
"2ac9c65962b9ee3e"
]
]
},
{
"id": "2ac9c65962b9ee3e",
"type": "limit-monitor",
"z": "a537a42d19040213",
"name": "Low Voltage limit",
"topic": "",
"limit": "49",
"kind": "1",
"delay": "15",
"hysteresis": "6",
"x": 490,
"y": 660,
"wires": [
[
"acda69fccbe6da32"
]
]
},
{
"id": "acda69fccbe6da32",
"type": "switch",
"z": "a537a42d19040213",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "true"
},
{
"t": "false"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 650,
"y": 660,
"wires": [
[
"88fa772a1e4dfca8",
"2640a5bb0b194ad3",
"aab2b191c1ba0d8c"
],
[]
]
},
{
"id": "88fa772a1e4dfca8",
"type": "change",
"z": "a537a42d19040213",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "10000",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 820,
"y": 680,
"wires": [
[
"88c2a3940210ca7e"
]
]
},
{
"id": "2640a5bb0b194ad3",
"type": "change",
"z": "a537a42d19040213",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 820,
"y": 640,
"wires": [
[
"879cb0e7a6fb8010"
]
]
},
{
"id": "987480e39b01a33b",
"type": "inject",
"z": "a537a42d19040213",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "30 23 * * *",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 830,
"y": 560,
"wires": [
[
"879cb0e7a6fb8010",
"88c2a3940210ca7e"
]
]
},
{
"id": "0d9f7488c19aa6c8",
"type": "comment",
"z": "a537a42d19040213",
"name": "Battery Low, switch to grid but hold off charge until 11.30 pm",
"info": "This is an emergency backstop, just in case the battery is empty but SOC is incorrect i.e too high.",
"x": 400,
"y": 580,
"wires": []
},
{
"id": "29140ea396afdc39",
"type": "mqtt-broker",
"name": "",
"broker": "192.168.68.108",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]