Redaction de flux

Bonsoir a tous, j’essaye de rédiger un flux pour déclencher une charge automatique en heure creuse quand ma batterie a un SOC inférieur à 40%.

voici le flux : [
{
“id”: “9aaab886e5bf17b5”,
“type”: “victron-input-battery”,
“z”: “b8bf1b17d08f5381”,
“service”: “com.victronenergy.battery/1”,
“path”: “/Soc”,
“serviceObj”: {
“service”: “com.victronenergy.battery/1”,
“name”: “SerialBattery(Jkbms)”
},
“pathObj”: {
“path”: “/Soc”,
“type”: “float”,
“name”: “State of charge (%)”
},
“name”: “Get SOC”,
“onlyChanges”: true,
“roundValues”: “1”,
“x”: 80,
“y”: 100,
“wires”: [
[
“check_soc”
]
]
},
{
“id”: “check_soc”,
“type”: “switch”,
“z”: “b8bf1b17d08f5381”,
“name”: “SOC < 30%”,
“property”: “payload”,
“propertyType”: “msg”,
“rules”: [
{
“t”: “lt”,
“v”: “30”,
“vt”: “num”
}
],
“checkall”: “true”,
“repair”: false,
“outputs”: 1,
“x”: 250,
“y”: 100,
“wires”: [
[
“set_ess_setpoint”
]
]
},
{
“id”: “set_ess_setpoint”,
“type”: “victron-output-settings”,
“z”: “b8bf1b17d08f5381”,
“service”: “com.victronenergy.settings”,
“path”: “/Settings/CGwacs/BatteryLife/MinimumSocLimit”,
“serviceObj”: {
“service”: “com.victronenergy.settings”,
“name”: “Venus settings”
},
“pathObj”: {
“path”: “/Settings/CGwacs/BatteryLife/MinimumSocLimit”,
“type”: “float”,
“name”: “ESS Minimum SoC (unless grid fails) (%)”,
“writable”: true
},
“name”: “Set ESS Setpoint”,
“onlyChanges”: false,
“initial”: “”,
“x”: 590,
“y”: 100,
“wires”:
}
]

le flux modifi