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. String aufteilen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    String aufteilen

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hafo @mickym last edited by

      @mickym und beim Speichern sind einige Punkte noch gar nicht angeschlossen welche ich nicht ändern kann

      [
         {
             "id": "5a0431bb.bb2aa",
             "type": "ioBroker in",
             "z": "4524d790.7edb8",
             "name": "Trigger",
             "topic": "0_userdata.0.Bewässerung.vis.Trigger",
             "payloadType": "value",
             "onlyack": false,
             "func": "all",
             "gap": "",
             "fireOnStart": "false",
             "x": 50,
             "y": 540,
             "wires": [
                 [
                     "e1c0ce04.dc943",
                     "dd0d5311.5fd338",
                     "3b3d0198.835f8e"
                 ]
             ]
         },
         {
             "id": "939eb60f.3fddd8",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Auswahl",
             "topic": "0_userdata.0.Bewässerung.vis.Auswahl",
             "attrname": "payload",
             "payloadType": "value",
             "x": 420,
             "y": 540,
             "wires": [
                 [
                     "f4ee1dde.995a48"
                 ]
             ]
         },
         {
             "id": "f4ee1dde.995a48",
             "type": "switch",
             "z": "4524d790.7edb8",
             "name": "Verteiler",
             "property": "payload",
             "propertyType": "msg",
             "rules": [
                 {
                     "t": "eq",
                     "v": "Chili",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "Gewuertz",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "Rasen",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "Himbeeren",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "Gemuese",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "Feigenbaum",
                     "vt": "str"
                 },
                 {
                     "t": "eq",
                     "v": "Tomaten",
                     "vt": "str"
                 }
             ],
             "checkall": "true",
             "repair": false,
             "outputs": 7,
             "x": 640,
             "y": 540,
             "wires": [
                 [
                     "6824380c.31de8",
                     "e96d9792.c38ca8",
                     "4ddfdab2.40b44c"
                 ],
                 [
                     "27ccefaf.7772b8",
                     "bc8b762e.a2b03",
                     "3a5b4365.9f12f4"
                 ],
                 [
                     "1c52b2f5.2355b5",
                     "bbd132d0.1499a8",
                     "1ad712f3.535975"
                 ],
                 [
                     "f7d776ee.abc678",
                     "116a72ac.bcfd1d",
                     "9f318fdc.0e71c"
                 ],
                 [
                     "63af54e3.178164",
                     "9c3b0be0.5f03c",
                     "a99e178f.55716"
                 ],
                 [
                     "1fa7d74b.223c81",
                     "488b900f.2e8fa8",
                     "925569ae.414b78",
                     "59cd7ef3.1e074"
                 ],
                 [
                     "fbd3e57a.8cf3c8",
                     "d3d4682e.04a438",
                     "9048443a.d290c8",
                     "82dfdd05.4d8e1"
                 ]
             ]
         },
         {
             "id": "6824380c.31de8",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit h",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_h",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 20,
             "wires": [
                 [
                     "489cc313.0c59bc"
                 ]
             ]
         },
         {
             "id": "e96d9792.c38ca8",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit m",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_m",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1050,
             "y": 60,
             "wires": [
                 [
                     "932a9248.21b268"
                 ]
             ]
         },
         {
             "id": "4ddfdab2.40b44c",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Laufzeit",
             "topic": "0_userdata.0.Bewässerung.vis.Laufzeit",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 100,
             "wires": [
                 [
                     "e31c1a25.6b3868"
                 ]
             ]
         },
         {
             "id": "489cc313.0c59bc",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Chili Startzeit",
             "topic": "0_userdata.0.Bewässerung.Chili_Startzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1290,
             "y": 20,
             "wires": []
         },
         {
             "id": "932a9248.21b268",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Feigenbaum Startzeit m",
             "topic": "0_userdata.0.Bewässerung.Feigenbaum_Startzeit_m",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1330,
             "y": 60,
             "wires": []
         },
         {
             "id": "e31c1a25.6b3868",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Chili Laufzeit",
             "topic": "0_userdata.0.Bewässerung.Chili_Laufzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1290,
             "y": 100,
             "wires": []
         },
         {
             "id": "422d5faa.75ad48",
             "type": "debug",
             "z": "4524d790.7edb8",
             "name": "",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "false",
             "statusVal": "",
             "statusType": "auto",
             "x": 1050,
             "y": 140,
             "wires": []
         },
         {
             "id": "27ccefaf.7772b8",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit h",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_h",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 180,
             "wires": [
                 [
                     "679934ff.917364"
                 ]
             ]
         },
         {
             "id": "bc8b762e.a2b03",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit m",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_m",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1050,
             "y": 220,
             "wires": [
                 [
                     "9ae748ec.4841b8"
                 ]
             ]
         },
         {
             "id": "3a5b4365.9f12f4",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Laufzeit",
             "topic": "0_userdata.0.Bewässerung.vis.Laufzeit",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 260,
             "wires": [
                 [
                     "b146a4d4.25c008"
                 ]
             ]
         },
         {
             "id": "679934ff.917364",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Gewuertz Startzeit",
             "topic": "0_userdata.0.Bewässerung.Gewuertz_Startzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 180,
             "wires": []
         },
         {
             "id": "9ae748ec.4841b8",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Gewuertz Startzeit m",
             "topic": "0_userdata.0.Bewässerung.Gewuertz_Startzeit_m",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1320,
             "y": 220,
             "wires": []
         },
         {
             "id": "b146a4d4.25c008",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Gewuertz Laufzeit",
             "topic": "0_userdata.0.Bewässerung.Gewuertz_Laufzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 260,
             "wires": []
         },
         {
             "id": "7ed32ced.72114c",
             "type": "debug",
             "z": "4524d790.7edb8",
             "name": "",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "false",
             "statusVal": "",
             "statusType": "auto",
             "x": 1050,
             "y": 300,
             "wires": []
         },
         {
             "id": "1c52b2f5.2355b5",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit h",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_h",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 340,
             "wires": [
                 [
                     "b79f93d4.3001e"
                 ]
             ]
         },
         {
             "id": "bbd132d0.1499a8",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit m",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_m",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1050,
             "y": 380,
             "wires": [
                 [
                     "3488b4bd.05ae0c"
                 ]
             ]
         },
         {
             "id": "1ad712f3.535975",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Laufzeit",
             "topic": "0_userdata.0.Bewässerung.vis.Laufzeit",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 420,
             "wires": [
                 [
                     "54929399.82fab4"
                 ]
             ]
         },
         {
             "id": "b79f93d4.3001e",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Rasen Startzeit",
             "topic": "0_userdata.0.Bewässerung.Rasen_Startzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1300,
             "y": 340,
             "wires": []
         },
         {
             "id": "3488b4bd.05ae0c",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Rasen Startzeit m",
             "topic": "0_userdata.0.Bewässerung.Rasen_Startzeit_m",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 380,
             "wires": []
         },
         {
             "id": "54929399.82fab4",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Rasen Laufzeit",
             "topic": "0_userdata.0.Bewässerung.Rasen_Laufzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1300,
             "y": 420,
             "wires": []
         },
         {
             "id": "6a95c670.57983",
             "type": "debug",
             "z": "4524d790.7edb8",
             "name": "",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "false",
             "statusVal": "",
             "statusType": "auto",
             "x": 1050,
             "y": 460,
             "wires": []
         },
         {
             "id": "f7d776ee.abc678",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit h",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_h",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 500,
             "wires": [
                 [
                     "765d7d00.e345d4"
                 ]
             ]
         },
         {
             "id": "116a72ac.bcfd1d",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit m",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_m",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1050,
             "y": 540,
             "wires": [
                 [
                     "c61adffd.1f67b8"
                 ]
             ]
         },
         {
             "id": "9f318fdc.0e71c",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Laufzeit",
             "topic": "0_userdata.0.Bewässerung.vis.Laufzeit",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 580,
             "wires": [
                 [
                     "cfbb3f17.ed621"
                 ]
             ]
         },
         {
             "id": "765d7d00.e345d4",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Himbeeren Startzeit",
             "topic": "0_userdata.0.Bewässerung.Himbeeren_Startzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 500,
             "wires": []
         },
         {
             "id": "c61adffd.1f67b8",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Himbeeren Startzeit m",
             "topic": "0_userdata.0.Bewässerung.Himbeeren_Startzeit_m",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1320,
             "y": 540,
             "wires": []
         },
         {
             "id": "cfbb3f17.ed621",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Himbeeren Laufzeit",
             "topic": "0_userdata.0.Bewässerung.Himbeeren_Laufzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 580,
             "wires": []
         },
         {
             "id": "dd39475.6a48eb8",
             "type": "debug",
             "z": "4524d790.7edb8",
             "name": "",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "false",
             "statusVal": "",
             "statusType": "auto",
             "x": 1050,
             "y": 620,
             "wires": []
         },
         {
             "id": "63af54e3.178164",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit h",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_h",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 660,
             "wires": [
                 [
                     "1b25caae.27731d"
                 ]
             ]
         },
         {
             "id": "9c3b0be0.5f03c",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit m",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_m",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1050,
             "y": 700,
             "wires": [
                 [
                     "ea0f0759.38f0e8"
                 ]
             ]
         },
         {
             "id": "a99e178f.55716",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Laufzeit",
             "topic": "0_userdata.0.Bewässerung.vis.Laufzeit",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 740,
             "wires": [
                 [
                     "3567546e.7a226c"
                 ]
             ]
         },
         {
             "id": "1b25caae.27731d",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Gemuese Startzeit",
             "topic": "0_userdata.0.Bewässerung.Gemuese_Startzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 660,
             "wires": []
         },
         {
             "id": "ea0f0759.38f0e8",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Gemuese Startzeit m",
             "topic": "0_userdata.0.Bewässerung.Gemuese_Startzeit_m",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1320,
             "y": 700,
             "wires": []
         },
         {
             "id": "3567546e.7a226c",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Gemuese Laufzeit",
             "topic": "0_userdata.0.Bewässerung.Gemuese_Laufzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 740,
             "wires": []
         },
         {
             "id": "f46dbee3.80c9b8",
             "type": "debug",
             "z": "4524d790.7edb8",
             "name": "",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "false",
             "statusVal": "",
             "statusType": "auto",
             "x": 1050,
             "y": 780,
             "wires": []
         },
         {
             "id": "1fa7d74b.223c81",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit h",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_h",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 820,
             "wires": [
                 [
                     "40c36cb7.9f548c"
                 ]
             ]
         },
         {
             "id": "488b900f.2e8fa8",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit m",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_m",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1050,
             "y": 860,
             "wires": [
                 [
                     "d7d41d45.826528"
                 ]
             ]
         },
         {
             "id": "925569ae.414b78",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Laufzeit",
             "topic": "0_userdata.0.Bewässerung.vis.Laufzeit",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 900,
             "wires": [
                 [
                     "b797b23.ae5c75"
                 ]
             ]
         },
         {
             "id": "40c36cb7.9f548c",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Feigenbaum Startzeit",
             "topic": "0_userdata.0.Bewässerung.Feigenbaum_Startzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1320,
             "y": 820,
             "wires": []
         },
         {
             "id": "d7d41d45.826528",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Feigenbaum Startzeit m",
             "topic": "0_userdata.0.Bewässerung.Feigenbaum_Startzeit_m",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1330,
             "y": 860,
             "wires": []
         },
         {
             "id": "b797b23.ae5c75",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Feigenbaum Laufzeit",
             "topic": "0_userdata.0.Bewässerung.Feigenbaum_Laufzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1320,
             "y": 900,
             "wires": []
         },
         {
             "id": "fbd3e57a.8cf3c8",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit h",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_h",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 980,
             "wires": [
                 [
                     "d80e42f7.54a0a8"
                 ]
             ]
         },
         {
             "id": "d3d4682e.04a438",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Startzeit m",
             "topic": "0_userdata.0.Bewässerung.vis.Startzeit_m",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1050,
             "y": 1020,
             "wires": [
                 [
                     "590624f7.4905bc"
                 ]
             ]
         },
         {
             "id": "9048443a.d290c8",
             "type": "ioBroker get",
             "z": "4524d790.7edb8",
             "name": "Laufzeit",
             "topic": "0_userdata.0.Bewässerung.vis.Laufzeit",
             "attrname": "payload",
             "payloadType": "value",
             "x": 1040,
             "y": 1060,
             "wires": [
                 [
                     "37ff6b5e.5100b4"
                 ]
             ]
         },
         {
             "id": "d80e42f7.54a0a8",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Tomaten Startzeit",
             "topic": "0_userdata.0.Bewässerung.Tomaten_Startzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 980,
             "wires": []
         },
         {
             "id": "590624f7.4905bc",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Tomaten Startzeit m",
             "topic": "0_userdata.0.Bewässerung.Tomaten_Startzeit_m",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1320,
             "y": 1020,
             "wires": []
         },
         {
             "id": "37ff6b5e.5100b4",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Tomaten Laufzeit",
             "topic": "0_userdata.0.Bewässerung.Tomaten_Laufzeit",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1310,
             "y": 1060,
             "wires": []
         },
         {
             "id": "e1c0ce04.dc943",
             "type": "delay",
             "z": "4524d790.7edb8",
             "name": "500ms",
             "pauseType": "delay",
             "timeout": "500",
             "timeoutUnits": "milliseconds",
             "rate": "1",
             "nbRateUnits": "1",
             "rateUnits": "second",
             "randomFirst": "1",
             "randomLast": "5",
             "randomUnits": "seconds",
             "drop": false,
             "x": 90,
             "y": 640,
             "wires": [
                 [
                     "9dc503de.f151c8"
                 ]
             ]
         },
         {
             "id": "431d5592.997bfc",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Speichern",
             "topic": "0_userdata.0.Bewässerung.vis.Trigger",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 530,
             "y": 640,
             "wires": []
         },
         {
             "id": "9dc503de.f151c8",
             "type": "change",
             "z": "4524d790.7edb8",
             "name": "",
             "rules": [
                 {
                     "t": "set",
                     "p": "payload",
                     "pt": "msg",
                     "to": "false",
                     "tot": "bool"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 330,
             "y": 640,
             "wires": [
                 [
                     "431d5592.997bfc"
                 ]
             ]
         },
         {
             "id": "82dfdd05.4d8e1",
             "type": "change",
             "z": "4524d790.7edb8",
             "name": "",
             "rules": [
                 {
                     "t": "set",
                     "p": "payload",
                     "pt": "msg",
                     "to": "days",
                     "tot": "flow"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 1070,
             "y": 1100,
             "wires": [
                 [
                     "5317be7b.ef4338",
                     "d22a9254.04dc08"
                 ]
             ]
         },
         {
             "id": "e7dc8e38.b0003",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Tomaten Tage",
             "topic": "0_userdata.0.Bewässerung.Tomaten_Tage",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1980,
             "y": 1100,
             "wires": []
         },
         {
             "id": "4760a6ff.969fe8",
             "type": "split",
             "z": "4524d790.7edb8",
             "name": "",
             "splt": "\\n",
             "spltType": "str",
             "arraySplt": 1,
             "arraySpltType": "len",
             "stream": false,
             "addname": "",
             "x": 1430,
             "y": 1100,
             "wires": [
                 [
                     "29b86736.dbc0f8"
                 ]
             ]
         },
         {
             "id": "cb07faa.5e09e08",
             "type": "join",
             "z": "4524d790.7edb8",
             "name": "",
             "mode": "custom",
             "build": "string",
             "property": "payload",
             "propertyType": "msg",
             "key": "topic",
             "joiner": ",",
             "joinerType": "str",
             "accumulate": false,
             "timeout": "",
             "count": "",
             "reduceRight": false,
             "reduceExp": "",
             "reduceInit": "",
             "reduceInitType": "",
             "reduceFixup": "",
             "x": 1790,
             "y": 1100,
             "wires": [
                 [
                     "e7dc8e38.b0003"
                 ]
             ]
         },
         {
             "id": "29b86736.dbc0f8",
             "type": "change",
             "z": "4524d790.7edb8",
             "name": "",
             "rules": [
                 {
                     "t": "change",
                     "p": "payload",
                     "pt": "msg",
                     "from": "true",
                     "fromt": "bool",
                     "to": "1",
                     "tot": "str"
                 },
                 {
                     "t": "change",
                     "p": "payload",
                     "pt": "msg",
                     "from": "false",
                     "fromt": "bool",
                     "to": "0",
                     "tot": "str"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 1610,
             "y": 1100,
             "wires": [
                 [
                     "cb07faa.5e09e08"
                 ]
             ]
         },
         {
             "id": "dd0d5311.5fd338",
             "type": "switch",
             "z": "4524d790.7edb8",
             "name": "",
             "property": "payload",
             "propertyType": "msg",
             "rules": [
                 {
                     "t": "eq",
                     "v": "true",
                     "vt": "str"
                 }
             ],
             "checkall": "true",
             "repair": false,
             "outputs": 1,
             "x": 230,
             "y": 540,
             "wires": [
                 [
                     "939eb60f.3fddd8"
                 ]
             ]
         },
         {
             "id": "59cd7ef3.1e074",
             "type": "change",
             "z": "4524d790.7edb8",
             "name": "",
             "rules": [
                 {
                     "t": "set",
                     "p": "payload",
                     "pt": "msg",
                     "to": "days",
                     "tot": "flow"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 1070,
             "y": 940,
             "wires": [
                 [
                     "db94aeb0.49345"
                 ]
             ]
         },
         {
             "id": "5317be7b.ef4338",
             "type": "change",
             "z": "4524d790.7edb8",
             "name": "",
             "rules": [
                 {
                     "t": "set",
                     "p": "topic",
                     "pt": "msg",
                     "to": "0_userdata.0.Bewässerung.Tomaten_Tage",
                     "tot": "str"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 1280,
             "y": 1100,
             "wires": [
                 [
                     "4760a6ff.969fe8",
                     "d22a9254.04dc08"
                 ]
             ]
         },
         {
             "id": "73707462.c1cf2c",
             "type": "ioBroker out",
             "z": "4524d790.7edb8",
             "name": "Feigenbaum Tage",
             "topic": "0_userdata.0.Bewässerung.Feigenbaum_Tage",
             "ack": "false",
             "autoCreate": "false",
             "stateName": "",
             "role": "",
             "payloadType": "",
             "readonly": "",
             "stateUnit": "",
             "stateMin": "",
             "stateMax": "",
             "x": 1830,
             "y": 940,
             "wires": []
         },
         {
             "id": "db94aeb0.49345",
             "type": "split",
             "z": "4524d790.7edb8",
             "name": "",
             "splt": "\\n",
             "spltType": "str",
             "arraySplt": 1,
             "arraySpltType": "len",
             "stream": false,
             "addname": "",
             "x": 1270,
             "y": 940,
             "wires": [
                 [
                     "32f703ab.b2f2fc"
                 ]
             ]
         },
         {
             "id": "763e93da.627a34",
             "type": "join",
             "z": "4524d790.7edb8",
             "name": "",
             "mode": "custom",
             "build": "string",
             "property": "payload",
             "propertyType": "msg",
             "key": "topic",
             "joiner": ",",
             "joinerType": "str",
             "accumulate": false,
             "timeout": "",
             "count": "",
             "reduceRight": false,
             "reduceExp": "",
             "reduceInit": "",
             "reduceInitType": "",
             "reduceFixup": "",
             "x": 1630,
             "y": 940,
             "wires": [
                 [
                     "73707462.c1cf2c"
                 ]
             ]
         },
         {
             "id": "32f703ab.b2f2fc",
             "type": "change",
             "z": "4524d790.7edb8",
             "name": "",
             "rules": [
                 {
                     "t": "change",
                     "p": "payload",
                     "pt": "msg",
                     "from": "true",
                     "fromt": "bool",
                     "to": "1",
                     "tot": "str"
                 },
                 {
                     "t": "change",
                     "p": "payload",
                     "pt": "msg",
                     "from": "false",
                     "fromt": "bool",
                     "to": "0",
                     "tot": "str"
                 }
             ],
             "action": "",
             "property": "",
             "from": "",
             "to": "",
             "reg": false,
             "x": 1450,
             "y": 940,
             "wires": [
                 [
                     "763e93da.627a34"
                 ]
             ]
         },
         {
             "id": "d22a9254.04dc08",
             "type": "debug",
             "z": "4524d790.7edb8",
             "name": "",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "false",
             "statusVal": "",
             "statusType": "auto",
             "x": 1500,
             "y": 1260,
             "wires": []
         },
         {
             "id": "3b3d0198.835f8e",
             "type": "debug",
             "z": "4524d790.7edb8",
             "name": "",
             "active": true,
             "tosidebar": true,
             "console": false,
             "tostatus": false,
             "complete": "false",
             "statusVal": "",
             "statusType": "auto",
             "x": 180,
             "y": 440,
             "wires": []
         }
      ]
      

      mickym 1 Reply Last reply Reply Quote 0
      • mickym
        mickym Most Active @hafo last edited by mickym

        @hafo Nun wie gesagt an dem TimerFlow haben wir ja nichts gemacht - den lass ich mal aussen vor. Du hast ja nun 2 Debug Nodes an Deinen Speichern Flow gehängt. Kommt da was raus und was?

        Du musst halt systematisch den Flow verfolgen.

        H 1 Reply Last reply Reply Quote 0
        • H
          hafo @mickym last edited by

          @mickym Nein, da kommt nur was raus wenn ich auf speichern drücke.

          mickym 1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @hafo last edited by

            @hafo Das soll es doch auch nur?

            Also dieser Flow wird doch nur durch diese Node getriggert.

            b4d1818b-e416-46bd-882d-ef4d93553658-image.png

            H 1 Reply Last reply Reply Quote 0
            • H
              hafo @mickym last edited by

              @mickym genau, ich habe nach einer endlosschleife gesucht.
              Aktuell funktioniert es wieder, die Objekte werden korrekt aktualisiert. Nun schaue ich das mit den Tagen nochmals an.

              H mickym 2 Replies Last reply Reply Quote 0
              • H
                hafo @hafo last edited by

                @hafo Schleife gefunden! wenn ich das Debug Node an das Join Node hänge, dann kommt nach dem Speichern unendlich viel mal "false" raus

                mickym 1 Reply Last reply Reply Quote 0
                • mickym
                  mickym Most Active @hafo last edited by

                  @hafo Na ok - das sind verschiedene paar Stiefel. Wenn aber in den Debug-Nodes was ankommt - wäre die nächste Frage ob die Strings in den entsprechenden Tomate_Tage etc geschrieben wird.

                  Ist dies der Fall, dann liegt es an Deinem Timer- Flow - aber das ist dann eine andere Baustelle - ich hab halt Deine Nodes nicht in meinem System installiert:

                  70c7bcbb-e14d-49b5-a469-84d449a7c11f-image.png

                  Deshalb kann ich hier die Logik nicht beurteilen.

                  Ich galube ich habe aber einen gravierenden Fehler entdeckt.

                  Ich galube nicht dass Dein ui_timer so einen String braucht. 😉

                  {"timers":[{"starttime":{{payload.tomstart}},"days":[{{payload.tomtag}}],"output":"0","endtime":{{payload.tomend}}}],"settings":{"disabledDevices":[]}}

                  Das ist ein JSON String - ich denke aber eher, dass der ui_time Scheduler eine Objekt benötigt.

                  H 2 Replies Last reply Reply Quote 0
                  • H
                    hafo @mickym last edited by hafo

                    @mickym Ich habe gesehen dass man auch mit den Change Nodes mit jsonata Rechnen kann. Ich werde vielleicht das einmal testen.
                    Der Timer funktioniert wenn ich ihn auf diese Art füttere. Die Änderungen im Vis sehe ich nach dem Speichern im Node Red Dashboard. Ausser die Tage...

                    1 Reply Last reply Reply Quote 0
                    • mickym
                      mickym Most Active @hafo last edited by

                      @hafo sagte in String aufteilen:

                      @hafo Schleife gefunden! wenn ich das Debug Node an das Join Node hänge, dann kommt nach dem Speichern unendlich viel mal "false" raus

                      Dann unterbrich mal die Verbindung zu der out-Node und schau ob die Endlosschleife weiter bestehen bliebt.

                      Ja mit den Change Nodes kannst auch Rechnen. Wie gesagt es gibt nur noch wenige Situationen, wo ich eine Function Node brauche.
                      Als nächstes wäre zu prüfen, was aus den Split Nodes rauskommt.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        hafo @mickym last edited by

                        @mickym Ich muss da etwas verbockt haben

                        [
                           {
                               "id": "82dfdd05.4d8e1",
                               "type": "change",
                               "z": "4524d790.7edb8",
                               "name": "",
                               "rules": [
                                   {
                                       "t": "set",
                                       "p": "payload",
                                       "pt": "msg",
                                       "to": "days",
                                       "tot": "flow"
                                   }
                               ],
                               "action": "",
                               "property": "",
                               "from": "",
                               "to": "",
                               "reg": false,
                               "x": 1070,
                               "y": 1100,
                               "wires": [
                                   [
                                       "5317be7b.ef4338"
                                   ]
                               ]
                           },
                           {
                               "id": "e7dc8e38.b0003",
                               "type": "ioBroker out",
                               "z": "4524d790.7edb8",
                               "name": "Tomaten Tage",
                               "topic": "0_userdata.0.Bewässerung.Tomaten_Tage",
                               "ack": "false",
                               "autoCreate": "false",
                               "stateName": "",
                               "role": "",
                               "payloadType": "",
                               "readonly": "",
                               "stateUnit": "",
                               "stateMin": "",
                               "stateMax": "",
                               "x": 1980,
                               "y": 1100,
                               "wires": []
                           },
                           {
                               "id": "4760a6ff.969fe8",
                               "type": "split",
                               "z": "4524d790.7edb8",
                               "name": "",
                               "splt": "\\n",
                               "spltType": "str",
                               "arraySplt": 1,
                               "arraySpltType": "len",
                               "stream": false,
                               "addname": "",
                               "x": 1430,
                               "y": 1100,
                               "wires": [
                                   [
                                       "29b86736.dbc0f8"
                                   ]
                               ]
                           },
                           {
                               "id": "cb07faa.5e09e08",
                               "type": "join",
                               "z": "4524d790.7edb8",
                               "name": "",
                               "mode": "custom",
                               "build": "string",
                               "property": "payload",
                               "propertyType": "msg",
                               "key": "topic",
                               "joiner": ",",
                               "joinerType": "str",
                               "accumulate": false,
                               "timeout": "",
                               "count": "",
                               "reduceRight": false,
                               "reduceExp": "",
                               "reduceInit": "",
                               "reduceInitType": "",
                               "reduceFixup": "",
                               "x": 1790,
                               "y": 1100,
                               "wires": [
                                   [
                                       "e7dc8e38.b0003",
                                       "d22a9254.04dc08"
                                   ]
                               ]
                           },
                           {
                               "id": "29b86736.dbc0f8",
                               "type": "change",
                               "z": "4524d790.7edb8",
                               "name": "",
                               "rules": [
                                   {
                                       "t": "change",
                                       "p": "payload",
                                       "pt": "msg",
                                       "from": "true",
                                       "fromt": "bool",
                                       "to": "1",
                                       "tot": "str"
                                   },
                                   {
                                       "t": "change",
                                       "p": "payload",
                                       "pt": "msg",
                                       "from": "false",
                                       "fromt": "bool",
                                       "to": "0",
                                       "tot": "str"
                                   }
                               ],
                               "action": "",
                               "property": "",
                               "from": "",
                               "to": "",
                               "reg": false,
                               "x": 1610,
                               "y": 1100,
                               "wires": [
                                   [
                                       "cb07faa.5e09e08"
                                   ]
                               ]
                           },
                           {
                               "id": "5317be7b.ef4338",
                               "type": "change",
                               "z": "4524d790.7edb8",
                               "name": "",
                               "rules": [
                                   {
                                       "t": "set",
                                       "p": "topic",
                                       "pt": "msg",
                                       "to": "0_userdata.0.Bewässerung.Tomaten_Tage",
                                       "tot": "str"
                                   }
                               ],
                               "action": "",
                               "property": "",
                               "from": "",
                               "to": "",
                               "reg": false,
                               "x": 1280,
                               "y": 1100,
                               "wires": [
                                   [
                                       "4760a6ff.969fe8"
                                   ]
                               ]
                           },
                           {
                               "id": "d22a9254.04dc08",
                               "type": "debug",
                               "z": "4524d790.7edb8",
                               "name": "",
                               "active": true,
                               "tosidebar": true,
                               "console": false,
                               "tostatus": false,
                               "complete": "false",
                               "statusVal": "",
                               "statusType": "auto",
                               "x": 1970,
                               "y": 1180,
                               "wires": []
                           }
                        ]
                        


                        1.jpg

                        Das Debug Nod läuft auch über wenn ich einen anderen Punkt speichere, da sollte dieser Strang doch gar nicht auslösen.

                        mickym 1 Reply Last reply Reply Quote 0
                        • H
                          hafo @mickym last edited by hafo

                          @mickym Ja, es läuft auch Rund ohne die out Node. Das hat keinen Einfluss.
                          Aus der Split Node kommt dasselbe raus "false"

                          mickym 1 Reply Last reply Reply Quote 0
                          • mickym
                            mickym Most Active @hafo last edited by

                            @hafo Unterbrich mal die Verbindung zur iobroker-Out Node und schau ob es dann aufhört. Wenn nicht dann triggert irgendwas anderes dauernd.

                            H 2 Replies Last reply Reply Quote 0
                            • H
                              hafo @mickym last edited by

                              @mickym Das habe ich schon gemacht, bringt keine Änderung

                              1 Reply Last reply Reply Quote 0
                              • mickym
                                mickym Most Active @hafo last edited by

                                @hafo sagte in String aufteilen:

                                @mickym Ja, es läuft auch Rund ohne die out Node. Das hat keinen Einfluss.
                                Aus der Split Node kommt dasselbe raus "false"

                                Dann stimmt was an Deinem Trigger nicht. Der ist mir eh nicht koscher mit dem false und true usw. Im Prinzip sollte das ja ein Button sein. Dann Eingangstrigger stoppen.

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hafo @mickym last edited by

                                  @mickym Es fängt immer erst nach dem Speichern an und hört erst auf wenn ich den Flow leicht ändere und neu übernehme.

                                  mickym 1 Reply Last reply Reply Quote 0
                                  • mickym
                                    mickym Most Active @hafo last edited by mickym

                                    @hafo Ja dann feuert was an Deinem Trigger. Mach mal nur 1 Inject Node dran und lös einmal manuell aus mit true und schau, ob dann auch nur 1 Nachricht erzeugt wird.

                                    d1e15c44-8365-42c9-a755-b0591d9a22f6-image.png

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      hafo @mickym last edited by

                                      @mickym Interessant, auf diese Art wird der Strang mit dem Change Nod gar nicht ausgelöst.

                                      mickym 1 Reply Last reply Reply Quote 0
                                      • mickym
                                        mickym Most Active @hafo last edited by

                                        @hafo sagte in String aufteilen:

                                        @mickym Interessant, auf diese Art wird der Strang mit dem Change Nod gar nicht ausgelöst.

                                        Du triggerst die Inject Node manuell und es kommt gar nichts????
                                        Dann hänge eine Debug Node an die get Node - da muss ja in jedem Fall was rauskommen?

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          hafo @mickym last edited by

                                          @mickym Die iobroker get Nodes werden ausgelesen, bei den anderen geht nichts
                                          1.jpg

                                          mickym 1 Reply Last reply Reply Quote 0
                                          • mickym
                                            mickym Most Active @hafo last edited by

                                            @hafo Unterbrich bitte mal die Verbindung von der Trigger Node - so dass nur die Inject Node triggert.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            504
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            141
                                            8098
                                            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