[
{
"id": "78ea932b6144ea56",
"type": "switch",
"z": "c7454c976ad86c7e",
"name": "PV Überschuss",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "lt",
"v": "2.4",
"vt": "num"
},
{
"t": "gte",
"v": "2.4",
"vt": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 360,
"y": 680,
"wires": [
[
"45c84f129773d19b"
],
[
"0478f81a30fe3639",
"e4a8735798502e7c"
]
],
"outputLabels": [
"Brauchwasser AUS",
"Brauchwasser EIN"
],
"info": "Ich würde hier eine Hysterese einbauen. \r\n\r\nDie Ausgänge kannst Du auch beschreiben, wenn Du mit der Maus drüber gehst."
},
{
"id": "0423db8ebd88425a",
"type": "debug",
"z": "c7454c976ad86c7e",
"name": "Brauchwasser EIN (Shelly)",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 2040,
"y": 960,
"wires": []
},
{
"id": "7e029bf35fe30f0c",
"type": "debug",
"z": "c7454c976ad86c7e",
"name": "Brauchwasser AUS (Shelly)",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload",
"statusType": "auto",
"x": 2060,
"y": 540,
"wires": []
},
{
"id": "490f9fe9d29ac5c8",
"type": "delay",
"z": "c7454c976ad86c7e",
"name": "20 Minuten verzögern",
"pauseType": "rate",
"timeout": "20",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "20",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": false,
"outputs": 1,
"x": 1180,
"y": 920,
"wires": [
[
"467fd83885fcecf0",
"c9f79effc6659927"
]
]
},
{
"id": "467fd83885fcecf0",
"type": "trigger",
"z": "c7454c976ad86c7e",
"name": "30 Minuten MinON",
"op1": "true",
"op2": "false",
"op1type": "bool",
"op2type": "bool",
"duration": "30",
"extend": true,
"overrideDelay": false,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 1430,
"y": 1020,
"wires": [
[
"43d93b25398134f9"
]
]
},
{
"id": "43d93b25398134f9",
"type": "ioBroker out",
"z": "c7454c976ad86c7e",
"name": "Brauchwasser_AKTIV (MinOn)",
"topic": "0_userdata.0.Test.Brauchwasser.Brauchwasser_AKTIV",
"ack": "true",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1710,
"y": 1020,
"wires": []
},
{
"id": "0a9ff9331c1b8e3c",
"type": "ioBroker get",
"z": "c7454c976ad86c7e",
"name": "Hole Brauchwasser_AKTIV (MinOn)",
"topic": "0_userdata.0.Test.Brauchwasser.Brauchwasser_AKTIV",
"attrname": "payload",
"payloadType": "value",
"errOnInvalidState": "nothing",
"x": 1210,
"y": 580,
"wires": [
[
"265413e346c4ce5d"
]
]
},
{
"id": "265413e346c4ce5d",
"type": "switch",
"z": "c7454c976ad86c7e",
"name": "MinOn = false?",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "false"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1480,
"y": 580,
"wires": [
[
"0befa3eabb32d9fe"
]
]
},
{
"id": "0b8b63c145022cf3",
"type": "ioBroker out",
"z": "c7454c976ad86c7e",
"d": true,
"name": "Shelly Brauchwasser AUS",
"topic": "",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 2050,
"y": 580,
"wires": []
},
{
"id": "3ed7efab20047cb6",
"type": "ioBroker out",
"z": "c7454c976ad86c7e",
"d": true,
"name": "Shelly Brauchwasser EIN",
"topic": "",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 2030,
"y": 920,
"wires": []
},
{
"id": "495778e29bdffe0d",
"type": "switch",
"z": "c7454c976ad86c7e",
"name": "Wassertemperatur",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "gte",
"v": "57",
"vt": "num"
},
{
"t": "lte",
"v": "54",
"vt": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 890,
"y": 800,
"wires": [
[
"5a258f3309617617"
],
[
"afc867f18b037b22"
]
],
"outputLabels": [
"Brauchwasser AUS",
"Brauchwasser EIN"
],
"info": "Ich würde hier eine Hysterese einbauen. \r\n\r\nDie Ausgänge kannst Du auch beschreiben, wenn Du mit der Maus drüber gehst."
},
{
"id": "8c82cfd59b96688d",
"type": "comment",
"z": "c7454c976ad86c7e",
"name": "Brauchwasser EIN",
"info": "",
"x": 1750,
"y": 840,
"wires": []
},
{
"id": "59b342efc4818a85",
"type": "trigger",
"z": "c7454c976ad86c7e",
"name": "Mindestens 2 Min < 2.4",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "2",
"extend": false,
"overrideDelay": false,
"units": "s",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 870,
"y": 580,
"wires": [
[
"0a9ff9331c1b8e3c"
]
]
},
{
"id": "0478f81a30fe3639",
"type": "change",
"z": "c7454c976ad86c7e",
"name": "reset",
"rules": [
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 650,
"y": 640,
"wires": [
[
"59b342efc4818a85"
]
]
},
{
"id": "c0daa92ca05b87f7",
"type": "ioBroker in",
"z": "c7454c976ad86c7e",
"name": "Meter.Active_Power",
"topic": "0_userdata.0.Huawei.Meter.Active_Power",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"fireOnStart": "false",
"outFormat": "MQTT",
"x": 150,
"y": 680,
"wires": [
[
"78ea932b6144ea56"
]
]
},
{
"id": "6fc8e8c3b2da9141",
"type": "ioBroker in",
"z": "c7454c976ad86c7e",
"d": true,
"name": "Warmwassertemperatur",
"topic": "alias.0.Warmwassertemperatur",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"fireOnStart": "true",
"outFormat": "MQTT",
"x": 660,
"y": 840,
"wires": [
[
"495778e29bdffe0d"
]
]
},
{
"id": "e4a8735798502e7c",
"type": "ioBroker get",
"z": "c7454c976ad86c7e",
"name": "Hole Wassertemperatur",
"topic": "alias.0.Warmwassertemperatur",
"attrname": "payload",
"payloadType": "value",
"errOnInvalidState": "nothing",
"x": 650,
"y": 780,
"wires": [
[
"495778e29bdffe0d"
]
]
},
{
"id": "58f585b8cb128cf9",
"type": "ioBroker in",
"z": "c7454c976ad86c7e",
"name": "Manuell",
"topic": "0_userdata.0.Manuell",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"fireOnStart": "false",
"outFormat": "MQTT",
"x": 1150,
"y": 720,
"wires": [
[
"ad3e4cfa3268f4c3"
]
]
},
{
"id": "ad3e4cfa3268f4c3",
"type": "switch",
"z": "c7454c976ad86c7e",
"name": "Ein-/Ausschalten",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "false"
},
{
"t": "true"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1350,
"y": 720,
"wires": [
[
"693f0ce1d455c24d"
],
[
"c9f79effc6659927"
]
]
},
{
"id": "3777b383486653c4",
"type": "change",
"z": "c7454c976ad86c7e",
"name": "Brauchwasser EIN",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "true",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1770,
"y": 920,
"wires": [
[
"3ed7efab20047cb6",
"0423db8ebd88425a"
]
]
},
{
"id": "0befa3eabb32d9fe",
"type": "trigger",
"z": "c7454c976ad86c7e",
"name": "Brauchwasser AUS",
"op1": "true",
"op2": "0",
"op1type": "bool",
"op2type": "str",
"duration": "0",
"extend": false,
"overrideDelay": false,
"units": "ms",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 1750,
"y": 560,
"wires": [
[
"0b8b63c145022cf3",
"7e029bf35fe30f0c"
]
]
},
{
"id": "8f14a89a639ef9ce",
"type": "ioBroker in",
"z": "c7454c976ad86c7e",
"name": "Meter.Active_Power",
"topic": "0_userdata.0.Huawei.Meter.Active_Power",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"fireOnStart": "false",
"outFormat": "MQTT",
"x": 1190,
"y": 500,
"wires": [
[
"b9773c301b25d80b"
]
]
},
{
"id": "b9773c301b25d80b",
"type": "switch",
"z": "c7454c976ad86c7e",
"name": "nur <= 0.1",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "lte",
"v": "0.1",
"vt": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 1390,
"y": 500,
"wires": [
[
"8dbc2ceaa816df43"
]
]
},
{
"id": "8dbc2ceaa816df43",
"type": "change",
"z": "c7454c976ad86c7e",
"name": "reset",
"rules": [
{
"t": "set",
"p": "reset",
"pt": "msg",
"to": "true",
"tot": "bool"
},
{
"t": "delete",
"p": "payload",
"pt": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1550,
"y": 500,
"wires": [
[
"0befa3eabb32d9fe"
]
]
},
{
"id": "afc867f18b037b22",
"type": "junction",
"z": "c7454c976ad86c7e",
"x": 1040,
"y": 840,
"wires": [
[
"490f9fe9d29ac5c8"
]
]
},
{
"id": "45c84f129773d19b",
"type": "junction",
"z": "c7454c976ad86c7e",
"x": 600,
"y": 580,
"wires": [
[
"59b342efc4818a85"
]
]
},
{
"id": "8441b30f28e429c3",
"type": "junction",
"z": "c7454c976ad86c7e",
"x": 980,
"y": 800,
"wires": [
[]
]
},
{
"id": "5a258f3309617617",
"type": "junction",
"z": "c7454c976ad86c7e",
"x": 1040,
"y": 640,
"wires": [
[
"693f0ce1d455c24d"
]
]
},
{
"id": "693f0ce1d455c24d",
"type": "junction",
"z": "c7454c976ad86c7e",
"x": 1600,
"y": 640,
"wires": [
[
"0befa3eabb32d9fe"
]
]
},
{
"id": "c9f79effc6659927",
"type": "junction",
"z": "c7454c976ad86c7e",
"x": 1580,
"y": 920,
"wires": [
[
"3777b383486653c4"
]
]
}
]