Und Vorlagen gibt es bei der Loxone Library:
https://library.loxone.com/detail/so...r-127/overview

. Hoff ich konnte mein Anliegen nicht zu kompliziert erklären?! [
{
"id": "dcc40a907bcdec38",
"type": "tab",
"label": "SolarEdge",
"disabled": false,
"info": "",
"env": []
},
{
"id": "759110e975ba5591",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "Float",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "floatle",
"name": "Fuel",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16le",
"name": "State",
"offset": 4,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "swap16",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": true,
"outputs": 1,
"x": 930,
"y": 820,
"wires": [
[
"685d66a2afb86497"
]
]
},
{
"id": "cb73f831f8e27d37",
"type": "modbus-flex-getter",
"z": "dcc40a907bcdec38",
"name": "Abfrage SolarEdge",
"showStatusActivities": true,
"showErrors": true,
"showWarnings": true,
"logIOActivities": false,
"server": "036d7ad23247f72d",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"keepMsgProperties": false,
"delayOnStart": false,
"startDelayTime": "",
"x": 470,
"y": 600,
"wires": [
[],
[
"66964808b430e66f",
"f129c678ad30e37d",
"969c104ef75ba67c",
"4ed201abd1d2c7a6",
"8fe7750b460faf3f",
"2f8da9ea96ee736e",
"d596dbfe1db69861",
"d413082e1b096a7d",
"4c2ba21817cdbc8e",
"b3a1bad5ddbbeced",
"ad0ab858e7ed4553",
"1293384494180d6a",
"79796e789537a67a"
]
]
},
{
"id": "8bfd1debbef33335",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40100",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "2",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "I_DC_Power",
"x": 200,
"y": 540,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "2f8da9ea96ee736e",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "I_DC_Power",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "I_DC_Power",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 710,
"y": 540,
"wires": [
[
"c1295b4f2b277518"
]
]
},
{
"id": "22ee407e5f795f45",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40206",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "5",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": "1",
"topic": "M_AC_Power1",
"x": 190,
"y": 320,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "e5973eff78d54285",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40380",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "5",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": "2",
"topic": "M_AC_Power2",
"x": 190,
"y": 660,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "d596dbfe1db69861",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "M_AC_Power2",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "M_AC_Power2",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 720,
"y": 660,
"wires": [
[
"4621db95074c4a00"
]
]
},
{
"id": "4621db95074c4a00",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "-1 x 8 Int-Register",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "int16be",
"name": "M_AC_Power",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "-1",
"mask": ""
},
{
"type": "int16be",
"name": "M_AC_Power_A",
"offset": 2,
"length": 1,
"offsetbit": 0,
"scale": "-1",
"mask": ""
},
{
"type": "int16be",
"name": "M_AC_Power_B",
"offset": 4,
"length": 1,
"offsetbit": 0,
"scale": "-1",
"mask": ""
},
{
"type": "int16be",
"name": "M_AC_Power_C",
"offset": 6,
"length": 1,
"offsetbit": 0,
"scale": "-1",
"mask": ""
},
{
"type": "int16be",
"name": "SF",
"offset": 8,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 950,
"y": 660,
"wires": [
[
"c1bbac86df6411d0"
]
]
},
{
"id": "c1295b4f2b277518",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "2 Int-Register",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "int16be",
"name": "I_DC_Power",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "SF",
"offset": 2,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 540,
"wires": [
[
"6c90a69b71612775"
]
]
},
{
"id": "cab3331340fae0a8",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "-1 x 8 Int-Register",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "int16be",
"name": "M_AC_Power",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "-1",
"mask": ""
},
{
"type": "int16be",
"name": "M_AC_Power_A",
"offset": 2,
"length": 1,
"offsetbit": 0,
"scale": "-1",
"mask": ""
},
{
"type": "int16be",
"name": "M_AC_Power_B",
"offset": 4,
"length": 1,
"offsetbit": 0,
"scale": "-1",
"mask": ""
},
{
"type": "int16be",
"name": "M_AC_Power_C",
"offset": 6,
"length": 1,
"offsetbit": 0,
"scale": "-1",
"mask": ""
},
{
"type": "int16be",
"name": "SF",
"offset": 8,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 950,
"y": 320,
"wires": [
[
"dee7643f7757fbed"
]
]
},
{
"id": "8fe7750b460faf3f",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "M_AC_Power1",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "M_AC_Power1",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 720,
"y": 320,
"wires": [
[
"cab3331340fae0a8"
]
]
},
{
"id": "ad0ab858e7ed4553",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "I_Status",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "I_Status",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 700,
"y": 480,
"wires": [
[
"b3816cbac7be9ca6"
]
]
},
{
"id": "a6e755147edc797e",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "I_Status",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40107",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "2",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": "3",
"topic": "I_Status",
"x": 220,
"y": 480,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "413c8565f4470bfa",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "I_BAT_Fuel",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "62852",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "4",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": "4",
"topic": "I_BAT_Fuel_State",
"x": 210,
"y": 820,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "66964808b430e66f",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "I_BAT_Fuel",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "I_BAT_Fuel_State",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 710,
"y": 820,
"wires": [
[
"759110e975ba5591"
]
]
},
{
"id": "c1bbac86df6411d0",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = {payload: msg.payload.M_AC_Power * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 660,
"wires": [
[
"926061a241f63342"
]
]
},
{
"id": "dee7643f7757fbed",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = { payload: msg.payload.M_AC_Power * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 320,
"wires": [
[
"b8ce38e805dc36da"
]
]
},
{
"id": "6c90a69b71612775",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = { payload: msg.payload.I_DC_Power * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 540,
"wires": [
[
"eed5907d253340cf"
]
]
},
{
"id": "eed5907d253340cf",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "I_DC_Power",
"topic": "solaredge/I_DC_Power",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1350,
"y": 540,
"wires": []
},
{
"id": "b8ce38e805dc36da",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "M_AC_Power1",
"topic": "solaredge/M_AC_Power1",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1360,
"y": 320,
"wires": [],
"info": "in kW"
},
{
"id": "926061a241f63342",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "M_AC_Power2",
"topic": "solaredge/M_AC_Power2",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1360,
"y": 660,
"wires": [],
"info": "in kW"
},
{
"id": "381afbe5915b17c2",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "I_Status",
"topic": "solaredge/I_Status",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1340,
"y": 480,
"wires": []
},
{
"id": "685d66a2afb86497",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "I_BAT_Fuel und State",
"topic": "solaredge/I_BAT",
"qos": "",
"retain": "true",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1380,
"y": 820,
"wires": []
},
{
"id": "ed30a63f2f4f7682",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "M_InEx_Energy1",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40226",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "20",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": "6",
"topic": "M_InEx_Energy1",
"x": 190,
"y": 380,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "f129c678ad30e37d",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "M_InEx_Energy1",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "M_InEx_Energy1",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 730,
"y": 380,
"wires": [
[
"995043bdc2ed31a5"
]
]
},
{
"id": "ce434f1c25fe9e96",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = {payload: msg.payload.M_Exported * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 380,
"wires": [
[
"12a13594e16c7275"
]
]
},
{
"id": "12a13594e16c7275",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "M_Exported_Energy1",
"topic": "solaredge/M_Exported_Energy1",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1380,
"y": 380,
"wires": [],
"info": "in kWh"
},
{
"id": "442f06ee08ad8f30",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = {payload: msg.payload.M_Imported * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 420,
"wires": [
[
"9729632867e00f9a"
]
]
},
{
"id": "9729632867e00f9a",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "M_Imported_Energy1",
"topic": "solaredge/M_Imported_Energy1",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1380,
"y": 420,
"wires": [],
"info": "in kWh"
},
{
"id": "02337fec57dc3bd7",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "M_InEx_Energy2",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40400",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "20",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": "7",
"topic": "M_InEx_Energy2",
"x": 190,
"y": 720,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "4ed201abd1d2c7a6",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "M_InEx_Energy2",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "M_InEx_Energy2",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 730,
"y": 720,
"wires": [
[
"e9e6bbfb1f07e6d5"
]
]
},
{
"id": "e9e6bbfb1f07e6d5",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "2 Int-Register",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "uint32be",
"name": "M_Exported",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Exported_A",
"offset": 4,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Exported_B",
"offset": 8,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Exported_C",
"offset": 12,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Imported",
"offset": 16,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Imported_A",
"offset": 20,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Imported_B",
"offset": 24,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Imported_C",
"offset": 28,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "SF",
"offset": 32,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 720,
"wires": [
[
"f0355cd31ee7f90d",
"276dd95ba807ec8a"
]
]
},
{
"id": "f0355cd31ee7f90d",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = {payload: msg.payload.M_Exported * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 720,
"wires": [
[
"095b40585c6bcba8"
]
]
},
{
"id": "095b40585c6bcba8",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "M_Exported_Energy2",
"topic": "solaredge/M_Exported_Energy2",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1380,
"y": 720,
"wires": [],
"info": "in kWh"
},
{
"id": "276dd95ba807ec8a",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = {payload: msg.payload.M_Imported * Math.pow(10, msg.payload.SF-3)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 760,
"wires": [
[
"a7502d6e905e8d91"
]
]
},
{
"id": "a7502d6e905e8d91",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "M_Imported_Energy2",
"topic": "solaredge/M_Imported_Energy2",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1380,
"y": 760,
"wires": [],
"info": "in kWh"
},
{
"id": "9015ed8f6f940ca4",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "I_BAT_Power",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "62836",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "2",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": "8",
"topic": "I_BAT_Power",
"x": 200,
"y": 880,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "d91d7a311bc9a7b9",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "Float",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "floatle",
"name": "Power",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "0.001",
"mask": ""
}
],
"swap1": "swap16",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": true,
"outputs": 1,
"x": 930,
"y": 880,
"wires": [
[
"80725ec3fe0876c9"
]
]
},
{
"id": "969c104ef75ba67c",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "I_BAT_Power",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "I_BAT_Power",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 720,
"y": 880,
"wires": [
[
"d91d7a311bc9a7b9"
]
]
},
{
"id": "80725ec3fe0876c9",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": "I_BAT_Power",
"topic": "solaredge/I_BAT",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1360,
"y": 880,
"wires": []
},
{
"id": "995043bdc2ed31a5",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "2 Int-Register",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "uint32be",
"name": "M_Exported",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Exported_A",
"offset": 4,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Exported_B",
"offset": 8,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Exported_C",
"offset": 12,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Imported",
"offset": 16,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Imported_A",
"offset": 20,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Imported_B",
"offset": 24,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "M_Imported_C",
"offset": 28,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "SF",
"offset": 32,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 380,
"wires": [
[
"ce434f1c25fe9e96",
"442f06ee08ad8f30"
]
]
},
{
"id": "038347df736b337e",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "Common Meter1",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40121",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "56",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "1",
"topic": "C_Common1",
"x": 200,
"y": 200,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "d413082e1b096a7d",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "C_Common1",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "C_Common1",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 710,
"y": 200,
"wires": [
[
"b6e2115ee6ec843a"
]
]
},
{
"id": "b6e2115ee6ec843a",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "Common-Reg",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "uint16be",
"name": "C_SunSpec_DID",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_SunSpec_Length",
"offset": 2,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": " C_Manufacturer",
"offset": 4,
"length": 16,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": "C_Model",
"offset": 20,
"length": 16,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": "C_Option",
"offset": 36,
"length": 8,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": "C_Version",
"offset": 44,
"length": 8,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": "C_SerialNumber",
"offset": 52,
"length": 16,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_DeviceAddress",
"offset": 68,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_SunSpec_DID2",
"offset": 70,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_SunSpec_Length2",
"offset": 72,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 200,
"wires": [
[
"626b7248f6bf8514"
]
]
},
{
"id": "0bba863a5009b1db",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "Common Meter2",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40295",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "54",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "1",
"topic": "C_Common2",
"x": 200,
"y": 600,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "4c2ba21817cdbc8e",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "C_Common2",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "C_Common2",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 710,
"y": 600,
"wires": [
[
"b6c6fd21a32171ae"
]
]
},
{
"id": "376b861f86b89e64",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "M_AC_Freq1",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40204",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "2",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "1",
"topic": "M_AC_Freq1",
"x": 210,
"y": 260,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "b3a1bad5ddbbeced",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "M_AC_Freq1",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "M_AC_Freq1",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 710,
"y": 260,
"wires": [
[
"af55450dfabc1b50"
]
]
},
{
"id": "b6c6fd21a32171ae",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "Common-Reg",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "uint16be",
"name": "C_SunSpec_DID",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_SunSpec_Length",
"offset": 2,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": " C_Manufacturer",
"offset": 4,
"length": 16,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": "C_Model",
"offset": 20,
"length": 16,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": "C_Option",
"offset": 36,
"length": 8,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": "C_Version",
"offset": 44,
"length": 8,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "string",
"name": "C_SerialNumber",
"offset": 52,
"length": 16,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_DeviceAddress",
"offset": 68,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_SunSpec_DID2",
"offset": 70,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_SunSpec_Length2",
"offset": 72,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 600,
"wires": [
[]
]
},
{
"id": "af55450dfabc1b50",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "2 Int-Register",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "int16be",
"name": "M_AC_Freq",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "SF",
"offset": 2,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 260,
"wires": [
[
"0876297b8c640ac5"
]
]
},
{
"id": "0876297b8c640ac5",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = { payload: msg.payload.M_AC_Freq * Math.pow(10, msg.payload.SF)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 260,
"wires": [
[]
]
},
{
"id": "b3816cbac7be9ca6",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "2 Int-Register",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "uint16be",
"name": "I_Status",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_Status_Vendor",
"offset": 2,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 480,
"wires": [
[
"36bd7d40fdf663cd"
]
]
},
{
"id": "36bd7d40fdf663cd",
"type": "change",
"z": "dcc40a907bcdec38",
"name": "I_Status",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.I_Status",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1140,
"y": 480,
"wires": [
[
"381afbe5915b17c2"
]
]
},
{
"id": "626b7248f6bf8514",
"type": "debug",
"z": "dcc40a907bcdec38",
"name": "C_Common1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1210,
"y": 200,
"wires": []
},
{
"id": "48072014e0fe529b",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "Common Inverter",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40069",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "80",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "1",
"topic": "C_Common0",
"x": 200,
"y": 140,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "1293384494180d6a",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": "C_Common0",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "C_Common0",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 710,
"y": 140,
"wires": [
[
"d771d00b4ede5069"
]
]
},
{
"id": "d771d00b4ede5069",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "Common-Reg",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "uint16be",
"name": "C_SunSpec_DID",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "C_SunSpec_Length",
"offset": 2,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_AC_Current",
"offset": 4,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_AC_CurrentA",
"offset": 6,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_AC_CurrentB",
"offset": 8,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_AC_CurrentC",
"offset": 10,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_Current_SF",
"offset": 12,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_AC_VoltageAB",
"offset": 14,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_AC_VoltageBC",
"offset": 16,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": " I_AC_VoltageCA",
"offset": 18,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": " I_AC_VoltageAN",
"offset": 20,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": " I_AC_VoltageBN",
"offset": 22,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": " I_AC_VoltageCN",
"offset": 24,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_Voltage_SF",
"offset": 26,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_Power",
"offset": 28,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_Power_SF",
"offset": 30,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_AC_Frequency",
"offset": 32,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_Frequency_SF",
"offset": 34,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_VA",
"offset": 36,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_VA_SF",
"offset": 38,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": " I_AC_VAR",
"offset": 40,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_VAR_SF",
"offset": 42,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_PF",
"offset": 44,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": " I_AC_PF_SF",
"offset": 46,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint32be",
"name": "I_AC_Energy_WH",
"offset": 48,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_AC_Energy_WH_SF",
"offset": 52,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_DC_Current",
"offset": 54,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": " I_DC_Current_SF",
"offset": 56,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_DC_Voltage",
"offset": 58,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_DC_Voltage_SF",
"offset": 60,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_DC_Power",
"offset": 62,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_DC_Power_SF",
"offset": 64,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_Temp_Sink",
"offset": 68,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "I_Temp_SF",
"offset": 74,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": " I_Status",
"offset": 76,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "uint16be",
"name": "I_Status_Vendor",
"offset": 78,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 140,
"wires": [
[
"8bd1eba1f6bb3fd3"
]
]
},
{
"id": "8bd1eba1f6bb3fd3",
"type": "debug",
"z": "dcc40a907bcdec38",
"name": "C_Common0",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1210,
"y": 140,
"wires": []
},
{
"id": "d1916ffdcc8b1fef",
"type": "inject",
"z": "dcc40a907bcdec38",
"name": "",
"props": [
{
"p": "payload.fc",
"v": "3",
"vt": "num"
},
{
"p": "payload.address",
"v": "40103",
"vt": "str"
},
{
"p": "payload.quantity",
"v": "4",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "30",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": " I_Temp_Sink",
"x": 200,
"y": 80,
"wires": [
[
"cb73f831f8e27d37"
]
]
},
{
"id": "79796e789537a67a",
"type": "switch",
"z": "dcc40a907bcdec38",
"name": " I_Temp_Sink",
"property": "topic",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": " I_Temp_Sink",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 710,
"y": 80,
"wires": [
[
"ac4a66751211903c"
]
]
},
{
"id": "ac4a66751211903c",
"type": "buffer-parser",
"z": "dcc40a907bcdec38",
"name": "2 Int-Register",
"data": "payload.buffer",
"dataType": "msg",
"specification": "spec",
"specificationType": "ui",
"items": [
{
"type": "int16be",
"name": "I_Temp_Sink",
"offset": 0,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
},
{
"type": "int16be",
"name": "SF",
"offset": 6,
"length": 1,
"offsetbit": 0,
"scale": "1",
"mask": ""
}
],
"swap1": "",
"swap2": "",
"swap3": "",
"swap1Type": "swap",
"swap2Type": "swap",
"swap3Type": "swap",
"msgProperty": "payload",
"msgPropertyType": "str",
"resultType": "keyvalue",
"resultTypeType": "return",
"multipleResult": false,
"fanOutMultipleResult": false,
"setTopic": false,
"outputs": 1,
"x": 940,
"y": 80,
"wires": [
[
"d14ee17058c5732e"
]
]
},
{
"id": "d14ee17058c5732e",
"type": "function",
"z": "dcc40a907bcdec38",
"name": "Scaling Faktor",
"func": "var outmsg = { payload: msg.payload. I_Temp_Sink * Math.pow(10, msg.payload.SF)}\nreturn outmsg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1160,
"y": 80,
"wires": [
[
"0b75f54aeddfea6b"
]
]
},
{
"id": "0b75f54aeddfea6b",
"type": "mqtt out",
"z": "dcc40a907bcdec38",
"name": " I_Temp_Sink",
"topic": "solaredge/ I_Temp_Sink",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "85fbdaac5ba739fa",
"x": 1350,
"y": 80,
"wires": []
},
{
"id": "036d7ad23247f72d",
"type": "modbus-client",
"name": "SolarEdge",
"clienttype": "tcp",
"bufferCommands": true,
"stateLogEnabled": false,
"queueLogEnabled": false,
"failureLogEnabled": true,
"tcpHost": "1.2.3.4",
"tcpPort": "502",
"tcpType": "DEFAULT",
"serialPort": "/dev/ttyUSB",
"serialType": "RTU-BUFFERD",
"serialBaudrate": "9600",
"serialDatabits": "8",
"serialStopbits": "1",
"serialParity": "none",
"serialConnectionDelay": "100",
"serialAsciiResponseStartDelimiter": "0x3A",
"unit_id": "2",
"commandDelay": "1",
"clientTimeout": "10000",
"reconnectOnTimeout": true,
"reconnectTimeout": "2000",
"parallelUnitIdsAllowed": true,
"showWarnings": true,
"showLogs": true
},
{
"id": "85fbdaac5ba739fa",
"type": "mqtt-broker",
"name": "Lokaler MQTT",
"broker": "localhost",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]
Wir verarbeiten personenbezogene Daten über Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen, Werbung zu personalisieren und Websiteaktivitäten zu analysieren. Wir können bestimmte Informationen über unsere Nutzer mit unseren Werbe- und Analysepartnern teilen. Weitere Einzelheiten finden Sie in unserer Datenschutzrichtlinie.
Wenn Sie unten auf "Einverstanden" klicken, stimmen Sie unserer Datenschutzrichtlinie und unseren Datenverarbeitungs- und Cookie-Praktiken wie dort beschrieben zu. Sie erkennen außerdem an, dass dieses Forum möglicherweise außerhalb Ihres Landes gehostet wird und Sie der Erhebung, Speicherung und Verarbeitung Ihrer Daten in dem Land, in dem dieses Forum gehostet wird, zustimmen.
Kommentar