I am looking for a way to stop the PV production with my 3 Multi RS units when the dynamic energy prices are negative.
When I SSH into the Cerbo and started dbus-spy, I found: “com.victronenergy.multi.socketcan_can0_vi0_uc511692/Pv/Disable”.
I can edit the value from 0 to 1 directly in dbus-spy. And the PV production in de Multi RS stops at once. So, that should be easy to use for my goal. But when I try to change this same value in Node-Red the value does not change. I can monitor it in dbus-spy, and it keeps the same value.
I made a “Custom Control Node” with an input that sends:
msg.path = “com.victronenergy.multi.socketcan_can0_vi0_uc511692/Pv/Disable”
msg.payload = 1
to the Custom Control Node. But the value does not change when I check it in dbus-spy and the status under the Custom Control Node goes to “Setting value…”. And the stays the same for ever.
[
{
"id": "657edfdfe073d07f",
"type": "inject",
"z": "d75287f22d779c0c",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "path",
"v": "com.victronenergy.multi.socketcan_can0_vi0_uc511692/Pv/Disable",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 410,
"y": 480,
"wires": [
[
"6ee60acd81ebced1"
]
]
},
{
"id": "dfab33abd2a1047b",
"type": "inject",
"z": "d75287f22d779c0c",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "path",
"v": "com.victronenergy.multi.socketcan_can0_vi0_uc511692/Pv/Disable",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 410,
"y": 540,
"wires": [
[
"6ee60acd81ebced1"
]
]
},
{
"id": "2335433a354f062a",
"type": "victron-output-custom",
"z": "d75287f22d779c0c",
"service": "com.victronenergy.multi",
"path": "/Pv/1/V",
"serviceObj": {
"service": "com.victronenergy.multi",
"name": "com.victronenergy.multi"
},
"pathObj": {
"path": "/Pv/1/V",
"name": "/Pv/1/V",
"type": "number",
"value": 18.649999618530273
},
"name": "PV uitschakelen",
"onlyChanges": false,
"roundValues": "no",
"rateLimit": 0,
"conditionalMode": false,
"condition1Operator": ">",
"condition2Enabled": false,
"condition2Service": "",
"condition2Path": "",
"condition2Operator": ">",
"logicOperator": "AND",
"outputTrue": "true",
"outputFalse": "false",
"outputOnChange": false,
"debounce": 2000,
"x": 740,
"y": 540,
"wires": []
},
{
"id": "eeb496f585379e87",
"type": "debug",
"z": "d75287f22d779c0c",
"name": "debug 19",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 720,
"y": 480,
"wires": []
},
{
"id": "6ee60acd81ebced1",
"type": "junction",
"z": "d75287f22d779c0c",
"x": 520,
"y": 520,
"wires": [
[
"2335433a354f062a",
"eeb496f585379e87"
]
]
},
{
"id": "a2cfe0ac22db711e",
"type": "global-config",
"env": [],
"modules": {
"@victronenergy/node-red-contrib-victron": "1.7.8"
}
}
]
I noticed that the names of the services in the dropdown-list in the “Custom Control Node” are shorter. For instance: com.victronenergy.multi. I also tried to use that, without the “socketcan_can0_Vi…”. But, this gives the same result.
What am I doing wrong?





