- Home
- Deutsch
- Skripten / Logik
- Node-Red
- String aufteilen
String aufteilen
-
@mickym Hier beim Vis füller funktioniert eigentlich alles wie gewünscht
[ { "id": "9e190b64.53d15", "type": "ioBroker in", "z": "99194dc0.5d65f", "name": "Vis Auswahl", "topic": "0_userdata.0.Bewässerung.vis.Auswahl", "payloadType": "value", "onlyack": "", "func": "rbe", "gap": "", "fireOnStart": "false", "x": 90, "y": 520, "wires": [ [ "1e3267dc.fdde18" ] ] }, { "id": "1e3267dc.fdde18", "type": "switch", "z": "99194dc0.5d65f", "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": 260, "y": 520, "wires": [ [ "d701193.8d08d68", "d61802a5.3c8ee8", "ed935774.7ff95", "6d7eebae.187484" ], [ "6069718b.b27198", "3064f4bf.b9cfd4", "db6d1d71.321db", "c50a6d57.163c98" ], [ "6a6c068a.66fae", "7c456758.fd2e28", "420e5dd6.a6a794", "fdab73fb.a29758" ], [ "b29ffe85.62b778", "a655384e.cc9f48", "85581d0d.dcdac8", "cb96de0f.567aa8" ], [ "9a7fe8d.96ed618", "8ecb2b31.69c9a", "57cab2ad.5238ec", "2bb7c24b.2e20ce" ], [ "21765429.9e148c", "96ac89c7.f640c", "fe4ba9f8.37b3e8", "a3da58b6.1c94d8" ], [ "32de8143.168756", "4e50060a.be7778", "1386479f.8c24d", "760b9f83.494e5" ] ] }, { "id": "32de8143.168756", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Tomaten", "topic": "0_userdata.0.Bewässerung.Tomaten_Tage", "attrname": "payload", "payloadType": "value", "x": 680, "y": 300, "wires": [ [ "b3bfd4c2.e5c2c8" ] ] }, { "id": "b3bfd4c2.e5c2c8", "type": "split", "z": "99194dc0.5d65f", "name": "", "splt": ",", "spltType": "str", "arraySplt": 1, "arraySpltType": "len", "stream": false, "addname": "", "x": 1030, "y": 180, "wires": [ [ "1b19502c.f6aba" ] ] }, { "id": "1b19502c.f6aba", "type": "change", "z": "99194dc0.5d65f", "name": "", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "0", "fromt": "str", "to": "false", "tot": "bool" }, { "t": "change", "p": "payload", "pt": "msg", "from": "1", "fromt": "str", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1210, "y": 180, "wires": [ [ "d6edd7f5.488038" ] ] }, { "id": "d6edd7f5.488038", "type": "switch", "z": "99194dc0.5d65f", "name": "", "property": "parts.index", "propertyType": "msg", "rules": [ { "t": "eq", "v": "0", "vt": "num" }, { "t": "eq", "v": "1", "vt": "num" }, { "t": "eq", "v": "2", "vt": "num" }, { "t": "eq", "v": "3", "vt": "num" }, { "t": "eq", "v": "4", "vt": "num" }, { "t": "eq", "v": "5", "vt": "num" }, { "t": "eq", "v": "6", "vt": "num" } ], "checkall": "true", "repair": false, "outputs": 7, "x": 1390, "y": 180, "wires": [ [ "a79df2d.709cb1" ], [ "b0e42158.9a50a" ], [ "2fda9826.954298" ], [ "13fd78fb.1e2217" ], [ "192afa2f.c005b6" ], [ "76e613ea.b8d75c" ], [ "4b4341e2.22c508" ] ] }, { "id": "6a6c068a.66fae", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Rasen", "topic": "0_userdata.0.Bewässerung.Rasen_Tage", "attrname": "payload", "payloadType": "value", "x": 670, "y": 140, "wires": [ [ "b3bfd4c2.e5c2c8" ] ] }, { "id": "6069718b.b27198", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Gewuertz", "topic": "0_userdata.0.Bewässerung.Gewuertz_Tage", "attrname": "payload", "payloadType": "value", "x": 680, "y": 100, "wires": [ [ "b3bfd4c2.e5c2c8" ] ] }, { "id": "b29ffe85.62b778", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Himbeeren", "topic": "0_userdata.0.Bewässerung.Himbeeren_Tage", "attrname": "payload", "payloadType": "value", "x": 690, "y": 180, "wires": [ [ "b3bfd4c2.e5c2c8" ] ] }, { "id": "d701193.8d08d68", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Chili", "topic": "0_userdata.0.Bewässerung.Chili_Tage", "attrname": "payload", "payloadType": "value", "x": 670, "y": 60, "wires": [ [ "b3bfd4c2.e5c2c8" ] ] }, { "id": "21765429.9e148c", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Feigenbaum", "topic": "0_userdata.0.Bewässerung.Feigenbaum_Tage", "attrname": "payload", "payloadType": "value", "x": 690, "y": 260, "wires": [ [ "b3bfd4c2.e5c2c8" ] ] }, { "id": "9a7fe8d.96ed618", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Gemuese", "topic": "0_userdata.0.Bewässerung.Gemuese_Tage", "attrname": "payload", "payloadType": "value", "x": 680, "y": 220, "wires": [ [ "b3bfd4c2.e5c2c8" ] ] }, { "id": "a79df2d.709cb1", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "Mo", "topic": "0_userdata.0.Bewässerung.vis.tage.1Mo", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1590, "y": 60, "wires": [] }, { "id": "b0e42158.9a50a", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "Di", "topic": "0_userdata.0.Bewässerung.vis.tage.2Di", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1590, "y": 100, "wires": [] }, { "id": "2fda9826.954298", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "Mi", "topic": "0_userdata.0.Bewässerung.vis.tage.3Mi", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1590, "y": 140, "wires": [] }, { "id": "13fd78fb.1e2217", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "Do", "topic": "0_userdata.0.Bewässerung.vis.tage.4Do", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1590, "y": 180, "wires": [] }, { "id": "192afa2f.c005b6", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "Fr", "topic": "0_userdata.0.Bewässerung.vis.tage.5Fr", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1590, "y": 220, "wires": [] }, { "id": "76e613ea.b8d75c", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "Sa", "topic": "0_userdata.0.Bewässerung.vis.tage.6Sa", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1590, "y": 260, "wires": [] }, { "id": "4b4341e2.22c508", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "So", "topic": "0_userdata.0.Bewässerung.vis.tage.7So", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1590, "y": 300, "wires": [] }, { "id": "4e50060a.be7778", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Tomaten", "topic": "0_userdata.0.Bewässerung.Tomaten_Laufzeit", "attrname": "payload", "payloadType": "value", "x": 680, "y": 640, "wires": [ [ "b3311a52.9de078" ] ] }, { "id": "7c456758.fd2e28", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Rasen", "topic": "0_userdata.0.Bewässerung.Rasen_Laufzeit", "attrname": "payload", "payloadType": "value", "x": 670, "y": 480, "wires": [ [ "b3311a52.9de078" ] ] }, { "id": "3064f4bf.b9cfd4", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Gewuertz", "topic": "0_userdata.0.Bewässerung.Gewuertz_Laufzeit", "attrname": "payload", "payloadType": "value", "x": 680, "y": 440, "wires": [ [ "b3311a52.9de078" ] ] }, { "id": "a655384e.cc9f48", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Himbeeren", "topic": "0_userdata.0.Bewässerung.Himbeeren_Laufzeit", "attrname": "payload", "payloadType": "value", "x": 690, "y": 520, "wires": [ [ "b3311a52.9de078" ] ] }, { "id": "d61802a5.3c8ee8", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Chili", "topic": "0_userdata.0.Bewässerung.Chili_Laufzeit", "attrname": "payload", "payloadType": "value", "x": 670, "y": 400, "wires": [ [ "b3311a52.9de078" ] ] }, { "id": "96ac89c7.f640c", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Feigenbaum", "topic": "0_userdata.0.Bewässerung.Feigenbaum_Laufzeit", "attrname": "payload", "payloadType": "value", "x": 690, "y": 600, "wires": [ [ "b3311a52.9de078" ] ] }, { "id": "8ecb2b31.69c9a", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Gemuese", "topic": "0_userdata.0.Bewässerung.Gemuese_Laufzeit", "attrname": "payload", "payloadType": "value", "x": 680, "y": 560, "wires": [ [ "b3311a52.9de078" ] ] }, { "id": "1386479f.8c24d", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Tomaten", "topic": "0_userdata.0.Bewässerung.Tomaten_Startzeit", "attrname": "payload", "payloadType": "value", "x": 680, "y": 960, "wires": [ [ "88eb3cc4.1f7df8" ] ] }, { "id": "420e5dd6.a6a794", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Rasen", "topic": "0_userdata.0.Bewässerung.Rasen_Startzeit", "attrname": "payload", "payloadType": "value", "x": 670, "y": 800, "wires": [ [ "88eb3cc4.1f7df8" ] ] }, { "id": "db6d1d71.321db", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Gewuertz", "topic": "0_userdata.0.Bewässerung.Gewuertz_Startzeit", "attrname": "payload", "payloadType": "value", "x": 680, "y": 760, "wires": [ [ "88eb3cc4.1f7df8" ] ] }, { "id": "85581d0d.dcdac8", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Himbeeren", "topic": "0_userdata.0.Bewässerung.Himbeeren_Startzeit", "attrname": "payload", "payloadType": "value", "x": 690, "y": 840, "wires": [ [ "88eb3cc4.1f7df8" ] ] }, { "id": "ed935774.7ff95", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Chili", "topic": "0_userdata.0.Bewässerung.Chili_Startzeit", "attrname": "payload", "payloadType": "value", "x": 670, "y": 720, "wires": [ [ "88eb3cc4.1f7df8" ] ] }, { "id": "fe4ba9f8.37b3e8", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Feigenbaum", "topic": "0_userdata.0.Bewässerung.Feigenbaum_Startzeit", "attrname": "payload", "payloadType": "value", "x": 690, "y": 920, "wires": [ [ "88eb3cc4.1f7df8" ] ] }, { "id": "57cab2ad.5238ec", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Gemuese", "topic": "0_userdata.0.Bewässerung.Gemuese_Startzeit", "attrname": "payload", "payloadType": "value", "x": 680, "y": 880, "wires": [ [ "88eb3cc4.1f7df8" ] ] }, { "id": "b3311a52.9de078", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "vis Laufzeit", "topic": "0_userdata.0.Bewässerung.vis.Laufzeit", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1210, "y": 620, "wires": [] }, { "id": "88eb3cc4.1f7df8", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "Startzeit h", "topic": "0_userdata.0.Bewässerung.vis.Startzeit_h", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1040, "y": 840, "wires": [] }, { "id": "760b9f83.494e5", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Tomaten", "topic": "0_userdata.0.Bewässerung.Tomaten_Startzeit_m", "attrname": "payload", "payloadType": "value", "x": 680, "y": 1300, "wires": [ [ "e50834b8.eed6d" ] ] }, { "id": "fdab73fb.a29758", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Rasen", "topic": "0_userdata.0.Bewässerung.Rasen_Startzeit_m", "attrname": "payload", "payloadType": "value", "x": 670, "y": 1140, "wires": [ [ "e50834b8.eed6d" ] ] }, { "id": "c50a6d57.163c98", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Gewuertz", "topic": "0_userdata.0.Bewässerung.Gewuertz_Startzeit_m", "attrname": "payload", "payloadType": "value", "x": 680, "y": 1100, "wires": [ [ "e50834b8.eed6d" ] ] }, { "id": "cb96de0f.567aa8", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Himbeeren", "topic": "0_userdata.0.Bewässerung.Himbeeren_Startzeit_m", "attrname": "payload", "payloadType": "value", "x": 690, "y": 1180, "wires": [ [ "e50834b8.eed6d" ] ] }, { "id": "6d7eebae.187484", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Chili", "topic": "0_userdata.0.Bewässerung.Chili_Startzeit_m", "attrname": "payload", "payloadType": "value", "x": 670, "y": 1060, "wires": [ [ "e50834b8.eed6d" ] ] }, { "id": "a3da58b6.1c94d8", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Feigenbaum", "topic": "0_userdata.0.Bewässerung.Feigenbaum_Startzeit_m", "attrname": "payload", "payloadType": "value", "x": 690, "y": 1260, "wires": [ [ "e50834b8.eed6d" ] ] }, { "id": "2bb7c24b.2e20ce", "type": "ioBroker get", "z": "99194dc0.5d65f", "name": "Gemuese", "topic": "0_userdata.0.Bewässerung.Gemuese_Startzeit_m", "attrname": "payload", "payloadType": "value", "x": 680, "y": 1220, "wires": [ [ "e50834b8.eed6d" ] ] }, { "id": "e50834b8.eed6d", "type": "ioBroker out", "z": "99194dc0.5d65f", "name": "Startzeit m", "topic": "0_userdata.0.Bewässerung.vis.Startzeit_m", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1040, "y": 1200, "wires": [] }, { "id": "e873a002.44c598", "type": "ioBroker in", "z": "99194dc0.5d65f", "name": "", "topic": "0_userdata.0.Bewässerung.vis.tage.*", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "x": 1190, "y": 440, "wires": [ [ "263f94d9.d8b034" ] ] }, { "id": "263f94d9.d8b034", "type": "change", "z": "99194dc0.5d65f", "name": "", "rules": [ { "t": "change", "p": "topic", "pt": "msg", "from": ".*\\/(.*)$", "fromt": "re", "to": "$1", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1470, "y": 440, "wires": [ [ "3ba68664.834632" ] ] }, { "id": "3ba68664.834632", "type": "function", "z": "99194dc0.5d65f", "name": "setze Flow variable", "func": "fTopic='days.' + msg.topic;\nflow.set(fTopic,msg.payload);\nreturn null;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 1690, "y": 440, "wires": [ [] ] } ]
-
@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": [] } ]
-
@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.
-
@mickym Nein, da kommt nur was raus wenn ich auf speichern drücke.
-
-
@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. -
@hafo Schleife gefunden! wenn ich das Debug Node an das Join Node hänge, dann kommt nach dem Speichern unendlich viel mal "false" raus
-
@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:
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.
-
@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... -
@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. -
@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": [] } ]
Das Debug Nod läuft auch über wenn ich einen anderen Punkt speichere, da sollte dieser Strang doch gar nicht auslösen.
-
@mickym Ja, es läuft auch Rund ohne die out Node. Das hat keinen Einfluss.
Aus der Split Node kommt dasselbe raus "false" -
@hafo Unterbrich mal die Verbindung zur iobroker-Out Node und schau ob es dann aufhört. Wenn nicht dann triggert irgendwas anderes dauernd.
-
@mickym Das habe ich schon gemacht, bringt keine Änderung
-
@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.
-
@mickym Es fängt immer erst nach dem Speichern an und hört erst auf wenn ich den Flow leicht ändere und neu übernehme.
-
@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.
-
@mickym Interessant, auf diese Art wird der Strang mit dem Change Nod gar nicht ausgelöst.
-
@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? -
@mickym Die iobroker get Nodes werden ausgelesen, bei den anderen geht nichts