I have an boat installation where the Onan generator is stopped and started based on de SOC of the installation.
As Onan needs a start and stop pulse the default generator start and stop function build into the Cerbo does not work without additional hardware.
I have created a Node Red flow to use both relais in the Cerbo to give the start or stop pulse, see the flow below.
This works perfectly and the generator is started once to SOC goes below 20% and the generator will stop once above 95%.
I noticed that when requesting the firmware versions via VRM (device list → Firmware Update) the generator would start no matter what the SOC was at that time.
This happened with FW 3.47 on the Cerbo, which I now upgraded to version 3.79 and still have the same result.
I can’t imagine that this is expected behavior, now I have to disconnect the remote start cables when I leave the boat as I don’t want the generator to run when I’m not there.
[
{
"id": "df3e8dc87680074d",
"type": "victron-input-system",
"z": "553fb34cb7d48a4d",
"service": "com.victronenergy.system/0",
"path": "/Dc/Battery/Soc",
"serviceObj": {
"service": "com.victronenergy.system/0",
"name": "Venus system"
},
"pathObj": {
"path": "/Dc/Battery/Soc",
"type": "float",
"name": "Battery State of Charge (%)"
},
"name": "Battery SOC",
"onlyChanges": true,
"roundValues": "1",
"outputs": 1,
"x": 130,
"y": 420,
"wires": [
[
"8c9a93ea7d49b75b"
]
]
},
{
"id": "8c9a93ea7d49b75b",
"type": "switch",
"z": "553fb34cb7d48a4d",
"name": "Generator rules",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gte",
"v": "95",
"vt": "num"
},
{
"t": "btwn",
"v": "21",
"vt": "num",
"v2": "94",
"v2t": "num"
},
{
"t": "lte",
"v": "20",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 3,
"x": 340,
"y": 420,
"wires": [
[
"cec1ecc9fe09ed66"
],
[
"1e16d57e6b38119a"
],
[
"b009b9880c524e02"
]
]
},
{
"id": "cec1ecc9fe09ed66",
"type": "change",
"z": "553fb34cb7d48a4d",
"name": "Set Gen OFF = 1",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 570,
"y": 340,
"wires": [
[
"c1b0b3b681112433"
]
]
},
{
"id": "1e16d57e6b38119a",
"type": "change",
"z": "553fb34cb7d48a4d",
"name": "Set Gen on/off = 0",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 570,
"y": 420,
"wires": [
[
"c1b0b3b681112433",
"3abc2fe6617a030c"
]
]
},
{
"id": "b009b9880c524e02",
"type": "change",
"z": "553fb34cb7d48a4d",
"name": "Set Gen ON = 1",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "1",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 560,
"y": 500,
"wires": [
[
"3abc2fe6617a030c"
]
]
},
{
"id": "c1b0b3b681112433",
"type": "rbe",
"z": "553fb34cb7d48a4d",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 790,
"y": 380,
"wires": [
[
"29e65d8f2bca6350"
]
]
},
{
"id": "3abc2fe6617a030c",
"type": "rbe",
"z": "553fb34cb7d48a4d",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 790,
"y": 460,
"wires": [
[
"2b5903f7ec9efc71"
]
]
},
{
"id": "29e65d8f2bca6350",
"type": "trigger",
"z": "553fb34cb7d48a4d",
"name": "Send 3 second OFF pulse",
"op1": "1",
"op2": "0",
"op1type": "num",
"op2type": "num",
"duration": "3",
"extend": false,
"overrideDelay": false,
"units": "s",
"reset": "0",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 990,
"y": 380,
"wires": [
[
"021a928e6bba2cb5"
]
]
},
{
"id": "2b5903f7ec9efc71",
"type": "trigger",
"z": "553fb34cb7d48a4d",
"name": "Send 15 second ON pulse",
"op1": "1",
"op2": "0",
"op1type": "num",
"op2type": "num",
"duration": "15",
"extend": false,
"overrideDelay": false,
"units": "s",
"reset": "0",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 990,
"y": 460,
"wires": [
[
"50746a3b16e26742"
]
]
},
{
"id": "021a928e6bba2cb5",
"type": "victron-output-relay",
"z": "553fb34cb7d48a4d",
"service": "com.victronenergy.system/0",
"path": "/Relay/0/State",
"serviceObj": {
"service": "com.victronenergy.system/0",
"name": "Venus device"
},
"pathObj": {
"path": "/Relay/0/State",
"type": "enum",
"name": "Venus relay 1 state",
"enum": {
"0": "Open",
"1": "Closed"
},
"writable": true,
"disabled": false
},
"initial": "0",
"name": "Generator OFF relay",
"onlyChanges": false,
"outputs": 0,
"x": 1260,
"y": 380,
"wires": []
},
{
"id": "50746a3b16e26742",
"type": "victron-output-relay",
"z": "553fb34cb7d48a4d",
"service": "com.victronenergy.system/0",
"path": "/Relay/1/State",
"serviceObj": {
"service": "com.victronenergy.system/0",
"name": "Venus device"
},
"pathObj": {
"path": "/Relay/1/State",
"type": "enum",
"name": "Venus relay 2 state",
"enum": {
"0": "Open",
"1": "Closed"
},
"writable": true
},
"initial": "0",
"name": "Generator ON relay",
"onlyChanges": false,
"outputs": 0,
"x": 1250,
"y": 460,
"wires": []
},
{
"id": "c8e234aabad31015",
"type": "global-config",
"env": [],
"modules": {
"@victronenergy/node-red-contrib-victron": "1.6.64"
}
}
]