[
{
“id”: “47e0f52ffb50505a”,
“type”: “tab”,
“label”: “SOC&Heizstab”,
“disabled”: true,
“info”: “”,
“env”:
},
{
“id”: “cff94c69c7bac742”,
“type”: “debug”,
“z”: “47e0f52ffb50505a”,
“name”: “”,
“active”: true,
“tosidebar”: true,
“console”: false,
“tostatus”: false,
“complete”: “payload”,
“targetType”: “msg”,
“statusVal”: “”,
“statusType”: “auto”,
“x”: 1250,
“y”: 400,
“wires”:
},
{
“id”: “3d6b19b1c8d830eb”,
“type”: “function”,
“z”: “47e0f52ffb50505a”,
“name”: “Heizstab on”,
“func”: “msg.payload = {\n method: "Switch.Set",\n parameters : {\n id : 0,\n on : true,\n }\n};\nreturn msg;”,
“outputs”: 1,
“noerr”: 0,
“initialize”: “”,
“finalize”: “”,
“libs”: ,
“x”: 830,
“y”: 380,
“wires”: [
[
“9b542dba0e875503”
]
]
},
{
“id”: “1a02fd82b833a65a”,
“type”: “function”,
“z”: “47e0f52ffb50505a”,
“name”: “Heizstab off”,
“func”: “msg.payload = {\n method: "Switch.Set",\n parameters : {\n id : 0,\n on : false,\n }\n};\nreturn msg;”,
“outputs”: 1,
“noerr”: 0,
“initialize”: “”,
“finalize”: “”,
“libs”: ,
“x”: 830,
“y”: 420,
“wires”: [
[
“9b542dba0e875503”
]
]
},
{
“id”: “545e24f170f646c2”,
“type”: “inject”,
“z”: “47e0f52ffb50505a”,
“name”: “Turn On”,
“props”: [
{
“p”: “payload”
},
{
“p”: “topic”,
“vt”: “str”
}
],
“repeat”: “”,
“crontab”: “”,
“once”: false,
“onceDelay”: 0.1,
“topic”: “”,
“payload”: “”,
“payloadType”: “date”,
“x”: 560,
“y”: 380,
“wires”: [
[
“3d6b19b1c8d830eb”
]
]
},
{
“id”: “aa1b3fb6c5e7dee1”,
“type”: “inject”,
“z”: “47e0f52ffb50505a”,
“name”: “Turn Off”,
“props”: [
{
“p”: “payload”
},
{
“p”: “topic”,
“vt”: “str”
}
],
“repeat”: “”,
“crontab”: “”,
“once”: false,
“onceDelay”: 0.1,
“topic”: “”,
“payload”: “”,
“payloadType”: “date”,
“x”: 560,
“y”: 420,
“wires”: [
[
“1a02fd82b833a65a”
]
]
},
{
“id”: “6b0f15485bdbc33b”,
“type”: “inject”,
“z”: “47e0f52ffb50505a”,
“name”: “Get Status”,
“props”: [
{
“p”: “payload”
},
{
“p”: “topic”,
“vt”: “str”
}
],
“repeat”: “”,
“crontab”: “”,
“once”: false,
“onceDelay”: 0.1,
“topic”: “”,
“payload”: “”,
“payloadType”: “date”,
“x”: 820,
“y”: 320,
“wires”: [
[
“9b542dba0e875503”
]
]
},
{
“id”: “6805ea47b25eec2d”,
“type”: “function”,
“z”: “47e0f52ffb50505a”,
“name”: “0 toggle”,
“func”: “msg.payload = {\n method: "Switch.Toggle",\n parameters : {\n id : 0,\n }\n};\nreturn msg;\n”,
“outputs”: 1,
“noerr”: 0,
“initialize”: “”,
“finalize”: “”,
“libs”: ,
“x”: 820,
“y”: 460,
“wires”: [
[
“9b542dba0e875503”
]
]
},
{
“id”: “ba6cc705a48c3b5f”,
“type”: “inject”,
“z”: “47e0f52ffb50505a”,
“name”: “Toggle”,
“props”: [
{
“p”: “payload”
},
{
“p”: “topic”,
“vt”: “str”
}
],
“repeat”: “”,
“crontab”: “”,
“once”: false,
“onceDelay”: 0.1,
“topic”: “”,
“payload”: “”,
“payloadType”: “date”,
“x”: 550,
“y”: 680,
“wires”: [
[
“6805ea47b25eec2d”
]
]
},
{
“id”: “9b542dba0e875503”,
“type”: “shelly-gen2”,
“z”: “47e0f52ffb50505a”,
“hostname”: “192.168.178.57”,
“description”: “”,
“mode”: “polling”,
“server”: “04263f2d054cc2a1”,
“uploadretryinterval”: “5000”,
“pollinginterval”: 5000,
“pollstatus”: false,
“getstatusoncommand”: false,
“devicetype”: “Relay”,
“outputs”: 1,
“x”: 1040,
“y”: 400,
“wires”: [
[
“cff94c69c7bac742”
]
]
},
{
“id”: “a32dc79cbe0aa215”,
“type”: “victron-input-battery”,
“z”: “47e0f52ffb50505a”,
“service”: “com.victronenergy.battery/512”,
“path”: “/Soc”,
“serviceObj”: {
“service”: “com.victronenergy.battery/512”,
“name”: “Pylontech US2000C”
},
“pathObj”: {
“path”: “/Soc”,
“type”: “float”,
“name”: “State of charge (%)”
},
“name”: “Soc %”,
“onlyChanges”: true,
“roundValues”: “2”,
“x”: 230,
“y”: 400,
“wires”: [
[
“a0decc5198a27487”,
“6c01ba4e599dbe27”,
“a3fa383c1ac87428”
]
]
},
{
“id”: “a0decc5198a27487”,
“type”: “debug”,
“z”: “47e0f52ffb50505a”,
“name”: “debug 53”,
“active”: true,
“tosidebar”: true,
“console”: false,
“tostatus”: false,
“complete”: “false”,
“statusVal”: “”,
“statusType”: “auto”,
“x”: 380,
“y”: 400,
“wires”:
},
{
“id”: “6c01ba4e599dbe27”,
“type”: “switch”,
“z”: “47e0f52ffb50505a”,
“name”: “SOC>X an”,
“property”: “payload”,
“propertyType”: “msg”,
“rules”: [
{
“t”: “gte”,
“v”: “98”,
“vt”: “str”
}
],
“checkall”: “true”,
“repair”: true,
“outputs”: 1,
“x”: 550,
“y”: 220,
“wires”: [
[
“3d6b19b1c8d830eb”
]
]
},
{
“id”: “01a9515ff488c867”,
“type”: “inject”,
“z”: “47e0f52ffb50505a”,
“name”: “Test SOC >X an”,
“props”: [
{
“p”: “payload”
},
{
“p”: “topic”,
“vt”: “str”
}
],
“repeat”: “”,
“crontab”: “”,
“once”: false,
“onceDelay”: 0.1,
“topic”: “”,
“payload”: “90”,
“payloadType”: “num”,
“x”: 540,
“y”: 340,
“wires”: [
[
“3d6b19b1c8d830eb”
]
]
},
{
“id”: “6a92b1cb4f2b8cf2”,
“type”: “inject”,
“z”: “47e0f52ffb50505a”,
“name”: “Test SOC <X aus”,
“props”: [
{
“p”: “payload”
},
{
“p”: “topic”,
“vt”: “str”
}
],
“repeat”: “”,
“crontab”: “”,
“once”: false,
“onceDelay”: 0.1,
“topic”: “”,
“payload”: “84”,
“payloadType”: “num”,
“x”: 540,
“y”: 460,
“wires”: [
[
“1a02fd82b833a65a”
]
]
},
{
“id”: “a3fa383c1ac87428”,
“type”: “switch”,
“z”: “47e0f52ffb50505a”,
“name”: “SOC<X aus”,
“property”: “payload”,
“propertyType”: “msg”,
“rules”: [
{
“t”: “lte”,
“v”: “97”,
“vt”: “str”
}
],
“checkall”: “true”,
“repair”: true,
“outputs”: 1,
“x”: 550,
“y”: 560,
“wires”: [
[
“1a02fd82b833a65a”
]
]
},
{
“id”: “04263f2d054cc2a1”,
“type”: “shelly-gen2-server”,
“port”: “10001”,
“hostname”: “unimatrix”
}
]