[
{
"id": "032c6b7628e05a94",
"type": "tab",
"label": "Flow 2",
"disabled": false,
"info": "",
"env": []
},
{
"id": "8a108642fd3c49ca",
"type": "mqtt in",
"z": "032c6b7628e05a94",
"name": "Phase-1-Power",
"topic": "shellies/shelly-haus/emeter/0/power",
"qos": "0",
"datatype": "auto-detect",
"broker": "4569811e2dbf3cce",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 100,
"y": 680,
"wires": [
[
"07ae2369fe461fbe"
]
]
},
{
"id": "fa43d38d79126bfb",
"type": "mqtt in",
"z": "032c6b7628e05a94",
"name": "Phase-2-Power",
"topic": "shellies/shelly-haus/emeter/1/power",
"qos": "0",
"datatype": "auto-detect",
"broker": "4569811e2dbf3cce",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 100,
"y": 740,
"wires": [
[
"bf7144a4e29d4279"
]
]
},
{
"id": "4ef2df468a509ffb",
"type": "mqtt in",
"z": "032c6b7628e05a94",
"name": "Phase-3-Power",
"topic": "shellies/shelly-haus/emeter/2/power",
"qos": "0",
"datatype": "auto-detect",
"broker": "4569811e2dbf3cce",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 100,
"y": 800,
"wires": [
[
"64441cb4c466b694"
]
]
},
{
"id": "07ae2369fe461fbe",
"type": "change",
"z": "032c6b7628e05a94",
"name": "topic: L1",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "L1",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 260,
"y": 680,
"wires": [
[
"a244a31c5bcbea91"
]
]
},
{
"id": "bf7144a4e29d4279",
"type": "change",
"z": "032c6b7628e05a94",
"name": "topic: L2",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "L2",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 260,
"y": 740,
"wires": [
[
"a244a31c5bcbea91"
]
]
},
{
"id": "64441cb4c466b694",
"type": "change",
"z": "032c6b7628e05a94",
"name": "topic: L3",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "L3",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 260,
"y": 800,
"wires": [
[
"a244a31c5bcbea91"
]
]
},
{
"id": "a244a31c5bcbea91",
"type": "join",
"z": "032c6b7628e05a94",
"name": "",
"mode": "custom",
"build": "object",
"property": "payload",
"propertyType": "msg",
"key": "topic",
"joiner": "\\n",
"joinerType": "str",
"accumulate": true,
"timeout": "",
"count": "3",
"reduceRight": false,
"reduceExp": "",
"reduceInit": "",
"reduceInitType": "",
"reduceFixup": "",
"x": 410,
"y": 740,
"wires": [
[
"add94d9ab1b506bd"
]
]
},
{
"id": "3ceea4dfeb31a8e4",
"type": "debug",
"z": "032c6b7628e05a94",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 790,
"y": 800,
"wires": []
},
{
"id": "add94d9ab1b506bd",
"type": "change",
"z": "032c6b7628e05a94",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "payload.L1 + payload.L2 +payload.L3",
"tot": "jsonata"
},
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "Summe von L1,L2,L3",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 570,
"y": 740,
"wires": [
[
"0d40e8a94e2653c6"
]
]
},
{
"id": "0d40e8a94e2653c6",
"type": "delay",
"z": "032c6b7628e05a94",
"name": "",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "3",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": false,
"outputs": 1,
"x": 780,
"y": 740,
"wires": [
[
"3ceea4dfeb31a8e4"
]
]
},
{
"id": "4569811e2dbf3cce",
"type": "mqtt-broker",
"name": "mqtt-broker-solar",
"broker": "192.168.0.11",
"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": ""
}
]
Alles anzeigen