[
{
"id": "c24431d8.d16be",
"type": "tab",
"label": "Stromzaehler",
"disabled": false,
"info": ""
},
{
"id": "ca70896d.43a0e8",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "StromL1",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "10",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 400,
"y": 120,
"wires": [
[
"eda79e7e.a523a"
],
[]
]
},
{
"id": "ee35a935.fef2f8",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "StromL2",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "12",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 400,
"y": 180,
"wires": [
[
"c52e1e95.b8f1f"
],
[]
]
},
{
"id": "dc060bf0.aa6d58",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "StromL3",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "14",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 400,
"y": 240,
"wires": [
[
"9730857f.daf338"
],
[]
]
},
{
"id": "fd856d9f.70277",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "SpannungL1",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "4",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 410,
"y": 300,
"wires": [
[
"822f53a0.e1937"
],
[]
]
},
{
"id": "740110ab.90cb6",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "SpannungL2",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "6",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 410,
"y": 360,
"wires": [
[
"59509a99.453d34"
],
[]
]
},
{
"id": "3f43516e.4f8dae",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "SpannungL3",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "8",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 410,
"y": 420,
"wires": [
[
"d127f414.df7908"
],
[]
]
},
{
"id": "3ad65ae3.eda6b6",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "Leistung",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "0",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 400,
"y": 480,
"wires": [
[
"c007e291.21884"
],
[]
]
},
{
"id": "5ac246bf.53dd98",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "Leistungsfaktor",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "16",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 420,
"y": 540,
"wires": [
[
"ea96f3f7.8344b"
],
[]
]
},
{
"id": "b0d845a1.e7fb78",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "Arbeit",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "16384",
"quantity": "4",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 390,
"y": 600,
"wires": [
[
"4a5d3ac2.4e2064",
"1a4cfd75.f47b63"
],
[]
]
},
{
"id": "6236d710.f70b78",
"type": "interval",
"z": "c24431d8.d16be",
"name": "interval",
"interval": "12",
"onstart": true,
"msg": "ping",
"showstatus": true,
"unit": "seconds",
"statusformat": "YYYY-MM-D HH:mm:ss",
"x": 70,
"y": 120,
"wires": [
[
"ca70896d.43a0e8",
"e36f2b0d.0e92f8",
"6ee75438.4bbcfc",
"3f5cf966.6a2406",
"52a46806.ed3698",
"c6032558.310288",
"8c1d0031.e7f1",
"ad0073fb.8b4db",
"bbcc4352.3cd35",
"fa0e23d9.8a225",
"ab17a4fe.415c38"
]
]
},
{
"id": "eda79e7e.a523a",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/1000;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 120,
"wires": [
[
"743b4448.e11c9c"
]
]
},
{
"id": "c52e1e95.b8f1f",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/1000;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 180,
"wires": [
[
"b6706fb0.5952e"
]
]
},
{
"id": "9730857f.daf338",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/1000;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 240,
"wires": [
[
"6199f148.43dd7"
]
]
},
{
"id": "822f53a0.e1937",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/100;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 300,
"wires": [
[
"26ed97e2.e1d858"
]
]
},
{
"id": "59509a99.453d34",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/100;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 360,
"wires": [
[
"d3b96b29.c6a308"
]
]
},
{
"id": "d127f414.df7908",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/100;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 420,
"wires": [
[
"a9e7b2b9.bc822"
]
]
},
{
"id": "c007e291.21884",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/10;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 480,
"wires": [
[
"cc3aed6c.fbd9"
]
]
},
{
"id": "ea96f3f7.8344b",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/1000;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 540,
"wires": [
[
"bf614fb5.b8e42"
]
]
},
{
"id": "4a5d3ac2.4e2064",
"type": "function",
"z": "c24431d8.d16be",
"name": "1.8.1 Tarif 1",
"func": "var arr=msg.payload;\nif(arr.length===4){\n var f=parseFloat(arr[2])*65535;\n f=f+parseFloat(arr[3]);\n f=f/1000;\n msg.payload=f;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 590,
"y": 600,
"wires": [
[
"965517b5.588d38"
]
]
},
{
"id": "1a4cfd75.f47b63",
"type": "function",
"z": "c24431d8.d16be",
"name": "1.8.0 Tariflos",
"func": "var arr=msg.payload;\nif(arr.length===4){\n var f=parseFloat(arr[0])*65535;\n f=f+parseFloat(arr[1]);\n f=f/1000;\n msg.payload=f;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 590,
"y": 660,
"wires": [
[
"f3430f00.3de5a"
]
]
},
{
"id": "743b4448.e11c9c",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.I1",
"ack": "true",
"autoCreate": "false",
"x": 830,
"y": 120,
"wires": []
},
{
"id": "b6706fb0.5952e",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.I2",
"ack": "true",
"autoCreate": "false",
"x": 830,
"y": 180,
"wires": []
},
{
"id": "6199f148.43dd7",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.I3",
"ack": "true",
"autoCreate": "false",
"x": 830,
"y": 240,
"wires": []
},
{
"id": "26ed97e2.e1d858",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.U1",
"ack": "true",
"autoCreate": "false",
"x": 830,
"y": 300,
"wires": []
},
{
"id": "d3b96b29.c6a308",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.U2",
"ack": "true",
"autoCreate": "false",
"x": 830,
"y": 360,
"wires": []
},
{
"id": "a9e7b2b9.bc822",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.U3",
"ack": "true",
"autoCreate": "false",
"x": 830,
"y": 420,
"wires": []
},
{
"id": "cc3aed6c.fbd9",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.Leistung",
"ack": "true",
"autoCreate": "false",
"x": 850,
"y": 480,
"wires": []
},
{
"id": "bf614fb5.b8e42",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.LF",
"ack": "true",
"autoCreate": "false",
"x": 830,
"y": 540,
"wires": []
},
{
"id": "f3430f00.3de5a",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.Arbeit",
"ack": "true",
"autoCreate": "false",
"x": 840,
"y": 660,
"wires": []
},
{
"id": "965517b5.588d38",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.ArbeitT1",
"ack": "true",
"autoCreate": "false",
"x": 850,
"y": 600,
"wires": []
},
{
"id": "e36f2b0d.0e92f8",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "1",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 240,
"y": 180,
"wires": [
[
"ee35a935.fef2f8"
]
]
},
{
"id": "6ee75438.4bbcfc",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "2",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 240,
"y": 240,
"wires": [
[
"dc060bf0.aa6d58"
]
]
},
{
"id": "3f5cf966.6a2406",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "3",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 240,
"y": 300,
"wires": [
[
"fd856d9f.70277"
]
]
},
{
"id": "52a46806.ed3698",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "4",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 240,
"y": 360,
"wires": [
[
"740110ab.90cb6"
]
]
},
{
"id": "c6032558.310288",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "5",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 240,
"y": 420,
"wires": [
[
"3f43516e.4f8dae"
]
]
},
{
"id": "8c1d0031.e7f1",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "6",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 240,
"y": 480,
"wires": [
[
"3ad65ae3.eda6b6"
]
]
},
{
"id": "ad0073fb.8b4db",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "7",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 240,
"y": 540,
"wires": [
[
"5ac246bf.53dd98"
]
]
},
{
"id": "bbcc4352.3cd35",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "8",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 240,
"y": 600,
"wires": [
[
"b0d845a1.e7fb78"
]
]
},
{
"id": "fa0e23d9.8a225",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "9",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 230,
"y": 660,
"wires": [
[
"56b5c62f.985728"
]
]
},
{
"id": "56b5c62f.985728",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "Frequenz",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "18",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 400,
"y": 660,
"wires": [
[
"d365faff.e92c88"
],
[]
]
},
{
"id": "d365faff.e92c88",
"type": "function",
"z": "c24431d8.d16be",
"name": "Faktor",
"func": "var arr=msg.payload;\nif(arr.length===2){\n msg.payload=parseFloat(arr[1])/1000;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 570,
"y": 720,
"wires": [
[
"6840d07.a26203"
]
]
},
{
"id": "6840d07.a26203",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "",
"topic": "javascript.0.Zaehler.Strom.Auslese.Frequenz",
"ack": "true",
"autoCreate": "false",
"x": 850,
"y": 720,
"wires": []
},
{
"id": "ab17a4fe.415c38",
"type": "trigger",
"z": "c24431d8.d16be",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "10",
"extend": false,
"units": "s",
"reset": "",
"bytopic": "all",
"name": "",
"x": 230,
"y": 780,
"wires": [
[
"1ee90767.d707e9"
]
]
},
{
"id": "1ee90767.d707e9",
"type": "modbus-getter",
"z": "c24431d8.d16be",
"name": "Arbeit",
"showStatusActivities": true,
"showErrors": true,
"logIOActivities": false,
"unitid": "151",
"dataType": "HoldingRegister",
"adr": "14",
"quantity": "2",
"server": "beb38e5d.d2f6b",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"x": 380,
"y": 780,
"wires": [
[
"cc1e00f3.f5d52"
],
[]
]
},
{
"id": "cc1e00f3.f5d52",
"type": "function",
"z": "c24431d8.d16be",
"name": "kW",
"func": "var arr=msg.payload;\nif(arr.length===2){\n var f=parseFloat(arr[0])*65535;\n f=f+parseFloat(arr[1]);\n f=f/1000;\n msg.payload=f;\n}\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 560,
"y": 780,
"wires": [
[
"f4de584c.5d8ec8"
]
]
},
{
"id": "f4de584c.5d8ec8",
"type": "ioBroker out",
"z": "c24431d8.d16be",
"name": "javascript.0.Zaehler.Strom.Auslese.LeistungKW",
"topic": "javascript.0.Zaehler.Strom.Auslese.LeistungKW",
"ack": "true",
"autoCreate": "false",
"x": 850,
"y": 780,
"wires": []
},
{
"id": "beb38e5d.d2f6b",
"type": "modbus-client",
"z": 0,
"name": "Modbus0",
"clienttype": "serial",
"bufferCommands": true,
"stateLogEnabled": false,
"tcpHost": "127.0.0.1",
"tcpPort": "502",
"tcpType": "DEFAULT",
"serialPort": "/dev/ttyUSB0",
"serialType": "RTU-BUFFERD",
"serialBaudrate": "9600",
"serialDatabits": "8",
"serialStopbits": "1",
"serialParity": "even",
"serialConnectionDelay": "100",
"unit_id": "1",
"commandDelay": "100",
"clientTimeout": "1000",
"reconnectOnTimeout": false,
"reconnectTimeout": "2000",
"parallelUnitIdsAllowed": false
}
]