Ich habe es jetzt nochmals Versucht per NodeRed der Wallbox zu sagen, das sie nur mit max. 6Amp laden soll.
[
{
"id": "13b0831ddf5e4be0",
"type": "tab",
"label": "Ladeflow",
"disabled": false,
"info": "",
"env": []
},
{
"id": "2aded38c843583cb",
"type": "inject",
"z": "13b0831ddf5e4be0",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "0",
"payloadType": "num",
"x": 70,
"y": 200,
"wires": [
[
"036591c764aa1a02"
]
]
},
{
"id": "b08490205237aa5d",
"type": "inject",
"z": "13b0831ddf5e4be0",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "1",
"payloadType": "num",
"x": 70,
"y": 240,
"wires": [
[
"036591c764aa1a02"
]
]
},
{
"id": "036591c764aa1a02",
"type": "function",
"z": "13b0831ddf5e4be0",
"name": "function 2",
"func": "if (msg.payload == 0) {\n msg.payload=16\n return msg\n} \nif (msg.payload >= 1) {\n msg.payload=6\n return msg\n} \n",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 280,
"y": 220,
"wires": [
[
"44e6c066af943122",
"2bf396aef54e2e47"
]
]
},
{
"id": "44e6c066af943122",
"type": "debug",
"z": "13b0831ddf5e4be0",
"name": "debug 5",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 540,
"y": 220,
"wires": []
},
{
"id": "2bf396aef54e2e47",
"type": "victron-output-custom",
"z": "13b0831ddf5e4be0",
"service": "com.victronenergy.evcharger/40",
"path": "/MaxCurrent",
"serviceObj": {
"service": "com.victronenergy.evcharger/40",
"name": "EVCS-HQ2243JXFXJ (40)"
},
"pathObj": {
"path": "/MaxCurrent",
"name": "/MaxCurrent",
"type": "number",
"value": 16
},
"name": "MAX LOAD",
"onlyChanges": false,
"roundValues": "no",
"rateLimit": 0,
"outputs": 0,
"conditionalMode": false,
"condition1Operator": ">",
"condition2Enabled": false,
"condition2Service": "",
"condition2Path": "",
"condition2Operator": ">",
"logicOperator": "AND",
"outputTrue": "true",
"outputFalse": "false",
"outputOnChange": false,
"debounce": 2000,
"x": 550,
"y": 280,
"wires": []
},
{
"id": "409bd9b5a104d6e4",
"type": "global-config",
"env": [],
"modules": {
"@victronenergy/node-red-contrib-victron": "1.6.60"
}
}
]
leider werden die 6Amp nur für ca. 2-6 Sekunden gesetzt, danach springt sie wieder auf die 16Amp.