[
{
"id": "dfadc50debbbcea8",
"type": "debug",
"z": "3efddae8bf85801f",
"name": "Futter manuell Reset",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1420,
"y": 40,
"wires": []
},
{
"id": "af172862a796a22a",
"type": "ioBroker in",
"z": "3efddae8bf85801f",
"name": "manuell",
"attrname": "payload",
"topic": "0_userdata.0.Futterautomatik.Futter_manuell",
"payloadType": "value",
"onlyack": "update",
"func": "rbe",
"gap": "",
"fireOnStart": "false",
"outFormat": "MQTT",
"x": 210,
"y": 100,
"wires": [
[
"0dc3ae197d8cf3f0"
]
]
},
{
"id": "dbd1d6af1f516870",
"type": "delay",
"z": "3efddae8bf85801f",
"name": "wait 2 sek",
"pauseType": "delay",
"timeout": "2",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 880,
"y": 100,
"wires": [
[
"a1ce53f7b16d3822"
]
]
},
{
"id": "a5b46c8901527e1b",
"type": "comment",
"z": "3efddae8bf85801f",
"name": " 9:00",
"info": "",
"x": 90,
"y": 160,
"wires": []
},
{
"id": "d635fc15c8a8afbd",
"type": "comment",
"z": "3efddae8bf85801f",
"name": "13:00",
"info": "",
"x": 90,
"y": 220,
"wires": []
},
{
"id": "e5a42c8730dabbb6",
"type": "comment",
"z": "3efddae8bf85801f",
"name": "17:00",
"info": "",
"x": 90,
"y": 280,
"wires": []
},
{
"id": "bc07ba199e6d0c6f",
"type": "comment",
"z": "3efddae8bf85801f",
"name": "manuell",
"info": "",
"x": 90,
"y": 100,
"wires": []
},
{
"id": "d995555e5c4a2386",
"type": "cronplus",
"z": "3efddae8bf85801f",
"name": "",
"outputField": "payload",
"timeZone": "",
"storeName": "file",
"commandResponseMsgOutput": "output1",
"defaultLocation": "50.0 9.0",
"defaultLocationType": "fixed",
"outputs": 1,
"options": [],
"x": 480,
"y": 160,
"wires": [
[
"107101e1500d3ee4"
]
]
},
{
"id": "427cd35a45be4e5f",
"type": "ioBroker in",
"z": "3efddae8bf85801f",
"name": "Futter 1",
"attrname": "payload",
"topic": "0_userdata.0.Futterautomatik.Futterautomatik_Uhrzeit_1",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"fireOnStart": "true",
"outFormat": "MQTT",
"x": 210,
"y": 160,
"wires": [
[
"af740320b4eee028"
]
]
},
{
"id": "af740320b4eee028",
"type": "change",
"z": "3efddae8bf85801f",
"name": "command",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"command\": \"add\",\t \"name\": \"Fuetterung1\",\t \"expression\": $substringAfter($$.payload, \":\") & \" \" & $substringBefore($$.payload, \":\") &\t \" * * *\",\t \"expressionType\": \"cron\",\t \"payloadType\": \"default\" \t}",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 340,
"y": 160,
"wires": [
[
"d995555e5c4a2386"
]
]
},
{
"id": "07851514c9e3014d",
"type": "ioBroker in",
"z": "3efddae8bf85801f",
"name": "Futter 2",
"attrname": "payload",
"topic": "0_userdata.0.Futterautomatik.Futterautomatik_Uhrzeit_2",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"fireOnStart": "true",
"outFormat": "MQTT",
"x": 210,
"y": 220,
"wires": [
[
"cd76e3aaaa9fae2c"
]
]
},
{
"id": "2b5cc746fa67905c",
"type": "ioBroker in",
"z": "3efddae8bf85801f",
"name": "Futter 3",
"attrname": "payload",
"topic": "0_userdata.0.Futterautomatik.Futterautomatik_Uhrzeit_3",
"payloadType": "value",
"onlyack": "",
"func": "all",
"gap": "",
"fireOnStart": "true",
"outFormat": "MQTT",
"x": 210,
"y": 280,
"wires": [
[
"d850417ca1547d37"
]
]
},
{
"id": "0faeed9831edb210",
"type": "change",
"z": "3efddae8bf85801f",
"name": "true -> false",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1030,
"y": 160,
"wires": [
[
"6b2cb2f6a6c0a38d"
]
]
},
{
"id": "4e418b2e5103c125",
"type": "ioBroker out",
"z": "3efddae8bf85801f",
"name": "Futterautomat",
"topic": "sonoff.0.Aqua_Control.POWER5",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1400,
"y": 180,
"wires": []
},
{
"id": "6b2cb2f6a6c0a38d",
"type": "trigger",
"z": "3efddae8bf85801f",
"name": "",
"op1": "true",
"op2": "false",
"op1type": "bool",
"op2type": "bool",
"duration": "500",
"extend": false,
"overrideDelay": false,
"units": "ms",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 1200,
"y": 160,
"wires": [
[
"3ea64cf8c8d5635c",
"4e418b2e5103c125"
]
]
},
{
"id": "68b9818a164fa843",
"type": "change",
"z": "3efddae8bf85801f",
"name": "true -> false",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 890,
"y": 280,
"wires": [
[
"0a155188b16e0bfc"
]
]
},
{
"id": "0a155188b16e0bfc",
"type": "trigger",
"z": "3efddae8bf85801f",
"name": "8 min Timeout",
"op1": "false",
"op2": "true",
"op1type": "bool",
"op2type": "bool",
"duration": "8",
"extend": false,
"overrideDelay": false,
"units": "min",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 1200,
"y": 280,
"wires": [
[
"aa6729c2087882d7",
"ab182b212f527105"
]
]
},
{
"id": "ab182b212f527105",
"type": "ioBroker out",
"z": "3efddae8bf85801f",
"name": "Pumpe",
"topic": "sonoff.0.Aqua_Control.POWER8",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1380,
"y": 300,
"wires": []
},
{
"id": "aa6729c2087882d7",
"type": "debug",
"z": "3efddae8bf85801f",
"name": "Pumpe",
"active": true,
"tosidebar": true,
"console": true,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1380,
"y": 260,
"wires": []
},
{
"id": "3ea64cf8c8d5635c",
"type": "debug",
"z": "3efddae8bf85801f",
"name": "Futterautomat",
"active": true,
"tosidebar": true,
"console": true,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1400,
"y": 140,
"wires": []
},
{
"id": "7f08111d1caf90be",
"type": "trigger",
"z": "3efddae8bf85801f",
"name": "wait 1 min",
"op1": "",
"op2": "true",
"op1type": "nul",
"op2type": "bool",
"duration": "1",
"extend": false,
"overrideDelay": false,
"units": "min",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 880,
"y": 160,
"wires": [
[
"0faeed9831edb210"
]
]
},
{
"id": "a2e5994b3881cdd4",
"type": "cronplus",
"z": "3efddae8bf85801f",
"name": "",
"outputField": "payload",
"timeZone": "",
"storeName": "file",
"commandResponseMsgOutput": "output1",
"defaultLocation": "50.0 9.0",
"defaultLocationType": "fixed",
"outputs": 1,
"options": [],
"x": 480,
"y": 220,
"wires": [
[
"548b28ed4cf61cd6"
]
]
},
{
"id": "cd76e3aaaa9fae2c",
"type": "change",
"z": "3efddae8bf85801f",
"name": "command",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"command\": \"add\",\t \"name\": \"Fuetterung2\",\t \"expression\": $substringAfter($$.payload, \":\") & \" \" & $substringBefore($$.payload, \":\") &\t \" * * *\",\t \"expressionType\": \"cron\",\t \"payloadType\": \"default\" \t}",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 340,
"y": 220,
"wires": [
[
"a2e5994b3881cdd4"
]
]
},
{
"id": "d21312a9dac23f90",
"type": "cronplus",
"z": "3efddae8bf85801f",
"name": "",
"outputField": "payload",
"timeZone": "",
"storeName": "file",
"commandResponseMsgOutput": "output1",
"defaultLocation": "50.0 9.0",
"defaultLocationType": "fixed",
"outputs": 1,
"options": [],
"x": 480,
"y": 280,
"wires": [
[
"13ed928097298f6f"
]
]
},
{
"id": "d850417ca1547d37",
"type": "change",
"z": "3efddae8bf85801f",
"name": "command",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\t \"command\": \"add\",\t \"name\": \"Fuetterung3\",\t \"expression\": $substringAfter($$.payload, \":\") & \" \" & $substringBefore($$.payload, \":\") &\t \" * * *\",\t \"expressionType\": \"cron\",\t \"payloadType\": \"default\" \t}",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 340,
"y": 280,
"wires": [
[
"d21312a9dac23f90"
]
]
},
{
"id": "a1ce53f7b16d3822",
"type": "change",
"z": "3efddae8bf85801f",
"name": "true -> false",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1030,
"y": 100,
"wires": [
[
"57eda9c475e428e6"
]
]
},
{
"id": "c65d235dc6b580d7",
"type": "ioBroker out",
"z": "3efddae8bf85801f",
"name": "Futter manuell",
"topic": "0_userdata.0.Futterautomatik.Futter_manuell",
"ack": "false",
"autoCreate": "false",
"stateName": "",
"role": "",
"payloadType": "",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1400,
"y": 80,
"wires": []
},
{
"id": "0dc3ae197d8cf3f0",
"type": "junction",
"z": "3efddae8bf85801f",
"x": 660,
"y": 100,
"wires": [
[
"dbd1d6af1f516870",
"7f08111d1caf90be",
"68b9818a164fa843"
]
]
},
{
"id": "13ed928097298f6f",
"type": "junction",
"z": "3efddae8bf85801f",
"x": 660,
"y": 280,
"wires": [
[
"68b9818a164fa843",
"7f08111d1caf90be"
]
]
},
{
"id": "548b28ed4cf61cd6",
"type": "junction",
"z": "3efddae8bf85801f",
"x": 660,
"y": 220,
"wires": [
[
"7f08111d1caf90be",
"68b9818a164fa843"
]
]
},
{
"id": "107101e1500d3ee4",
"type": "junction",
"z": "3efddae8bf85801f",
"x": 660,
"y": 160,
"wires": [
[
"7f08111d1caf90be",
"68b9818a164fa843"
]
]
},
{
"id": "57eda9c475e428e6",
"type": "junction",
"z": "3efddae8bf85801f",
"x": 1280,
"y": 100,
"wires": [
[
"c65d235dc6b580d7",
"dfadc50debbbcea8"
]
]
}
]