Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Node-Red
    5. Aquarium Futter Steuerung: Info

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Aquarium Futter Steuerung: Info

    This topic has been deleted. Only users with topic management privileges can see it.
    • Aphofis
      Aphofis last edited by

      Ich hatte eine lange Zeit komplexe Blocklys die mein Aquarium Futter gesteuert haben.
      Diese sind mir doch aber zu komplex.
      Die neu erstellte Node-Red Steuerung funktioniert einwandfrei, doch fehlt mir ein kleiner Teil.
      Ich würde gern, das die Steuerung nicht über die Cron Plus Node läuft, sondern die Futter Zeiten aus drei Datenpunkten nimmt, damit diese auch per VIS geändert werden können.
      Meine Steuerung lässt sich auch per Datenpunkt einmal manuell auslösen. Dazu wird die Pumpe abgeschaltet. dann wird 1 Min gewartetet, damit sich das Wasser berugigt. Dann wird für 500 ms Futter dosiert und dann geht 8 min später wieder die Pumpe an.
      Wie folgt sieht meine Steuerung aus:

      Screenshot 2025-05-18 183412.png

      [
          {
              "id": "fee9bdfcafcb0668",
              "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": 260,
              "wires": [
                  [
                      "d303dc4fc10a5569"
                  ]
              ]
          },
          {
              "id": "592ab9bd0f65ae9f",
              "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": 1300,
              "y": 260,
              "wires": []
          },
          {
              "id": "d303dc4fc10a5569",
              "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": 1080,
              "y": 260,
              "wires": [
                  [
                      "592ab9bd0f65ae9f",
                      "a9a19fc983f065c7"
                  ]
              ]
          },
          {
              "id": "a9a19fc983f065c7",
              "type": "debug",
              "z": "3efddae8bf85801f",
              "name": "Futterautomat",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1300,
              "y": 220,
              "wires": []
          },
          {
              "id": "ea912b8d3950d114",
              "type": "cronplus",
              "z": "3efddae8bf85801f",
              "name": "Futter 9:01",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "schedule1",
                      "topic": "Futter 1",
                      "payloadType": "bool",
                      "payload": "true",
                      "expressionType": "cron",
                      "expression": "0 1 9 * * ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 190,
              "y": 260,
              "wires": [
                  [
                      "fee9bdfcafcb0668"
                  ]
              ]
          },
          {
              "id": "336de1d0aeed5a85",
              "type": "cronplus",
              "z": "3efddae8bf85801f",
              "name": "Pumpe Aus 9:00",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "schedule1",
                      "topic": "Futter 1",
                      "payloadType": "bool",
                      "payload": "false",
                      "expressionType": "cron",
                      "expression": "0 0 9 * * ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 180,
              "y": 380,
              "wires": [
                  [
                      "a4965c6b8a7f4514"
                  ]
              ]
          },
          {
              "id": "a4965c6b8a7f4514",
              "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": 380,
              "wires": [
                  [
                      "8a1d1a4a330e81ff"
                  ]
              ]
          },
          {
              "id": "8a1d1a4a330e81ff",
              "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": 1080,
              "y": 380,
              "wires": [
                  [
                      "eb9751a7ef439ffc",
                      "3fb2b36b1265b31c"
                  ]
              ]
          },
          {
              "id": "eb9751a7ef439ffc",
              "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": 1280,
              "y": 380,
              "wires": []
          },
          {
              "id": "3fb2b36b1265b31c",
              "type": "debug",
              "z": "3efddae8bf85801f",
              "name": "Pumpe",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1280,
              "y": 440,
              "wires": []
          },
          {
              "id": "af172862a796a22a",
              "type": "ioBroker in",
              "z": "3efddae8bf85801f",
              "name": "Futter Manuell",
              "attrname": "payload",
              "topic": "0_userdata.0.Futterautomatik.Futter_manuell",
              "payloadType": "value",
              "onlyack": "update",
              "func": "rbe",
              "gap": "",
              "fireOnStart": "false",
              "outFormat": "MQTT",
              "x": 190,
              "y": 120,
              "wires": [
                  [
                      "a4965c6b8a7f4514",
                      "f62d0f96da8f4222",
                      "dbd1d6af1f516870"
                  ]
              ]
          },
          {
              "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": 1300,
              "y": 100,
              "wires": []
          },
          {
              "id": "f62d0f96da8f4222",
              "type": "trigger",
              "z": "3efddae8bf85801f",
              "name": "warte 1 min",
              "op1": "",
              "op2": "true",
              "op1type": "nul",
              "op2type": "bool",
              "duration": "10",
              "extend": false,
              "overrideDelay": false,
              "units": "s",
              "reset": "",
              "bytopic": "all",
              "topic": "topic",
              "outputs": 1,
              "x": 690,
              "y": 140,
              "wires": [
                  [
                      "fee9bdfcafcb0668"
                  ]
              ]
          },
          {
              "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": 1320,
              "y": 60,
              "wires": []
          },
          {
              "id": "dbd1d6af1f516870",
              "type": "delay",
              "z": "3efddae8bf85801f",
              "name": "warte 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": 690,
              "y": 80,
              "wires": [
                  [
                      "a1ce53f7b16d3822"
                  ]
              ]
          },
          {
              "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": 890,
              "y": 80,
              "wires": [
                  [
                      "dfadc50debbbcea8",
                      "c65d235dc6b580d7"
                  ]
              ]
          },
          {
              "id": "1fcca1298b1cba4e",
              "type": "inject",
              "z": "3efddae8bf85801f",
              "name": "Pumpe An",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "true",
              "payloadType": "bool",
              "x": 1100,
              "y": 320,
              "wires": [
                  [
                      "eb9751a7ef439ffc"
                  ]
              ]
          },
          {
              "id": "eac44f2020b5bb7f",
              "type": "inject",
              "z": "3efddae8bf85801f",
              "name": "Pumpe Aus",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "false",
              "payloadType": "bool",
              "x": 1090,
              "y": 440,
              "wires": [
                  [
                      "eb9751a7ef439ffc"
                  ]
              ]
          },
          {
              "id": "86140e0facc3b421",
              "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": 580,
              "wires": [
                  [
                      "2295e65ec183e858"
                  ]
              ]
          },
          {
              "id": "b13d703fd5b94ceb",
              "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": 1300,
              "y": 580,
              "wires": []
          },
          {
              "id": "2295e65ec183e858",
              "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": 1080,
              "y": 580,
              "wires": [
                  [
                      "b13d703fd5b94ceb",
                      "50cdcc7f043d6e18"
                  ]
              ]
          },
          {
              "id": "df8c21c532b42c01",
              "type": "cronplus",
              "z": "3efddae8bf85801f",
              "name": "Futter 13:01",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "schedule1",
                      "topic": "Futter 1",
                      "payloadType": "bool",
                      "payload": "true",
                      "expressionType": "cron",
                      "expression": "0 1 13 * * ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 190,
              "y": 580,
              "wires": [
                  [
                      "86140e0facc3b421"
                  ]
              ]
          },
          {
              "id": "92caf41a1538ee96",
              "type": "cronplus",
              "z": "3efddae8bf85801f",
              "name": "Pumpe Aus 13:00",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "schedule1",
                      "topic": "Futter 1",
                      "payloadType": "bool",
                      "payload": "false",
                      "expressionType": "cron",
                      "expression": "0 0 13 * * ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 170,
              "y": 700,
              "wires": [
                  [
                      "2a11f8a80c2e01e6"
                  ]
              ]
          },
          {
              "id": "2a11f8a80c2e01e6",
              "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": 700,
              "wires": [
                  [
                      "0963cbe9a7bbad3d"
                  ]
              ]
          },
          {
              "id": "0963cbe9a7bbad3d",
              "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": 1080,
              "y": 700,
              "wires": [
                  [
                      "fb8159aae6aaf072",
                      "c4c571e65426bc77"
                  ]
              ]
          },
          {
              "id": "fb8159aae6aaf072",
              "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": 1280,
              "y": 700,
              "wires": []
          },
          {
              "id": "c4c571e65426bc77",
              "type": "debug",
              "z": "3efddae8bf85801f",
              "name": "Pumpe",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1280,
              "y": 760,
              "wires": []
          },
          {
              "id": "994513cebfb3de34",
              "type": "inject",
              "z": "3efddae8bf85801f",
              "name": "Pumpe An",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "true",
              "payloadType": "bool",
              "x": 1100,
              "y": 640,
              "wires": [
                  [
                      "fb8159aae6aaf072"
                  ]
              ]
          },
          {
              "id": "fe77619422a93456",
              "type": "inject",
              "z": "3efddae8bf85801f",
              "name": "Pumpe Aus",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "false",
              "payloadType": "bool",
              "x": 1090,
              "y": 760,
              "wires": [
                  [
                      "fb8159aae6aaf072"
                  ]
              ]
          },
          {
              "id": "50cdcc7f043d6e18",
              "type": "debug",
              "z": "3efddae8bf85801f",
              "name": "Futterautomat",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1300,
              "y": 540,
              "wires": []
          },
          {
              "id": "fc65ab7cc182bc2d",
              "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": 900,
              "wires": [
                  [
                      "21668498ea386bb0"
                  ]
              ]
          },
          {
              "id": "55982a5f5a82ddf1",
              "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": 1300,
              "y": 900,
              "wires": []
          },
          {
              "id": "21668498ea386bb0",
              "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": 1080,
              "y": 900,
              "wires": [
                  [
                      "55982a5f5a82ddf1",
                      "4c2ae4e746e0bb5a"
                  ]
              ]
          },
          {
              "id": "673c777bdda3e0fc",
              "type": "cronplus",
              "z": "3efddae8bf85801f",
              "name": "Futter 17:01",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "schedule1",
                      "topic": "Futter 1",
                      "payloadType": "bool",
                      "payload": "true",
                      "expressionType": "cron",
                      "expression": "0 1 17 * * ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 190,
              "y": 900,
              "wires": [
                  [
                      "fc65ab7cc182bc2d"
                  ]
              ]
          },
          {
              "id": "d2664907aa21be03",
              "type": "cronplus",
              "z": "3efddae8bf85801f",
              "name": "Pumpe Aus 17:00",
              "outputField": "payload",
              "timeZone": "",
              "storeName": "",
              "commandResponseMsgOutput": "output1",
              "defaultLocation": "",
              "defaultLocationType": "default",
              "outputs": 1,
              "options": [
                  {
                      "name": "schedule1",
                      "topic": "Futter 1",
                      "payloadType": "bool",
                      "payload": "false",
                      "expressionType": "cron",
                      "expression": "0 0 17 * * ? *",
                      "location": "",
                      "offset": "0",
                      "solarType": "all",
                      "solarEvents": "sunrise,sunset"
                  }
              ],
              "x": 170,
              "y": 1020,
              "wires": [
                  [
                      "d81ada2afd2bc726"
                  ]
              ]
          },
          {
              "id": "d81ada2afd2bc726",
              "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": 1020,
              "wires": [
                  [
                      "4f9c7a30d1e1c41b"
                  ]
              ]
          },
          {
              "id": "4f9c7a30d1e1c41b",
              "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": 1080,
              "y": 1020,
              "wires": [
                  [
                      "684397118b5a2d02",
                      "fbbe9a7b45381146"
                  ]
              ]
          },
          {
              "id": "684397118b5a2d02",
              "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": 1280,
              "y": 1020,
              "wires": []
          },
          {
              "id": "fbbe9a7b45381146",
              "type": "debug",
              "z": "3efddae8bf85801f",
              "name": "Pumpe",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1280,
              "y": 1080,
              "wires": []
          },
          {
              "id": "45e93667bd16b5e7",
              "type": "inject",
              "z": "3efddae8bf85801f",
              "name": "Pumpe An",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "true",
              "payloadType": "bool",
              "x": 1100,
              "y": 960,
              "wires": [
                  [
                      "684397118b5a2d02"
                  ]
              ]
          },
          {
              "id": "55fba6c434de9d73",
              "type": "inject",
              "z": "3efddae8bf85801f",
              "name": "Pumpe Aus",
              "props": [
                  {
                      "p": "payload"
                  },
                  {
                      "p": "topic",
                      "vt": "str"
                  }
              ],
              "repeat": "",
              "crontab": "",
              "once": false,
              "onceDelay": 0.1,
              "topic": "",
              "payload": "false",
              "payloadType": "bool",
              "x": 1090,
              "y": 1080,
              "wires": [
                  [
                      "684397118b5a2d02"
                  ]
              ]
          },
          {
              "id": "4c2ae4e746e0bb5a",
              "type": "debug",
              "z": "3efddae8bf85801f",
              "name": "Futterautomat",
              "active": true,
              "tosidebar": true,
              "console": false,
              "tostatus": false,
              "complete": "payload",
              "targetType": "msg",
              "statusVal": "",
              "statusType": "auto",
              "x": 1300,
              "y": 860,
              "wires": []
          },
          {
              "id": "a5b46c8901527e1b",
              "type": "comment",
              "z": "3efddae8bf85801f",
              "name": "Futter 9:00",
              "info": "",
              "x": 200,
              "y": 220,
              "wires": []
          },
          {
              "id": "d635fc15c8a8afbd",
              "type": "comment",
              "z": "3efddae8bf85801f",
              "name": "Futter 13:00",
              "info": "",
              "x": 190,
              "y": 520,
              "wires": []
          },
          {
              "id": "e5a42c8730dabbb6",
              "type": "comment",
              "z": "3efddae8bf85801f",
              "name": "Futter 17:00",
              "info": "",
              "x": 190,
              "y": 840,
              "wires": []
          },
          {
              "id": "bc07ba199e6d0c6f",
              "type": "comment",
              "z": "3efddae8bf85801f",
              "name": "Futter manuell",
              "info": "",
              "x": 190,
              "y": 80,
              "wires": []
          }
      ]
      

      jetzt ist die Frage, ist es einfach die Uhrzeiten aus Datenpunkten zu nehmen !?

      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @Aphofis last edited by Marc Berg

        @aphofis sagte in Aquarium Futter Steuerung: Info:

        ist es einfach die Uhrzeiten aus Datenpunkten zu nehmen !?

        Du könntest ganz einfach die Cron Plus Nodes von "außen" programmieren:

        3e3bf7e1-6080-4cf2-aa02-01115a52d90f-grafik.png

        Aus "06:11" wird dann ein Cron, der täglich um 06:11 Uhr feuert.

        [
            {
                "id": "d995555e5c4a2386",
                "type": "cronplus",
                "z": "36b9884e8729a4c0",
                "name": "",
                "outputField": "payload",
                "timeZone": "",
                "storeName": "file",
                "commandResponseMsgOutput": "output1",
                "defaultLocation": "50.0 9.0",
                "defaultLocationType": "fixed",
                "outputs": 1,
                "options": [],
                "x": 500,
                "y": 140,
                "wires": [
                    []
                ]
            },
            {
                "id": "427cd35a45be4e5f",
                "type": "ioBroker in",
                "z": "36b9884e8729a4c0",
                "name": "",
                "attrname": "payload",
                "topic": "0_userdata.0.Fütterung1",
                "payloadType": "value",
                "onlyack": "",
                "func": "all",
                "gap": "",
                "fireOnStart": "true",
                "outFormat": "MQTT",
                "x": 150,
                "y": 140,
                "wires": [
                    [
                        "af740320b4eee028"
                    ]
                ]
            },
            {
                "id": "af740320b4eee028",
                "type": "change",
                "z": "36b9884e8729a4c0",
                "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": 140,
                "wires": [
                    [
                        "d995555e5c4a2386"
                    ]
                ]
            }
        ]
        

        EDIT: Warum hast du den identischen Flow drei Mal aufgebaut? Es würde doch ein Mal mit drei Schedules ausreichend sein.

        EDIT2: mit Wildcards kommst du sogar mit genau einer Cron Node aus, wenn der Schedule-Name aus dem Topic gebildet wird.

        1 Reply Last reply Reply Quote 2
        • Aphofis
          Aphofis last edited by Aphofis

          @marc-berg sagte in Aquarium Futter Steuerung: Info:

                                                                                                                                      [                                                                                                                                                                                {                                                                                                                                                                                    "id": "d995555e5c4a2386",                                                                                                                                                                                    "type": "cronplus",                                                                                                                                                                                    "z": "36b9884e8729a4c0",                                                                                                                                                                                    "name": "",                                                                                                                                                                                    "outputField": "payload",                                                                                                                                                                                    "timeZone": "",                                                                                                                                                                                    "storeName": "file",                                                                                                                                                                                    "commandResponseMsgOutput": "output1",                                                                                                                                                                                    "defaultLocation": "50.0 9.0",                                                                                                                                                                                    "defaultLocationType": "fixed",                                                                                                                                                                                    "outputs": 1,                                                                                                                                                                                    "options": [],                                                                                                                                                                                    "x": 500,                                                                                                                                                                                    "y": 140,                                                                                                                                                                                    "wires": [                                                                                                                                                                                        []                                                                                                                                                                                    ]                                                                                                                                                                                },                                                                                                                                                                                {                                                                                                                                                                                    "id": "427cd35a45be4e5f",                                                                                                                                                                                    "type": "ioBroker in",                                                                                                                                                                                    "z": "36b9884e8729a4c0",                                                                                                                                                                                    "name": "",                                                                                                                                                                                    "attrname": "payload",                                                                                                                                                                                    "topic": "0_userdata.0.Fütterung1",                                                                                                                                                                                    "payloadType": "value",                                                                                                                                                                                    "onlyack": "",                                                                                                                                                                                    "func": "all",                                                                                                                                                                                    "gap": "",                                                                                                                                                                                    "fireOnStart": "true",                                                                                                                                                                                    "outFormat": "MQTT",                                                                                                                                                                                    "x": 150,                                                                                                                                                                                    "y": 140,                                                                                                                                                                                    "wires": [                                                                                                                                                                                        [                                                                                                                                                                                            "af740320b4eee028"                                                                                                                                                                                        ]                                                                                                                                                                                    ]                                                                                                                                                                                },                                                                                                                                                                                {                                                                                                                                                                                    "id": "af740320b4eee028",                                                                                                                                                                                    "type": "change",                                                                                                                                                                                    "z": "36b9884e8729a4c0",                                                                                                                                                                                    "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": 140,                                                                                                                                                                                    "wires": [                                                                                                                                                                                        [                                                                                                                                                                                            "d995555e5c4a2386"                                                                                                                                                                                        ]                                                                                                                                                                                    ]                                                                                                                                                                                }                                                                                                                                                                            ]                                            
          

          Das schon mal sehr cool! Danke
          Naja weil es drei Uhrzeiten sind!
          Hab ich mal getestet, meinst du so !?
          Test hat geklappt.

          [
              {
                  "id": "a5b46c8901527e1b",
                  "type": "comment",
                  "z": "3efddae8bf85801f",
                  "name": " 9:00",
                  "info": "",
                  "x": 90,
                  "y": 400,
                  "wires": []
              },
              {
                  "id": "d635fc15c8a8afbd",
                  "type": "comment",
                  "z": "3efddae8bf85801f",
                  "name": "13:00",
                  "info": "",
                  "x": 90,
                  "y": 460,
                  "wires": []
              },
              {
                  "id": "e5a42c8730dabbb6",
                  "type": "comment",
                  "z": "3efddae8bf85801f",
                  "name": "17:00",
                  "info": "",
                  "x": 90,
                  "y": 520,
                  "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": 400,
                  "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": 400,
                  "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": 400,
                  "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": 460,
                  "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": 520,
                  "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": 400,
                  "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": 1460,
                  "y": 420,
                  "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": 1220,
                  "y": 400,
                  "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": 520,
                  "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": 1220,
                  "y": 520,
                  "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": 1440,
                  "y": 540,
                  "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": 1440,
                  "y": 500,
                  "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": 1460,
                  "y": 380,
                  "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": 400,
                  "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": 460,
                  "wires": [
                      [
                          "548b28ed4cf61cd6"
                      ]
                  ]
              },
              {
                  "id": "cd76e3aaaa9fae2c",
                  "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": 460,
                  "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": 520,
                  "wires": [
                      [
                          "13ed928097298f6f"
                      ]
                  ]
              },
              {
                  "id": "d850417ca1547d37",
                  "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": 520,
                  "wires": [
                      [
                          "d21312a9dac23f90"
                      ]
                  ]
              },
              {
                  "id": "13ed928097298f6f",
                  "type": "junction",
                  "z": "3efddae8bf85801f",
                  "x": 660,
                  "y": 520,
                  "wires": [
                      [
                          "68b9818a164fa843",
                          "7f08111d1caf90be"
                      ]
                  ]
              },
              {
                  "id": "548b28ed4cf61cd6",
                  "type": "junction",
                  "z": "3efddae8bf85801f",
                  "x": 660,
                  "y": 460,
                  "wires": [
                      [
                          "7f08111d1caf90be",
                          "68b9818a164fa843"
                      ]
                  ]
              },
              {
                  "id": "107101e1500d3ee4",
                  "type": "junction",
                  "z": "3efddae8bf85801f",
                  "x": 660,
                  "y": 400,
                  "wires": [
                      [
                          "7f08111d1caf90be",
                          "68b9818a164fa843"
                      ]
                  ]
              }
          ]
          


          Screenshot 2025-05-22 225801.png
          OK Fütterung 1/2/3 hab ich noch mal ergänzt

          Aphofis 1 Reply Last reply Reply Quote 0
          • Aphofis
            Aphofis @Aphofis last edited by

            So sollte es passen!

            [
                {
                    "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"
                        ]
                    ]
                }
            ]
            


            Screenshot 2025-05-22 230636.png

            Marc Berg 1 Reply Last reply Reply Quote 0
            • Marc Berg
              Marc Berg Most Active @Aphofis last edited by Marc Berg

              @aphofis

              Da eine Cron Node mehrere Schedules aufnehmen kann, ließe sich das noch weiter vereinfachen, noch dazu, wenn du einen Ordner mit x Fütterungszeiten anlegst.

              e8924bc2-579b-44de-98de-fdc8e7271387-grafik.png

              Wobei ich jetzt nicht weiß, wozu diese true/false Change Nodes drin sind (den erforderlichen Payload kann man doch in den Triggern definieren), bzw. welchen Input der Automat oder die Pumpe benötigt:

              97a02f5b-efcf-4e76-8eee-e1fd73b0cf13-grafik.png

              [
                  {
                      "id": "87c87f3f86b28481",
                      "type": "group",
                      "z": "36b9884e8729a4c0",
                      "name": "Mahlzeit",
                      "style": {
                          "label": true,
                          "fill": "#d1d1d1",
                          "fill-opacity": "0.34",
                          "color": "#000000"
                      },
                      "nodes": [
                          "d995555e5c4a2386",
                          "427cd35a45be4e5f",
                          "af740320b4eee028",
                          "7c12a41643f199a5",
                          "9691c169d3545d8c",
                          "a1b700cee4f22594",
                          "a78df3439706a699",
                          "c4df90e30878b908",
                          "933cef4b72c0da03",
                          "2033cec56180c602"
                      ],
                      "x": 94,
                      "y": 59,
                      "w": 1012,
                      "h": 202
                  },
                  {
                      "id": "d995555e5c4a2386",
                      "type": "cronplus",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "",
                      "outputField": "payload",
                      "timeZone": "",
                      "storeName": "file",
                      "commandResponseMsgOutput": "output1",
                      "defaultLocation": "50.0 9.0",
                      "defaultLocationType": "fixed",
                      "outputs": 1,
                      "options": [],
                      "x": 560,
                      "y": 160,
                      "wires": [
                          [
                              "2033cec56180c602"
                          ]
                      ]
                  },
                  {
                      "id": "427cd35a45be4e5f",
                      "type": "ioBroker in",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "",
                      "attrname": "payload",
                      "topic": "0_userdata.0.Fuetterung.*",
                      "payloadType": "value",
                      "onlyack": "",
                      "func": "all",
                      "gap": "",
                      "fireOnStart": "false",
                      "outFormat": "MQTT",
                      "x": 230,
                      "y": 160,
                      "wires": [
                          [
                              "af740320b4eee028"
                          ]
                      ]
                  },
                  {
                      "id": "af740320b4eee028",
                      "type": "change",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "command",
                      "rules": [
                          {
                              "t": "set",
                              "p": "payload",
                              "pt": "msg",
                              "to": "{\t   \"command\": \"add\",\t   \"name\": $substringAfter($$.topic, \"0_userdata/0/Fuetterung/\"),\t   \"expression\": $substringAfter($$.payload, \":\") & \" \" & $substringBefore($$.payload, \":\") & \" * * *\",\t   \"expressionType\": \"cron\",\t   \"payloadType\": \"default\" \t}",
                              "tot": "jsonata"
                          }
                      ],
                      "action": "",
                      "property": "",
                      "from": "",
                      "to": "",
                      "reg": false,
                      "x": 420,
                      "y": 160,
                      "wires": [
                          [
                              "d995555e5c4a2386"
                          ]
                      ]
                  },
                  {
                      "id": "7c12a41643f199a5",
                      "type": "trigger",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "8 min",
                      "op1": "false",
                      "op2": "true",
                      "op1type": "bool",
                      "op2type": "bool",
                      "duration": "8",
                      "extend": false,
                      "overrideDelay": false,
                      "units": "min",
                      "reset": "",
                      "bytopic": "all",
                      "topic": "topic",
                      "outputs": 1,
                      "x": 890,
                      "y": 160,
                      "wires": [
                          [
                              "a78df3439706a699"
                          ]
                      ]
                  },
                  {
                      "id": "9691c169d3545d8c",
                      "type": "trigger",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "500ms",
                      "op1": "true",
                      "op2": "false",
                      "op1type": "bool",
                      "op2type": "bool",
                      "duration": "500",
                      "extend": false,
                      "overrideDelay": false,
                      "units": "ms",
                      "reset": "",
                      "bytopic": "all",
                      "topic": "topic",
                      "outputs": 1,
                      "x": 890,
                      "y": 220,
                      "wires": [
                          [
                              "c4df90e30878b908"
                          ]
                      ]
                  },
                  {
                      "id": "a1b700cee4f22594",
                      "type": "delay",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "Delay 1min",
                      "pauseType": "delay",
                      "timeout": "1",
                      "timeoutUnits": "minutes",
                      "rate": "1",
                      "nbRateUnits": "1",
                      "rateUnits": "second",
                      "randomFirst": "1",
                      "randomLast": "5",
                      "randomUnits": "seconds",
                      "drop": false,
                      "allowrate": false,
                      "outputs": 1,
                      "x": 750,
                      "y": 220,
                      "wires": [
                          [
                              "9691c169d3545d8c"
                          ]
                      ]
                  },
                  {
                      "id": "a78df3439706a699",
                      "type": "ioBroker out",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "Pumpe",
                      "topic": "Pumpe",
                      "ack": "false",
                      "autoCreate": "false",
                      "stateName": "",
                      "role": "",
                      "payloadType": "",
                      "readonly": "",
                      "stateUnit": "",
                      "stateMin": "",
                      "stateMax": "",
                      "x": 1020,
                      "y": 160,
                      "wires": []
                  },
                  {
                      "id": "c4df90e30878b908",
                      "type": "ioBroker out",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "Automat",
                      "topic": "Automat",
                      "ack": "false",
                      "autoCreate": "false",
                      "stateName": "",
                      "role": "",
                      "payloadType": "",
                      "readonly": "",
                      "stateUnit": "",
                      "stateMin": "",
                      "stateMax": "",
                      "x": 1020,
                      "y": 220,
                      "wires": []
                  },
                  {
                      "id": "933cef4b72c0da03",
                      "type": "ioBroker in",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "name": "",
                      "attrname": "payload",
                      "topic": "Futter manuell",
                      "payloadType": "value",
                      "onlyack": "",
                      "func": "all",
                      "gap": "",
                      "fireOnStart": "false",
                      "outFormat": "MQTT",
                      "x": 570,
                      "y": 100,
                      "wires": [
                          [
                              "2033cec56180c602"
                          ]
                      ]
                  },
                  {
                      "id": "2033cec56180c602",
                      "type": "junction",
                      "z": "36b9884e8729a4c0",
                      "g": "87c87f3f86b28481",
                      "x": 660,
                      "y": 160,
                      "wires": [
                          [
                              "7c12a41643f199a5",
                              "a1b700cee4f22594"
                          ]
                      ]
                  }
              ]
              

              BTW: hast du einen Automaten direkt an ioBroker angeschlossen, oder nur per ein/aus über eine Steckdose o.ä?

              Steht ja in deinem Flow, über Sonoff...

              1 Reply Last reply Reply Quote 0
              • Aphofis
                Aphofis last edited by Aphofis

                @marc-berg
                Erstmal Supi fürs unter die Arme greifen!
                Nein ich habe 2 ESP8266 am laufen.
                Da ist unter anderem ein 8 Fach Relais angeschlossen über GPIO
                Da werden dann für den Futterautomaten 12 Volt geschaltet.
                Deswegen 500 ms das langt für eine Mahlzeit bei 110 Liter.
                Erst wenn ich umgezogen bin, wird das 900 Liter Becken wieder aufgebaut.
                Dann wird die Futterzeit sicherlich wieder etwas höher werden.
                Frag jetzt bitte nicht wie viel Gramm mein Automat bei 500 ms macht. Hab ich vergessen 😧
                Der Steuerungskasten ist noch von dem großen Becken!
                05834815-13BF-48A1-9561-EE0A992F7E9F.jpeg
                War einmal Meerwasser oben Dosierpumpen mitte Hauptsteuerung unten 230 Volt Geräte Steuerung
                IMG_6353.JPG
                Alles selbst gebaut!

                Aphofis Marc Berg 2 Replies Last reply Reply Quote 0
                • Aphofis
                  Aphofis @Aphofis last edited by

                  @Marc-Berg
                  ist das so korrekt !?

                  [
                      {
                          "id": "e9642cf0ca92e718",
                          "type": "group",
                          "z": "3efddae8bf85801f",
                          "name": "Mahlzeit",
                          "style": {
                              "label": true,
                              "fill": "#d1d1d1",
                              "fill-opacity": "0.34",
                              "color": "#000000"
                          },
                          "nodes": [
                              "9e5f89eaed6394f5",
                              "8c4b163052ac8fc4",
                              "34eb2cf2a3c352df",
                              "ea2411d50762d648",
                              "140ebb39bdcafaab",
                              "28363b0cdd2266d9",
                              "234a69897003d385",
                              "ab60a8016290ea34",
                              "e25804656fad5576",
                              "2c32e27abc50c6ee"
                          ],
                          "x": 114,
                          "y": 419,
                          "w": 972,
                          "h": 202
                      },
                      {
                          "id": "9e5f89eaed6394f5",
                          "type": "cronplus",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "",
                          "outputField": "payload",
                          "timeZone": "",
                          "storeName": "file",
                          "commandResponseMsgOutput": "output1",
                          "defaultLocation": "50.0 9.0",
                          "defaultLocationType": "fixed",
                          "outputs": 1,
                          "options": [],
                          "x": 540,
                          "y": 520,
                          "wires": [
                              [
                                  "2c32e27abc50c6ee"
                              ]
                          ]
                      },
                      {
                          "id": "8c4b163052ac8fc4",
                          "type": "ioBroker in",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "Futterautomatik",
                          "attrname": "payload",
                          "topic": "0_userdata.0.Futterautomatik.*",
                          "payloadType": "value",
                          "onlyack": "",
                          "func": "all",
                          "gap": "",
                          "fireOnStart": "false",
                          "outFormat": "MQTT",
                          "x": 220,
                          "y": 520,
                          "wires": [
                              [
                                  "34eb2cf2a3c352df"
                              ]
                          ]
                      },
                      {
                          "id": "34eb2cf2a3c352df",
                          "type": "change",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "command",
                          "rules": [
                              {
                                  "t": "set",
                                  "p": "payload",
                                  "pt": "msg",
                                  "to": "{\t   \"command\": \"add\",\t   \"name\": $substringAfter($$.topic, \"0_userdata/0/Futterautomatik/\"),\t   \"expression\": $substringAfter($$.payload, \":\") & \" \" & $substringBefore($$.payload, \":\") & \" * * *\",\t   \"expressionType\": \"cron\",\t   \"payloadType\": \"default\" \t}",
                                  "tot": "jsonata"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 400,
                          "y": 520,
                          "wires": [
                              [
                                  "9e5f89eaed6394f5"
                              ]
                          ]
                      },
                      {
                          "id": "ea2411d50762d648",
                          "type": "trigger",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "8 min",
                          "op1": "false",
                          "op2": "true",
                          "op1type": "bool",
                          "op2type": "bool",
                          "duration": "8",
                          "extend": false,
                          "overrideDelay": false,
                          "units": "min",
                          "reset": "",
                          "bytopic": "all",
                          "topic": "topic",
                          "outputs": 1,
                          "x": 870,
                          "y": 520,
                          "wires": [
                              [
                                  "234a69897003d385"
                              ]
                          ]
                      },
                      {
                          "id": "140ebb39bdcafaab",
                          "type": "trigger",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "500ms",
                          "op1": "true",
                          "op2": "false",
                          "op1type": "bool",
                          "op2type": "bool",
                          "duration": "500",
                          "extend": false,
                          "overrideDelay": false,
                          "units": "ms",
                          "reset": "",
                          "bytopic": "all",
                          "topic": "topic",
                          "outputs": 1,
                          "x": 870,
                          "y": 580,
                          "wires": [
                              [
                                  "ab60a8016290ea34"
                              ]
                          ]
                      },
                      {
                          "id": "28363b0cdd2266d9",
                          "type": "delay",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "Delay 1min",
                          "pauseType": "delay",
                          "timeout": "1",
                          "timeoutUnits": "minutes",
                          "rate": "1",
                          "nbRateUnits": "1",
                          "rateUnits": "second",
                          "randomFirst": "1",
                          "randomLast": "5",
                          "randomUnits": "seconds",
                          "drop": false,
                          "allowrate": false,
                          "outputs": 1,
                          "x": 730,
                          "y": 580,
                          "wires": [
                              [
                                  "140ebb39bdcafaab"
                              ]
                          ]
                      },
                      {
                          "id": "234a69897003d385",
                          "type": "ioBroker out",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "Pumpe",
                          "topic": "sonoff.0.Aqua_Control.POWER8",
                          "ack": "false",
                          "autoCreate": "false",
                          "stateName": "",
                          "role": "",
                          "payloadType": "",
                          "readonly": "",
                          "stateUnit": "",
                          "stateMin": "",
                          "stateMax": "",
                          "x": 1000,
                          "y": 520,
                          "wires": []
                      },
                      {
                          "id": "ab60a8016290ea34",
                          "type": "ioBroker out",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "Automat",
                          "topic": "sonoff.0.Aqua_Control.POWER5",
                          "ack": "false",
                          "autoCreate": "false",
                          "stateName": "",
                          "role": "",
                          "payloadType": "",
                          "readonly": "",
                          "stateUnit": "",
                          "stateMin": "",
                          "stateMax": "",
                          "x": 1000,
                          "y": 580,
                          "wires": []
                      },
                      {
                          "id": "e25804656fad5576",
                          "type": "ioBroker in",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "name": "Futter manuell",
                          "attrname": "payload",
                          "topic": "0_userdata.0.Aqua_Float.Futter.Futter_manuell",
                          "payloadType": "value",
                          "onlyack": "",
                          "func": "all",
                          "gap": "",
                          "fireOnStart": "false",
                          "outFormat": "MQTT",
                          "x": 530,
                          "y": 460,
                          "wires": [
                              [
                                  "2c32e27abc50c6ee"
                              ]
                          ]
                      },
                      {
                          "id": "2c32e27abc50c6ee",
                          "type": "junction",
                          "z": "3efddae8bf85801f",
                          "g": "e9642cf0ca92e718",
                          "x": 640,
                          "y": 520,
                          "wires": [
                              [
                                  "ea2411d50762d648",
                                  "28363b0cdd2266d9"
                              ]
                          ]
                      }
                  ]
                  

                  Marc Berg 1 Reply Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active @Aphofis last edited by Marc Berg

                    @aphofis sagte in Aquarium Futter Steuerung: Info:

                    ist das so korrekt !?

                    Sollte so funktionieren, abhängig davon, wie der Datenpunkt

                    0_userdata.0.Aqua_Float.Futter.Futter_manuell
                    

                    "gefüttert" wird. Meine Idee war, die manuelle Fütterung genau so auszuführen wie die automatischen.

                    Aphofis 1 Reply Last reply Reply Quote 0
                    • Marc Berg
                      Marc Berg Most Active @Aphofis last edited by

                      @aphofis sagte in Aquarium Futter Steuerung: Info:

                      War einmal Meerwasser oben Dosierpumpen mitte Hauptsteuerung unten 230 Volt Geräte Steuerung

                      Alles selbst gebaut!

                      Na, das ist ja mal eine Installation, cool!

                      1 Reply Last reply Reply Quote 0
                      • Aphofis
                        Aphofis last edited by

                        @marc-berg
                        Hab mich schon kurz gefasst nur waren die ganzen gekauften geräte jedes für sich und nix hat zusammen gearbeitet. So hatte ich ZB Strömungspumpen die zu bestimmten zeiten Wellengang 4-5 cm hohe Wellen im Becken erzeugt hatten und die LED Lampen haben einen Wetter Modus und haben dann zu den Zeiten bei Wellengang Unwetter simuliert und Blitze erzeugt und Hell Dunkel Beleuchtet
                        Nur so werde ich wohl kein Meerwasser Becken mehr betreiben, wenn dann nur noch Süßwasser!
                        IMG_6587.jpg
                        7F094B44-EE59-48D8-9732-084C4D1DBE0C.jpeg

                        2E67515D-6C1E-4572-B025-76C4B86CE6B9.jpeg
                        IMG_2825.jpeg IMG_2826-1.JPG

                        1 Reply Last reply Reply Quote 1
                        • Aphofis
                          Aphofis @Marc Berg last edited by Aphofis

                          @marc-berg Wie meinst du da!?
                          Ich hab nenn Datenpunkt der geschaltet wird und wenn der true ist, wird die Futter manuell steuerung ausgelöst
                          Aber ganz ehrlich gesagt, finde ich es so übersichtlicher
                          Screenshot 2025-05-29 032131.png

                          1 Reply Last reply Reply Quote 0
                          • Basti97
                            Basti97 Most Active last edited by

                            Das ist eine gute Idee wenn der Filter ausgeschaltet wird. Machst du das auch mit dem Lüfter (Luftblasen). Ich habe bisher immer so gefüttert wenn alles an ist. Aber da fliegt das Futter ja sonst wo hin.

                            1 Reply Last reply Reply Quote 0
                            • Aphofis
                              Aphofis last edited by

                              @basti97
                              Das hab ich schon immer gemacht, sprich bei 11 Aquarien immer Pumpe aus.
                              Wenn gefüttert wird. Alleine schon damit sich das Futter nicht überall verteilt und auch viel zu schnell verwirbelt wird bzw zu Boden sinkt.
                              Wie meinst du Lüfter und Luftblasen !?

                              Basti97 1 Reply Last reply Reply Quote 0
                              • Basti97
                                Basti97 Most Active @Aphofis last edited by

                                @aphofis Interessant zu wissen werde ich auch in meinem Programm einbauen. Welche Fische hast du?
                                Luftblasen schaltest du das auch aus?

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                713
                                Online

                                31.7k
                                Users

                                79.7k
                                Topics

                                1.3m
                                Posts

                                3
                                14
                                277
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                The ioBroker Community 2014-2023
                                logo