[
{
"id": "f1325bf4.4ed0f",
"type": "ui_time_scheduler",
"z": "95848418.340d58",
"group": "df42ab16.59cb78",
"name": "Bewässerung",
"startDay": "1",
"refresh": 60,
"devices": [
"Tomaten"
],
"onlySendChange": false,
"customPayload": false,
"eventMode": false,
"eventOptions": [],
"sendTopic": false,
"lat": "46.98015",
"lon": "9.5706316",
"outputs": 2,
"order": 1,
"width": 0,
"height": 0,
"x": 200,
"y": 340,
"wires": [
[],
[
"15cd23d8.ca16d4"
]
],
"outputLabels": [
"Info",
"Chili",
"Gewuertz",
"Rasen",
"Himbeeren",
"Gemuese",
"Feigenbaum",
"Tomaten"
]
},
{
"id": "9334f2a7.e7bae",
"type": "ioBroker out",
"z": "95848418.340d58",
"name": "Tomaten",
"topic": "mqtt.0.ESP_Bewaesserung.GPIO.12",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 700,
"y": 360,
"wires": []
},
{
"id": "15cd23d8.ca16d4",
"type": "change",
"z": "95848418.340d58",
"name": "change true",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "false",
"fromt": "bool",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 450,
"y": 360,
"wires": [
[
"9334f2a7.e7bae"
]
]
},
{
"id": "1df93fe2.46fbe",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Tomaten Startzeit",
"topic": "0_userdata.0.Bewässerung.Tomaten_Startzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 140,
"y": 40,
"wires": [
[
"18e28c07.feb6a4"
]
]
},
{
"id": "a9f1efd2.7ba",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.tomstart",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 810,
"y": 140,
"wires": [
[
"49b35f45.913428"
]
]
},
{
"id": "edbdcaab.6c3bf8",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = Number(msg.payload) + Number(msg.lauf);\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 600,
"y": 180,
"wires": [
[
"98df7f5d.11b1a8"
]
]
},
{
"id": "bd4c9090.779998",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "Tomaten Laufzeit",
"topic": "0_userdata.0.Bewässerung.Tomaten_Laufzeit",
"attrname": "lauf",
"payloadType": "value",
"x": 290,
"y": 180,
"wires": [
[
"61f31e86.30eb7"
]
]
},
{
"id": "98df7f5d.11b1a8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.tomend",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 810,
"y": 180,
"wires": [
[
"49b35f45.913428"
]
]
},
{
"id": "24fcb6c1.8936a2",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Tomaten Tage",
"topic": "0_userdata.0.Bewässerung.Tomaten_Tage",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 130,
"y": 240,
"wires": [
[
"ec2da415.2a4fd8"
]
]
},
{
"id": "ec2da415.2a4fd8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.tomtag",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 800,
"y": 220,
"wires": [
[
"49b35f45.913428"
]
]
},
{
"id": "f8cc9712.2ab86",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Tomaten Laufzeit",
"topic": "0_userdata.0.Bewässerung.Tomaten_Laufzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 80,
"y": 180,
"wires": [
[
"bd4c9090.779998"
]
]
},
{
"id": "49b35f45.913428",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "send",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1070,
"y": 180,
"wires": [
[
"df48c94f.bf566"
]
]
},
{
"id": "df48c94f.bf566",
"type": "template",
"z": "95848418.340d58",
"name": "Create timer",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "{\"timers\":[{\"starttime\":{{payload.tomstart}},\"days\":[{{payload.tomtag}}],\"output\":\"0\",\"endtime\":{{payload.tomend}}}],\"settings\":{\"disabledDevices\":[]}}",
"output": "str",
"x": 1270,
"y": 180,
"wires": [
[
"f1325bf4.4ed0f"
]
]
},
{
"id": "a2212093.185978",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "min",
"topic": "0_userdata.0.Bewässerung.Tomaten_Startzeit_m",
"attrname": "min",
"payloadType": "value",
"x": 550,
"y": 40,
"wires": [
[
"cd67691.76bf218"
]
]
},
{
"id": "cd67691.76bf218",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) + Number(msg.min)) * 60000;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 720,
"y": 40,
"wires": [
[
"a9f1efd2.7ba",
"bd4c9090.779998"
]
]
},
{
"id": "18e28c07.feb6a4",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) - 1) * 60;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 350,
"y": 40,
"wires": [
[
"a2212093.185978"
]
]
},
{
"id": "61f31e86.30eb7",
"type": "calculator",
"z": "95848418.340d58",
"name": "",
"inputMsgField": "lauf",
"outputMsgField": "lauf",
"operation": "mult",
"constant": "60000",
"round": false,
"decimals": 0,
"x": 460,
"y": 180,
"wires": [
[
"edbdcaab.6c3bf8"
]
]
},
{
"id": "c5a2845b.60457",
"type": "ui_time_scheduler",
"z": "95848418.340d58",
"group": "df42ab16.59cb78",
"name": "Bewässerung",
"startDay": "1",
"refresh": 60,
"devices": [
"Gewuertz"
],
"onlySendChange": false,
"customPayload": false,
"eventMode": false,
"eventOptions": [],
"sendTopic": false,
"lat": "46.98015",
"lon": "9.5706316",
"outputs": 2,
"order": 1,
"width": 0,
"height": 0,
"x": 240,
"y": 900,
"wires": [
[],
[
"677967fd.d6508"
]
],
"outputLabels": [
"Info",
"Chili"
]
},
{
"id": "e0307c77.b211c",
"type": "ioBroker out",
"z": "95848418.340d58",
"name": "Gewürtz",
"topic": "mqtt.0.ESP_Bewaesserung.GPIO.4",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 740,
"y": 920,
"wires": []
},
{
"id": "677967fd.d6508",
"type": "change",
"z": "95848418.340d58",
"name": "change true",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "false",
"fromt": "bool",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 550,
"y": 920,
"wires": [
[
"e0307c77.b211c"
]
]
},
{
"id": "caf7b2e8.1894b",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Gewuertz Startzeit",
"topic": "0_userdata.0.Bewässerung.Gewuertz_Startzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 190,
"y": 600,
"wires": [
[
"fc7a7352.44fc9"
]
]
},
{
"id": "5ecdf7a0.e5c52",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.gewstart",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 700,
"wires": [
[
"b11dd4d7.897628"
]
]
},
{
"id": "1cf4d57e.33b613",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = Number(msg.payload) + Number(msg.lauf);\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 640,
"y": 740,
"wires": [
[
"49c2e1d4.4d6fa"
]
]
},
{
"id": "a8d69e10.cd63e",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "Gewuertz Laufzeit",
"topic": "0_userdata.0.Bewässerung.Gewuertz_Laufzeit",
"attrname": "lauf",
"payloadType": "value",
"x": 330,
"y": 740,
"wires": [
[
"9eb12009.2f268"
]
]
},
{
"id": "49c2e1d4.4d6fa",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.gewend",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 740,
"wires": [
[
"b11dd4d7.897628"
]
]
},
{
"id": "a7e14d02.fec93",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Gewuertz Tage",
"topic": "0_userdata.0.Bewässerung.Gewuertz_Tage",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 180,
"y": 800,
"wires": [
[
"710ebd7a.a08164"
]
]
},
{
"id": "710ebd7a.a08164",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.gewtag",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 780,
"wires": [
[
"b11dd4d7.897628"
]
]
},
{
"id": "65326eb6.d8ded",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Gewuertz Laufzeit",
"topic": "0_userdata.0.Bewässerung.Gewuertz_Laufzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 130,
"y": 740,
"wires": [
[
"a8d69e10.cd63e"
]
]
},
{
"id": "b11dd4d7.897628",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "send",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1110,
"y": 740,
"wires": [
[
"961552c6.c4d6d"
]
]
},
{
"id": "961552c6.c4d6d",
"type": "template",
"z": "95848418.340d58",
"name": "Create timer",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "{\"timers\":[{\"starttime\":{{payload.gewstart}},\"days\":[{{payload.gewtag}}],\"output\":\"0\",\"endtime\":{{payload.gewend}}}],\"settings\":{\"disabledDevices\":[]}}",
"output": "str",
"x": 1310,
"y": 740,
"wires": [
[
"c5a2845b.60457"
]
]
},
{
"id": "5350d0ee.b87ef",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "min",
"topic": "0_userdata.0.Bewässerung.Gewuertz_Startzeit_m",
"attrname": "min",
"payloadType": "value",
"x": 590,
"y": 600,
"wires": [
[
"d7ca170f.1c93a8"
]
]
},
{
"id": "d7ca170f.1c93a8",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) + Number(msg.min)) * 60000;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 760,
"y": 600,
"wires": [
[
"5ecdf7a0.e5c52",
"a8d69e10.cd63e"
]
]
},
{
"id": "fc7a7352.44fc9",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) - 1) * 60;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 600,
"wires": [
[
"5350d0ee.b87ef"
]
]
},
{
"id": "9eb12009.2f268",
"type": "calculator",
"z": "95848418.340d58",
"name": "",
"inputMsgField": "lauf",
"outputMsgField": "lauf",
"operation": "mult",
"constant": "60000",
"round": false,
"decimals": 0,
"x": 500,
"y": 740,
"wires": [
[
"1cf4d57e.33b613"
]
]
},
{
"id": "f742c03b.2b4018",
"type": "ui_time_scheduler",
"z": "95848418.340d58",
"group": "df42ab16.59cb78",
"name": "Bewässerung",
"startDay": "1",
"refresh": 60,
"devices": [
"Rasen"
],
"onlySendChange": false,
"customPayload": false,
"eventMode": false,
"eventOptions": [],
"sendTopic": false,
"lat": "46.98015",
"lon": "9.5706316",
"outputs": 2,
"order": 1,
"width": 0,
"height": 0,
"x": 240,
"y": 1340,
"wires": [
[],
[
"881632b6.31c788"
]
],
"outputLabels": [
"Info",
"Chili"
]
},
{
"id": "62ea3655.fb8248",
"type": "ioBroker out",
"z": "95848418.340d58",
"name": "Rasen",
"topic": "mqtt.0.ESP_Bewaesserung.GPIO.16",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 730,
"y": 1360,
"wires": []
},
{
"id": "881632b6.31c788",
"type": "change",
"z": "95848418.340d58",
"name": "change true",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "false",
"fromt": "bool",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 1360,
"wires": [
[
"62ea3655.fb8248"
]
]
},
{
"id": "4b2cc279.165b9c",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Rasen Startzeit",
"topic": "0_userdata.0.Bewässerung.Rasen_Startzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 180,
"y": 1040,
"wires": [
[
"7c130cf9.58ddf4"
]
]
},
{
"id": "9a31aa7.81634d8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.rasstart",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 1140,
"wires": [
[
"478bd581.773b1c"
]
]
},
{
"id": "7c888e93.75e008",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = Number(msg.payload) + Number(msg.lauf);\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 640,
"y": 1180,
"wires": [
[
"22336e17.68a50a"
]
]
},
{
"id": "16fd25cd.411922",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "Rasen Laufzeit",
"topic": "0_userdata.0.Bewässerung.Rasen_Laufzeit",
"attrname": "lauf",
"payloadType": "value",
"x": 320,
"y": 1180,
"wires": [
[
"537f95ef.af8cf4"
]
]
},
{
"id": "22336e17.68a50a",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.rasend",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 1180,
"wires": [
[
"478bd581.773b1c"
]
]
},
{
"id": "e8ab5570.c9b078",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Rasen Tage",
"topic": "0_userdata.0.Bewässerung.Rasen_Tage",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 170,
"y": 1240,
"wires": [
[
"cc068c34.857cd8"
]
]
},
{
"id": "cc068c34.857cd8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.rastag",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 840,
"y": 1220,
"wires": [
[
"478bd581.773b1c"
]
]
},
{
"id": "f7ab960.ee03fe8",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Rasen Laufzeit",
"topic": "0_userdata.0.Bewässerung.Rasen_Laufzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 120,
"y": 1180,
"wires": [
[
"16fd25cd.411922"
]
]
},
{
"id": "478bd581.773b1c",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "send",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1130,
"y": 1180,
"wires": [
[
"685c0011.4d76d8"
]
]
},
{
"id": "685c0011.4d76d8",
"type": "template",
"z": "95848418.340d58",
"name": "Create timer",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "{\"timers\":[{\"starttime\":{{payload.rasstart}},\"days\":[{{payload.rastag}}],\"output\":\"0\",\"endtime\":{{payload.rasend}}}],\"settings\":{\"disabledDevices\":[]}}",
"output": "str",
"x": 1310,
"y": 1180,
"wires": [
[
"f742c03b.2b4018"
]
]
},
{
"id": "6179abe5.5008cc",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "min",
"topic": "0_userdata.0.Bewässerung.Rasen_Startzeit_m",
"attrname": "min",
"payloadType": "value",
"x": 590,
"y": 1040,
"wires": [
[
"eff73484.e162f8"
]
]
},
{
"id": "eff73484.e162f8",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) + Number(msg.min)) * 60000;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 760,
"y": 1040,
"wires": [
[
"9a31aa7.81634d8",
"16fd25cd.411922"
]
]
},
{
"id": "7c130cf9.58ddf4",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) - 1) * 60;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 390,
"y": 1040,
"wires": [
[
"6179abe5.5008cc"
]
]
},
{
"id": "537f95ef.af8cf4",
"type": "calculator",
"z": "95848418.340d58",
"name": "",
"inputMsgField": "lauf",
"outputMsgField": "lauf",
"operation": "mult",
"constant": "60000",
"round": false,
"decimals": 0,
"x": 500,
"y": 1180,
"wires": [
[
"7c888e93.75e008"
]
]
},
{
"id": "ffade621.e21408",
"type": "ui_time_scheduler",
"z": "95848418.340d58",
"group": "df42ab16.59cb78",
"name": "Bewässerung",
"startDay": "1",
"refresh": 60,
"devices": [
"Himbeeren"
],
"onlySendChange": false,
"customPayload": false,
"eventMode": false,
"eventOptions": [],
"sendTopic": false,
"lat": "46.98015",
"lon": "9.5706316",
"outputs": 2,
"order": 1,
"width": 0,
"height": 0,
"x": 260,
"y": 1840,
"wires": [
[],
[
"2d9e3615.954982"
]
],
"outputLabels": [
"Info",
"Chili"
]
},
{
"id": "3e99677c.33493",
"type": "ioBroker out",
"z": "95848418.340d58",
"name": "Himbeeren",
"topic": "mqtt.0.ESP_Bewaesserung.GPIO.15",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 770,
"y": 1860,
"wires": []
},
{
"id": "2d9e3615.954982",
"type": "change",
"z": "95848418.340d58",
"name": "change true",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "false",
"fromt": "bool",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 1840,
"wires": [
[
"3e99677c.33493"
]
]
},
{
"id": "b1133be4.6945e8",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Himbeeren Startzeit",
"topic": "0_userdata.0.Bewässerung.Himbeeren_Startzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 210,
"y": 1540,
"wires": [
[
"43163347.805d3c"
]
]
},
{
"id": "5776e8d5.98b4a8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.himstart",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 870,
"y": 1640,
"wires": [
[
"b5b9c48d.0ac7c8"
]
]
},
{
"id": "93bbcc75.140c6",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = Number(msg.payload) + Number(msg.lauf);\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 660,
"y": 1680,
"wires": [
[
"27b37ef4.39d9b2"
]
]
},
{
"id": "aaf11e52.96428",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "Himbeeren Laufzeit",
"topic": "0_userdata.0.Bewässerung.Himbeeren_Laufzeit",
"attrname": "lauf",
"payloadType": "value",
"x": 350,
"y": 1680,
"wires": [
[
"889ba824.5c7ba8"
]
]
},
{
"id": "27b37ef4.39d9b2",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.himend",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 870,
"y": 1680,
"wires": [
[
"b5b9c48d.0ac7c8"
]
]
},
{
"id": "a2e37a01.8b062",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Himbeeren Tage",
"topic": "0_userdata.0.Bewässerung.Himbeeren_Tage",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 200,
"y": 1740,
"wires": [
[
"17cc38bc.d0b1df"
]
]
},
{
"id": "17cc38bc.d0b1df",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.himtag",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 860,
"y": 1720,
"wires": [
[
"b5b9c48d.0ac7c8"
]
]
},
{
"id": "71fcb2df.72fd44",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Himbeeren Laufzeit",
"topic": "0_userdata.0.Bewässerung.Himbeeren_Laufzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 150,
"y": 1680,
"wires": [
[
"aaf11e52.96428"
]
]
},
{
"id": "b5b9c48d.0ac7c8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "send",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1130,
"y": 1680,
"wires": [
[
"d35b19a6.f1acf"
]
]
},
{
"id": "d35b19a6.f1acf",
"type": "template",
"z": "95848418.340d58",
"name": "Create timer",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "{\"timers\":[{\"starttime\":{{payload.himstart}},\"days\":[{{payload.himtag}}],\"output\":\"0\",\"endtime\":{{payload.himend}}}],\"settings\":{\"disabledDevices\":[]}}",
"output": "str",
"x": 1330,
"y": 1680,
"wires": [
[
"ffade621.e21408"
]
]
},
{
"id": "58fac00.fbd1ac",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "min",
"topic": "0_userdata.0.Bewässerung.Himbeeren_Startzeit_m",
"attrname": "min",
"payloadType": "value",
"x": 610,
"y": 1540,
"wires": [
[
"46fe7ce9.fc5d64"
]
]
},
{
"id": "46fe7ce9.fc5d64",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) + Number(msg.min)) * 60000;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 780,
"y": 1540,
"wires": [
[
"5776e8d5.98b4a8",
"aaf11e52.96428"
]
]
},
{
"id": "43163347.805d3c",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) - 1) * 60;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 410,
"y": 1540,
"wires": [
[
"58fac00.fbd1ac"
]
]
},
{
"id": "889ba824.5c7ba8",
"type": "calculator",
"z": "95848418.340d58",
"name": "",
"inputMsgField": "lauf",
"outputMsgField": "lauf",
"operation": "mult",
"constant": "60000",
"round": false,
"decimals": 0,
"x": 520,
"y": 1680,
"wires": [
[
"93bbcc75.140c6"
]
]
},
{
"id": "6a1dc60e.2815c8",
"type": "ui_time_scheduler",
"z": "95848418.340d58",
"group": "df42ab16.59cb78",
"name": "Bewässerung",
"startDay": "1",
"refresh": 60,
"devices": [
"Chili"
],
"onlySendChange": false,
"customPayload": false,
"eventMode": false,
"eventOptions": [],
"sendTopic": false,
"lat": "46.98015",
"lon": "9.5706316",
"outputs": 2,
"order": 1,
"width": 0,
"height": 0,
"x": 280,
"y": 2280,
"wires": [
[],
[
"644cc02f.578248"
]
],
"outputLabels": [
"Info",
"Chili"
]
},
{
"id": "c739c937.d838",
"type": "ioBroker out",
"z": "95848418.340d58",
"name": "Chili",
"topic": "mqtt.0.ESP_Bewaesserung.GPIO.5",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 770,
"y": 2300,
"wires": []
},
{
"id": "644cc02f.578248",
"type": "change",
"z": "95848418.340d58",
"name": "change true",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "false",
"fromt": "bool",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 530,
"y": 2300,
"wires": [
[
"c739c937.d838"
]
]
},
{
"id": "13823c3c.7d6a9c",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Chili Startzeit",
"topic": "0_userdata.0.Bewässerung.Chili_Startzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 210,
"y": 1980,
"wires": [
[
"27224828.5dd5e8"
]
]
},
{
"id": "c252fe8b.8de62",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.chistart",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 890,
"y": 2080,
"wires": [
[
"a99a6d33.3ba328"
]
]
},
{
"id": "10e12809.1df7c8",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = Number(msg.payload) + Number(msg.lauf);\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 680,
"y": 2120,
"wires": [
[
"3b1211e.2f1936e"
]
]
},
{
"id": "dd403d5.078954",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "Chili Laufzeit",
"topic": "0_userdata.0.Bewässerung.Chili_Laufzeit",
"attrname": "lauf",
"payloadType": "value",
"x": 350,
"y": 2120,
"wires": [
[
"17acd138.a9cb87"
]
]
},
{
"id": "3b1211e.2f1936e",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.chiend",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 880,
"y": 2120,
"wires": [
[
"a99a6d33.3ba328"
]
]
},
{
"id": "b6c311c.a8d61f",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Chili Tage",
"topic": "0_userdata.0.Bewässerung.Chili_Tage",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 200,
"y": 2180,
"wires": [
[
"79a48db9.90d15c"
]
]
},
{
"id": "79a48db9.90d15c",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.chitag",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 880,
"y": 2160,
"wires": [
[
"a99a6d33.3ba328"
]
]
},
{
"id": "fe7dee7f.a8929",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Chili Laufzeit",
"topic": "0_userdata.0.Bewässerung.Chili_Laufzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 150,
"y": 2120,
"wires": [
[
"dd403d5.078954"
]
]
},
{
"id": "a99a6d33.3ba328",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "send",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1150,
"y": 2120,
"wires": [
[
"ea332364.09e1a8"
]
]
},
{
"id": "ea332364.09e1a8",
"type": "template",
"z": "95848418.340d58",
"name": "Create timer",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "{\"timers\":[{\"starttime\":{{payload.chistart}},\"days\":[{{payload.chitag}}],\"output\":\"0\",\"endtime\":{{payload.chiend}}}],\"settings\":{\"disabledDevices\":[]}}",
"output": "str",
"x": 1350,
"y": 2120,
"wires": [
[
"6a1dc60e.2815c8"
]
]
},
{
"id": "99cc1f9a.000d5",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "min",
"topic": "0_userdata.0.Bewässerung.Chili_Startzeit_m",
"attrname": "min",
"payloadType": "value",
"x": 630,
"y": 1980,
"wires": [
[
"f31fe6d6.ea30f"
]
]
},
{
"id": "f31fe6d6.ea30f",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) + Number(msg.min)) * 60000;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 800,
"y": 1980,
"wires": [
[
"c252fe8b.8de62",
"dd403d5.078954"
]
]
},
{
"id": "27224828.5dd5e8",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) - 1) * 60;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 430,
"y": 1980,
"wires": [
[
"99cc1f9a.000d5"
]
]
},
{
"id": "17acd138.a9cb87",
"type": "calculator",
"z": "95848418.340d58",
"name": "",
"inputMsgField": "lauf",
"outputMsgField": "lauf",
"operation": "mult",
"constant": "60000",
"round": false,
"decimals": 0,
"x": 540,
"y": 2120,
"wires": [
[
"10e12809.1df7c8"
]
]
},
{
"id": "fb61e295.e1c3f8",
"type": "ui_time_scheduler",
"z": "95848418.340d58",
"group": "df42ab16.59cb78",
"name": "Bewässerung",
"startDay": "1",
"refresh": 60,
"devices": [
"Gemuese"
],
"onlySendChange": false,
"customPayload": false,
"eventMode": false,
"eventOptions": [],
"sendTopic": false,
"lat": "46.98015",
"lon": "9.5706316",
"outputs": 2,
"order": 1,
"width": 0,
"height": 0,
"x": 240,
"y": 2720,
"wires": [
[],
[
"eb50c5c1.3f81e8"
]
],
"outputLabels": [
"Info",
"Chili"
]
},
{
"id": "4d59c645.a9ef3",
"type": "ioBroker out",
"z": "95848418.340d58",
"name": "Gemüse",
"topic": "mqtt.0.ESP_Bewaesserung.GPIO.14",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 740,
"y": 2740,
"wires": []
},
{
"id": "eb50c5c1.3f81e8",
"type": "change",
"z": "95848418.340d58",
"name": "change true",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "false",
"fromt": "bool",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 490,
"y": 2740,
"wires": [
[
"4d59c645.a9ef3"
]
]
},
{
"id": "bac661ce.7b14a8",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Gemuese Startzeit",
"topic": "0_userdata.0.Bewässerung.Gemuese_Startzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 190,
"y": 2420,
"wires": [
[
"655ca02b.c39688"
]
]
},
{
"id": "ede61f85.9b1fe8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.gemstart",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 2520,
"wires": [
[
"88855f2e.c147e8"
]
]
},
{
"id": "2c5a53a9.e88674",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = Number(msg.payload) + Number(msg.lauf);\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 640,
"y": 2560,
"wires": [
[
"fe9a251d.6c58b8"
]
]
},
{
"id": "ce8ee0.d1b9192",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "Gemuese Laufzeit",
"topic": "0_userdata.0.Bewässerung.Gemuese_Laufzeit",
"attrname": "lauf",
"payloadType": "value",
"x": 330,
"y": 2560,
"wires": [
[
"ad223f59.b03b3"
]
]
},
{
"id": "fe9a251d.6c58b8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.gemend",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 2560,
"wires": [
[
"88855f2e.c147e8"
]
]
},
{
"id": "8dd057c3.525f",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Gemuese Tage",
"topic": "0_userdata.0.Bewässerung.Gemuese_Tage",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 180,
"y": 2620,
"wires": [
[
"1ea15f91.006e4"
]
]
},
{
"id": "1ea15f91.006e4",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.gemtag",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 850,
"y": 2600,
"wires": [
[
"88855f2e.c147e8"
]
]
},
{
"id": "704a9b39.fff60c",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Gemuese Laufzeit",
"topic": "0_userdata.0.Bewässerung.Gemuese_Laufzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 130,
"y": 2560,
"wires": [
[
"ce8ee0.d1b9192"
]
]
},
{
"id": "88855f2e.c147e8",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "send",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1110,
"y": 2560,
"wires": [
[
"7695f95c.e0115"
]
]
},
{
"id": "7695f95c.e0115",
"type": "template",
"z": "95848418.340d58",
"name": "Create timer",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "{\"timers\":[{\"starttime\":{{payload.gemstart}},\"days\":[{{payload.gemtag}}],\"output\":\"0\",\"endtime\":{{payload.gemend}}}],\"settings\":{\"disabledDevices\":[]}}",
"output": "str",
"x": 1310,
"y": 2560,
"wires": [
[
"fb61e295.e1c3f8"
]
]
},
{
"id": "465c6378.063754",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "min",
"topic": "0_userdata.0.Bewässerung.Gemuese_Startzeit_m",
"attrname": "min",
"payloadType": "value",
"x": 590,
"y": 2420,
"wires": [
[
"71bb1787.93aa1"
]
]
},
{
"id": "71bb1787.93aa1",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) + Number(msg.min)) * 60000;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 760,
"y": 2420,
"wires": [
[
"ede61f85.9b1fe8",
"ce8ee0.d1b9192"
]
]
},
{
"id": "655ca02b.c39688",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) - 1) * 60;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 390,
"y": 2420,
"wires": [
[
"465c6378.063754"
]
]
},
{
"id": "ad223f59.b03b3",
"type": "calculator",
"z": "95848418.340d58",
"name": "",
"inputMsgField": "lauf",
"outputMsgField": "lauf",
"operation": "mult",
"constant": "60000",
"round": false,
"decimals": 0,
"x": 500,
"y": 2560,
"wires": [
[
"2c5a53a9.e88674"
]
]
},
{
"id": "509af3bd.f017f4",
"type": "ui_time_scheduler",
"z": "95848418.340d58",
"group": "df42ab16.59cb78",
"name": "Bewässerung",
"startDay": "1",
"refresh": 60,
"devices": [
"Feigenbaum"
],
"onlySendChange": false,
"customPayload": false,
"eventMode": false,
"eventOptions": [],
"sendTopic": false,
"lat": "46.98015",
"lon": "9.5706316",
"outputs": 2,
"order": 1,
"width": 0,
"height": 0,
"x": 260,
"y": 3140,
"wires": [
[],
[
"5a50917e.fb2e08"
]
],
"outputLabels": [
"Info",
"Chili"
]
},
{
"id": "8d0f9b68.f48f6",
"type": "ioBroker out",
"z": "95848418.340d58",
"name": "Feigenbaum",
"topic": "mqtt.0.ESP_Bewaesserung.GPIO.13",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 770,
"y": 3160,
"wires": []
},
{
"id": "5a50917e.fb2e08",
"type": "change",
"z": "95848418.340d58",
"name": "change true",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "false",
"fromt": "bool",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 510,
"y": 3160,
"wires": [
[
"8d0f9b68.f48f6"
]
]
},
{
"id": "a03757aa.177f78",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Feigenbaum Startzeit",
"topic": "0_userdata.0.Bewässerung.Feigenbaum_Startzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 220,
"y": 2840,
"wires": [
[
"ae205d88.b3a16"
]
]
},
{
"id": "880223f9.33fa5",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.feistart",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 860,
"y": 2940,
"wires": [
[
"e69125f9.5d323"
]
]
},
{
"id": "4813b70.5ccf5c8",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = Number(msg.payload) + Number(msg.lauf);\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 660,
"y": 2980,
"wires": [
[
"cc150fa0.200788"
]
]
},
{
"id": "7a9f5936.318408",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "Feigenbaum Laufzeit",
"topic": "0_userdata.0.Bewässerung.Feigenbaum_Laufzeit",
"attrname": "lauf",
"payloadType": "value",
"x": 340,
"y": 2980,
"wires": [
[
"7240e8b9.feeb68"
]
]
},
{
"id": "cc150fa0.200788",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.feiend",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 860,
"y": 2980,
"wires": [
[
"e69125f9.5d323"
]
]
},
{
"id": "dd944832.19d71",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Feigenbaum Tage",
"topic": "0_userdata.0.Bewässerung.Feigenbaum_Tage",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 210,
"y": 3040,
"wires": [
[
"42552839.ddf258"
]
]
},
{
"id": "42552839.ddf258",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "send.feitag",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 860,
"y": 3020,
"wires": [
[
"e69125f9.5d323"
]
]
},
{
"id": "4bd2bfd5.a0f29",
"type": "ioBroker in",
"z": "95848418.340d58",
"name": "Feigenbaum Laufzeit",
"topic": "0_userdata.0.Bewässerung.Feigenbaum_Laufzeit",
"payloadType": "value",
"onlyack": "",
"func": "rbe",
"gap": "",
"fireOnStart": "true",
"x": 100,
"y": 2980,
"wires": [
[
"7a9f5936.318408"
]
]
},
{
"id": "e69125f9.5d323",
"type": "change",
"z": "95848418.340d58",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "send",
"tot": "flow"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1130,
"y": 2980,
"wires": [
[
"f67212ea.6d15a"
]
]
},
{
"id": "f67212ea.6d15a",
"type": "template",
"z": "95848418.340d58",
"name": "Create timer",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "{\"timers\":[{\"starttime\":{{payload.feistart}},\"days\":[{{payload.feitag}}],\"output\":\"0\",\"endtime\":{{payload.feiend}}}],\"settings\":{\"disabledDevices\":[]}}",
"output": "str",
"x": 1330,
"y": 2980,
"wires": [
[
"509af3bd.f017f4"
]
]
},
{
"id": "1c9bcf61.13c8b1",
"type": "ioBroker get",
"z": "95848418.340d58",
"name": "min",
"topic": "0_userdata.0.Bewässerung.Feigenbaum_Startzeit_m",
"attrname": "min",
"payloadType": "value",
"x": 610,
"y": 2840,
"wires": [
[
"9ab0b244.3d9638"
]
]
},
{
"id": "9ab0b244.3d9638",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) + Number(msg.min)) * 60000;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 780,
"y": 2840,
"wires": [
[
"880223f9.33fa5",
"7a9f5936.318408"
]
]
},
{
"id": "ae205d88.b3a16",
"type": "function",
"z": "95848418.340d58",
"name": "",
"func": "var math = (Number(msg.payload) - 1) * 60;\nmsg.payload = math;\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 410,
"y": 2840,
"wires": [
[
"1c9bcf61.13c8b1"
]
]
},
{
"id": "7240e8b9.feeb68",
"type": "calculator",
"z": "95848418.340d58",
"name": "",
"inputMsgField": "lauf",
"outputMsgField": "lauf",
"operation": "mult",
"constant": "60000",
"round": false,
"decimals": 0,
"x": 520,
"y": 2980,
"wires": [
[
"4813b70.5ccf5c8"
]
]
},
{
"id": "df42ab16.59cb78",
"type": "ui_group",
"name": "Standard",
"tab": "29502947.69c12e",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "29502947.69c12e",
"type": "ui_tab",
"name": "Home",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]