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. Nach Ablauf kein false mehr

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Nach Ablauf kein false mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @mickym last edited by

      @mickym Ich habe es jetzt so gelöst hoffe ich zumindest...

      823c066f-d852-44e2-8ebf-f85ed8297761-image.png

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

        @noah3112 Ja schaut doch gut aus. Weiß zwar nicht was Du in der Change Node, neben der Flow Variablen setzen noch machst - aber egal - ich denke Du weißt schon warum und was Du tust.

        ? 2 Replies Last reply Reply Quote 0
        • ?
          A Former User @mickym last edited by

          @mickym 9a405189-2339-482b-a621-06c2a938184c-image.png

          Sonst hätte es nicht funktioniert!?

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @mickym last edited by

            @mickym Oder sehe ich das falsch?

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

              @noah3112 Nee Du brauchst keine weitere Flow variable.

              In der get Variable setzt Du nur eine andere Eigenschaft des msg.Objektes - ich habs mal stateLight genannt.

              a2af6cdd-1e14-4383-9a9b-a47bb3e34d63-image.png

              Hier mal die Nodes zum Import

              [
                 {
                     "id": "8f628a9b.c58fb8",
                     "type": "inject",
                     "z": "54b226bc.0793e8",
                     "name": "false vom BWM",
                     "props": [
                         {
                             "p": "payload"
                         }
                     ],
                     "repeat": "",
                     "crontab": "",
                     "once": false,
                     "onceDelay": 0.1,
                     "topic": "",
                     "payload": "false",
                     "payloadType": "bool",
                     "x": 960,
                     "y": 1920,
                     "wires": [
                         [
                             "4c52ff32.f3816"
                         ]
                     ]
                 },
                 {
                     "id": "4c52ff32.f3816",
                     "type": "ioBroker get",
                     "z": "54b226bc.0793e8",
                     "name": "",
                     "topic": "0_userdata.0.Lichtschalter",
                     "attrname": "stateLight",
                     "payloadType": "value",
                     "x": 1230,
                     "y": 1920,
                     "wires": [
                         [
                             "5e4ddc8.7c75024"
                         ]
                     ]
                 },
                 {
                     "id": "5e4ddc8.7c75024",
                     "type": "switch",
                     "z": "54b226bc.0793e8",
                     "name": "Licht an?",
                     "property": "stateLight",
                     "propertyType": "msg",
                     "rules": [
                         {
                             "t": "true"
                         }
                     ],
                     "checkall": "true",
                     "repair": false,
                     "outputs": 1,
                     "x": 1470,
                     "y": 1920,
                     "wires": [
                         [
                             "a37770ad.98382",
                             "e94643a.ea46ac"
                         ]
                     ]
                 },
                 {
                     "id": "a37770ad.98382",
                     "type": "change",
                     "z": "54b226bc.0793e8",
                     "name": "Dunkel",
                     "rules": [
                         {
                             "t": "set",
                             "p": "Dunkel",
                             "pt": "flow",
                             "to": "true",
                             "tot": "bool"
                         }
                     ],
                     "action": "",
                     "property": "",
                     "from": "",
                     "to": "",
                     "reg": false,
                     "x": 1680,
                     "y": 1920,
                     "wires": [
                         []
                     ]
                 },
                 {
                     "id": "e94643a.ea46ac",
                     "type": "ioBroker out",
                     "z": "54b226bc.0793e8",
                     "name": "",
                     "topic": "0_userdata.0.Lichtschalter",
                     "ack": "false",
                     "autoCreate": "false",
                     "stateName": "",
                     "role": "",
                     "payloadType": "",
                     "readonly": "",
                     "stateUnit": "",
                     "stateMin": "",
                     "stateMax": "",
                     "x": 1740,
                     "y": 1860,
                     "wires": []
                 }
              ]
              

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @mickym last edited by

                @mickym Okay jetzt habe ich verstanden wie du das meinst. Aber dennoch die Frage, nur zum Verständnis, ob meine Variante richtig sein könnte? In der zweiten Regel setze ich ja meine vorhandene Variable also keine Neue wie du angenommen hast.

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

                  @noah3112 Nun - das weiß ich nicht. Ich weiß nicht wo Deine Flow Variable LichtAktiv setzt und wie Dein switch aussieht.

                  Um das zu beurteilen müsstest Du Deinen Flow mal exportieren. Wenn die Variable die gleich ist, wie bei Deinem Hell / Dunkel ist es ja OK. Wie gesagt ich kann das alles nicht beurteilen ohne den Flow wirklich zu sehen.

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @mickym last edited by

                    @mickym

                    [
                       {
                           "id": "62a5d243.81232c",
                           "type": "trigger",
                           "z": "27d94c07.8b5f54",
                           "name": "20s keine Bewegung",
                           "op1": "",
                           "op2": "false",
                           "op1type": "nul",
                           "op2type": "bool",
                           "duration": "20",
                           "extend": false,
                           "overrideDelay": false,
                           "units": "s",
                           "reset": "true",
                           "bytopic": "all",
                           "topic": "topic",
                           "outputs": 1,
                           "x": 360,
                           "y": 1080,
                           "wires": [
                               [
                                   "b66edc60.2a03b"
                               ]
                           ]
                       },
                       {
                           "id": "22a64747.6b6e88",
                           "type": "ioBroker out",
                           "z": "27d94c07.8b5f54",
                           "name": "Deckenlampe FLur EG",
                           "topic": "zigbee.0.00124b001d401508.state",
                           "ack": "false",
                           "autoCreate": "false",
                           "stateName": "",
                           "role": "",
                           "payloadType": "",
                           "readonly": "",
                           "stateUnit": "",
                           "stateMin": "",
                           "stateMax": "",
                           "x": 980,
                           "y": 1000,
                           "wires": []
                       },
                       {
                           "id": "6661d04d.5e68b",
                           "type": "ioBroker in",
                           "z": "27d94c07.8b5f54",
                           "name": "Flur EG Tür",
                           "topic": "zigbee.0.00158d0001eb5e9f.occupancy",
                           "payloadType": "value",
                           "onlyack": "",
                           "func": "all",
                           "gap": "",
                           "fireOnStart": "true",
                           "x": 110,
                           "y": 1020,
                           "wires": [
                               [
                                   "aa75592f.840ac8"
                               ]
                           ]
                       },
                       {
                           "id": "6c4f3c51.a4c304",
                           "type": "ioBroker in",
                           "z": "27d94c07.8b5f54",
                           "name": "Flur EG Garderobe",
                           "topic": "zigbee.0.00158d0006ec2d6e.occupancy",
                           "payloadType": "value",
                           "onlyack": "",
                           "func": "all",
                           "gap": "",
                           "fireOnStart": "true",
                           "x": 90,
                           "y": 1080,
                           "wires": [
                               [
                                   "aa75592f.840ac8"
                               ]
                           ]
                       },
                       {
                           "id": "41d4e698.b24a18",
                           "type": "ioBroker in",
                           "z": "27d94c07.8b5f54",
                           "name": "Haustür",
                           "topic": "zigbee.0.00158d00022b3b92.opened",
                           "payloadType": "value",
                           "onlyack": "",
                           "func": "all",
                           "gap": "",
                           "fireOnStart": "true",
                           "x": 130,
                           "y": 960,
                           "wires": [
                               [
                                   "aa75592f.840ac8"
                               ]
                           ]
                       },
                       {
                           "id": "c14c2433.1b3bc8",
                           "type": "ioBroker get",
                           "z": "27d94c07.8b5f54",
                           "name": "Jemand Zuhause",
                           "topic": "0_userdata.0.Anwesenheit.Jemand_Zuhause",
                           "attrname": "payload",
                           "payloadType": "value",
                           "x": 730,
                           "y": 1000,
                           "wires": [
                               [
                                   "22a64747.6b6e88"
                               ]
                           ]
                       },
                       {
                           "id": "aa75592f.840ac8",
                           "type": "switch",
                           "z": "27d94c07.8b5f54",
                           "name": "Bewegung erkannt",
                           "property": "payload",
                           "propertyType": "msg",
                           "rules": [
                               {
                                   "t": "true"
                               },
                               {
                                   "t": "false"
                               }
                           ],
                           "checkall": "true",
                           "repair": false,
                           "outputs": 2,
                           "x": 330,
                           "y": 1020,
                           "wires": [
                               [
                                   "62a5d243.81232c",
                                   "23a181c0.0bb0ae"
                               ],
                               [
                                   "62a5d243.81232c"
                               ]
                           ]
                       },
                       {
                           "id": "a7a7bff4.79da",
                           "type": "comment",
                           "z": "27d94c07.8b5f54",
                           "name": "Hausflur EG",
                           "info": "",
                           "x": 110,
                           "y": 900,
                           "wires": []
                       },
                       {
                           "id": "e8d1ac8f.75f74",
                           "type": "switch",
                           "z": "27d94c07.8b5f54",
                           "name": "Hell/Dunkel",
                           "property": "payload",
                           "propertyType": "msg",
                           "rules": [
                               {
                                   "t": "lt",
                                   "v": "5",
                                   "vt": "num"
                               },
                               {
                                   "t": "gte",
                                   "v": "5",
                                   "vt": "num"
                               }
                           ],
                           "checkall": "true",
                           "repair": false,
                           "outputs": 2,
                           "x": 650,
                           "y": 940,
                           "wires": [
                               [
                                   "13847a72.f76e26"
                               ],
                               [
                                   "ea6edec.d7e682"
                               ]
                           ]
                       },
                       {
                           "id": "13847a72.f76e26",
                           "type": "change",
                           "z": "27d94c07.8b5f54",
                           "name": "Dunkel",
                           "rules": [
                               {
                                   "t": "set",
                                   "p": "licht_aktiv",
                                   "pt": "flow",
                                   "to": "Yes",
                                   "tot": "str"
                               }
                           ],
                           "action": "",
                           "property": "",
                           "from": "",
                           "to": "",
                           "reg": false,
                           "x": 820,
                           "y": 920,
                           "wires": [
                               []
                           ]
                       },
                       {
                           "id": "ea6edec.d7e682",
                           "type": "change",
                           "z": "27d94c07.8b5f54",
                           "name": "Hell",
                           "rules": [
                               {
                                   "t": "set",
                                   "p": "licht_aktiv",
                                   "pt": "flow",
                                   "to": "No",
                                   "tot": "str"
                               }
                           ],
                           "action": "",
                           "property": "",
                           "from": "",
                           "to": "",
                           "reg": false,
                           "x": 810,
                           "y": 960,
                           "wires": [
                               []
                           ]
                       },
                       {
                           "id": "d113f998.91ad28",
                           "type": "ioBroker in",
                           "z": "27d94c07.8b5f54",
                           "name": "LUX Flur EG",
                           "topic": "zigbee.0.54ef441000019086.illuminance",
                           "payloadType": "value",
                           "onlyack": "",
                           "func": "all",
                           "gap": "",
                           "fireOnStart": "true",
                           "x": 350,
                           "y": 940,
                           "wires": [
                               [
                                   "e8d1ac8f.75f74"
                               ]
                           ]
                       },
                       {
                           "id": "23a181c0.0bb0ae",
                           "type": "switch",
                           "z": "27d94c07.8b5f54",
                           "name": "Dunkel",
                           "property": "licht_aktiv",
                           "propertyType": "flow",
                           "rules": [
                               {
                                   "t": "eq",
                                   "v": "Yes",
                                   "vt": "str"
                               }
                           ],
                           "checkall": "true",
                           "repair": false,
                           "outputs": 1,
                           "x": 540,
                           "y": 1000,
                           "wires": [
                               [
                                   "c14c2433.1b3bc8"
                               ]
                           ]
                       },
                       {
                           "id": "b66edc60.2a03b",
                           "type": "ioBroker get",
                           "z": "27d94c07.8b5f54",
                           "name": "Status Deckenlampe",
                           "topic": "zigbee.0.00124b001d401508.state",
                           "attrname": "payload",
                           "payloadType": "value",
                           "x": 580,
                           "y": 1080,
                           "wires": [
                               [
                                   "7af4f7ab.83a468"
                               ]
                           ]
                       },
                       {
                           "id": "7af4f7ab.83a468",
                           "type": "switch",
                           "z": "27d94c07.8b5f54",
                           "name": "Licht an?",
                           "property": "payload",
                           "propertyType": "msg",
                           "rules": [
                               {
                                   "t": "true"
                               }
                           ],
                           "checkall": "true",
                           "repair": false,
                           "outputs": 1,
                           "x": 760,
                           "y": 1080,
                           "wires": [
                               [
                                   "b53e6abc.99afd8"
                               ]
                           ]
                       },
                       {
                           "id": "b53e6abc.99afd8",
                           "type": "change",
                           "z": "27d94c07.8b5f54",
                           "name": "",
                           "rules": [
                               {
                                   "t": "set",
                                   "p": "payload",
                                   "pt": "msg",
                                   "to": "false",
                                   "tot": "bool"
                               },
                               {
                                   "t": "set",
                                   "p": "licht_aktiv",
                                   "pt": "flow",
                                   "to": "Yes",
                                   "tot": "str"
                               }
                           ],
                           "action": "",
                           "property": "",
                           "from": "",
                           "to": "",
                           "reg": false,
                           "x": 930,
                           "y": 1080,
                           "wires": [
                               [
                                   "22a64747.6b6e88"
                               ]
                           ]
                       }
                    ]
                    
                    mickym 1 Reply Last reply Reply Quote 0
                    • mickym
                      mickym Most Active @Guest last edited by

                      @noah3112 Ja passt so und kann man so machen und passt. Ich würde nur grundsätzlich für solche Abfragen lieber Booleans nehmen, als Strings. Ist nichts falsches - aber hat später ggf. Vorteile mit Booleans zu arbeiten.

                      ? 2 Replies Last reply Reply Quote 0
                      • ?
                        A Former User @mickym last edited by

                        @mickym sagte in Nach Ablauf kein false mehr:

                        Ja passt so und kann man so machen und passt. Ich würde nur grundsätzlich für solche Abfragen lieber Booleans nehmen, als Strings. Ist nichts falsches - aber hat später ggf. Vorteile mit Booleans zu arbeiten.

                        Du meinst jetzt speziell die Flow-Variable!? Okay das war so ein Beispiel aus dem Netz wie so oft wenn man sich an Node Red versucht und nicht weiter kommt 😉

                        mickym 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @mickym last edited by

                          @mickym Aber auch da könnte ich jetzt alles auf Booleans ändern und mein Beispiel würde immer noch funktionieren?

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

                            @noah3112 Genau statt YES und NO - lieber true und false also statt

                            118126d3-d770-49d7-bd66-aa1e11a62545-image.png

                            lieber

                            31d2371e-7367-43ae-af52-0ae532aae938-image.png

                            und dann halt im switch statt

                            18210d11-9f0a-4d6d-b799-0ceaa1d3ceee-image.png

                            lieber

                            006bde40-88ac-4187-9e37-6fab71edd976-image.png

                            Wie gesagt, dass ist alles kein Fehler - aber hilft ggf. später - falls Du doch mal Function Nodes oder Logiken brauchst besser handhabbar.

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @mickym last edited by

                              @mickym Komisch jetzt funktioniert der Flow aber nicht mehr...

                              [
                                  {
                                      "id": "62a5d243.81232c",
                                      "type": "trigger",
                                      "z": "27d94c07.8b5f54",
                                      "name": "20s keine Bewegung",
                                      "op1": "",
                                      "op2": "false",
                                      "op1type": "nul",
                                      "op2type": "bool",
                                      "duration": "20",
                                      "extend": false,
                                      "overrideDelay": false,
                                      "units": "s",
                                      "reset": "true",
                                      "bytopic": "all",
                                      "topic": "topic",
                                      "outputs": 1,
                                      "x": 360,
                                      "y": 1080,
                                      "wires": [
                                          [
                                              "b66edc60.2a03b"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "22a64747.6b6e88",
                                      "type": "ioBroker out",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Deckenlampe FLur EG",
                                      "topic": "zigbee.0.00124b001d401508.state",
                                      "ack": "false",
                                      "autoCreate": "false",
                                      "stateName": "",
                                      "role": "",
                                      "payloadType": "",
                                      "readonly": "",
                                      "stateUnit": "",
                                      "stateMin": "",
                                      "stateMax": "",
                                      "x": 980,
                                      "y": 1000,
                                      "wires": []
                                  },
                                  {
                                      "id": "6661d04d.5e68b",
                                      "type": "ioBroker in",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Flur EG Tür",
                                      "topic": "zigbee.0.00158d0001eb5e9f.occupancy",
                                      "payloadType": "value",
                                      "onlyack": "",
                                      "func": "all",
                                      "gap": "",
                                      "fireOnStart": "true",
                                      "x": 110,
                                      "y": 1020,
                                      "wires": [
                                          [
                                              "aa75592f.840ac8"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "6c4f3c51.a4c304",
                                      "type": "ioBroker in",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Flur EG Garderobe",
                                      "topic": "zigbee.0.00158d0006ec2d6e.occupancy",
                                      "payloadType": "value",
                                      "onlyack": "",
                                      "func": "all",
                                      "gap": "",
                                      "fireOnStart": "true",
                                      "x": 90,
                                      "y": 1080,
                                      "wires": [
                                          [
                                              "aa75592f.840ac8"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "41d4e698.b24a18",
                                      "type": "ioBroker in",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Haustür",
                                      "topic": "zigbee.0.00158d00022b3b92.opened",
                                      "payloadType": "value",
                                      "onlyack": "",
                                      "func": "all",
                                      "gap": "",
                                      "fireOnStart": "true",
                                      "x": 130,
                                      "y": 960,
                                      "wires": [
                                          [
                                              "aa75592f.840ac8"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "c14c2433.1b3bc8",
                                      "type": "ioBroker get",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Jemand Zuhause",
                                      "topic": "0_userdata.0.Anwesenheit.Jemand_Zuhause",
                                      "attrname": "payload",
                                      "payloadType": "value",
                                      "x": 730,
                                      "y": 1000,
                                      "wires": [
                                          [
                                              "22a64747.6b6e88"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "aa75592f.840ac8",
                                      "type": "switch",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Bewegung erkannt",
                                      "property": "payload",
                                      "propertyType": "msg",
                                      "rules": [
                                          {
                                              "t": "true"
                                          },
                                          {
                                              "t": "false"
                                          }
                                      ],
                                      "checkall": "true",
                                      "repair": false,
                                      "outputs": 2,
                                      "x": 330,
                                      "y": 1020,
                                      "wires": [
                                          [
                                              "62a5d243.81232c",
                                              "23a181c0.0bb0ae"
                                          ],
                                          [
                                              "62a5d243.81232c"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "a7a7bff4.79da",
                                      "type": "comment",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Hausflur EG",
                                      "info": "",
                                      "x": 110,
                                      "y": 900,
                                      "wires": []
                                  },
                                  {
                                      "id": "e8d1ac8f.75f74",
                                      "type": "switch",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Hell/Dunkel",
                                      "property": "payload",
                                      "propertyType": "msg",
                                      "rules": [
                                          {
                                              "t": "lt",
                                              "v": "5",
                                              "vt": "num"
                                          },
                                          {
                                              "t": "gte",
                                              "v": "5",
                                              "vt": "num"
                                          }
                                      ],
                                      "checkall": "true",
                                      "repair": false,
                                      "outputs": 2,
                                      "x": 650,
                                      "y": 940,
                                      "wires": [
                                          [
                                              "13847a72.f76e26"
                                          ],
                                          [
                                              "ea6edec.d7e682"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "13847a72.f76e26",
                                      "type": "change",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Dunkel",
                                      "rules": [
                                          {
                                              "t": "set",
                                              "p": "licht_aktiv",
                                              "pt": "flow",
                                              "to": "true",
                                              "tot": "bool"
                                          }
                                      ],
                                      "action": "",
                                      "property": "",
                                      "from": "",
                                      "to": "",
                                      "reg": false,
                                      "x": 820,
                                      "y": 920,
                                      "wires": [
                                          []
                                      ]
                                  },
                                  {
                                      "id": "ea6edec.d7e682",
                                      "type": "change",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Hell",
                                      "rules": [
                                          {
                                              "t": "set",
                                              "p": "licht_aktiv",
                                              "pt": "flow",
                                              "to": "false",
                                              "tot": "bool"
                                          }
                                      ],
                                      "action": "",
                                      "property": "",
                                      "from": "",
                                      "to": "",
                                      "reg": false,
                                      "x": 810,
                                      "y": 960,
                                      "wires": [
                                          []
                                      ]
                                  },
                                  {
                                      "id": "d113f998.91ad28",
                                      "type": "ioBroker in",
                                      "z": "27d94c07.8b5f54",
                                      "name": "LUX Flur EG",
                                      "topic": "zigbee.0.54ef441000019086.illuminance",
                                      "payloadType": "value",
                                      "onlyack": "",
                                      "func": "all",
                                      "gap": "",
                                      "fireOnStart": "true",
                                      "x": 350,
                                      "y": 940,
                                      "wires": [
                                          [
                                              "e8d1ac8f.75f74"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "23a181c0.0bb0ae",
                                      "type": "switch",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Dunkel",
                                      "property": "licht_aktiv",
                                      "propertyType": "flow",
                                      "rules": [
                                          {
                                              "t": "true"
                                          }
                                      ],
                                      "checkall": "true",
                                      "repair": false,
                                      "outputs": 1,
                                      "x": 540,
                                      "y": 1000,
                                      "wires": [
                                          [
                                              "c14c2433.1b3bc8"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "b66edc60.2a03b",
                                      "type": "ioBroker get",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Status Deckenlampe",
                                      "topic": "zigbee.0.00124b001d401508.state",
                                      "attrname": "payload",
                                      "payloadType": "value",
                                      "x": 580,
                                      "y": 1080,
                                      "wires": [
                                          [
                                              "7af4f7ab.83a468"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "7af4f7ab.83a468",
                                      "type": "switch",
                                      "z": "27d94c07.8b5f54",
                                      "name": "Licht an?",
                                      "property": "payload",
                                      "propertyType": "msg",
                                      "rules": [
                                          {
                                              "t": "true"
                                          }
                                      ],
                                      "checkall": "true",
                                      "repair": false,
                                      "outputs": 1,
                                      "x": 760,
                                      "y": 1080,
                                      "wires": [
                                          [
                                              "b53e6abc.99afd8"
                                          ]
                                      ]
                                  },
                                  {
                                      "id": "b53e6abc.99afd8",
                                      "type": "change",
                                      "z": "27d94c07.8b5f54",
                                      "name": "",
                                      "rules": [
                                          {
                                              "t": "set",
                                              "p": "payload",
                                              "pt": "msg",
                                              "to": "false",
                                              "tot": "bool"
                                          },
                                          {
                                              "t": "set",
                                              "p": "licht_aktiv",
                                              "pt": "flow",
                                              "to": "true",
                                              "tot": "bool"
                                          }
                                      ],
                                      "action": "",
                                      "property": "",
                                      "from": "",
                                      "to": "",
                                      "reg": false,
                                      "x": 930,
                                      "y": 1080,
                                      "wires": [
                                          [
                                              "22a64747.6b6e88"
                                          ]
                                      ]
                                  }
                              ]
                              

                              Habe ich etwas übersehen?

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

                                @noah3112 Auf den ersten Blick habe ich nichts gesehen, kann aber sein, dass Du noch die alten Strings in Deiner Flow Variablen hast. Hast Du die auch mal gelöscht bwz geschaut, was gerade drin steht? (Kontextmenü und aktualisieren!!)

                                ? 1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @mickym last edited by

                                  @mickym Da stand tatsächlich noch "Yes" in der Variable. Sollte das hier

                                  af46b48e-b5f0-4177-a966-176061798c9b-image.png

                                  nicht dafür sorgen das ich einen Wert (LUX Wert) beim Start vom Sensor bekomme?

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

                                    @noah3112 Nein ist nur wenn der Flow neu gestartet wird oder Du an dieser Node was machst. Du kannst auch beim Deploy wenn Du das willst - alle Flows neustarten auswählen. Solange Du noch nicht so viel hast - ist das weniger problematisch. Solange die aber nicht anfasst und Du nur die geänderten Nodes übernimmst:

                                    ec1db3ef-ca6e-4284-a0ca-b06d589651dd-image.png

                                    dann machen diese Nodes erst mal nichts - da es für sie kein Neustart ist. Jede Node hat ihr Eigenleben. 🙂

                                    ? 3 Replies Last reply Reply Quote 0
                                    • ?
                                      A Former User @mickym last edited by

                                      @mickym Aber genau das habe ich doch getan. Ich habe den Flow aktiv geändert in dem ich alles aus Booleans gesetzt habe und dann Deployt habe. Irgendwie stehe ich auf dem Schlauch...

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @mickym last edited by

                                        @mickym Ach sorry ich stehe auf geänderte Nodes...alles klar

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

                                          @noah3112 sagte in Nach Ablauf kein false mehr:

                                          @mickym Ach sorry ich stehe auf geänderte Nodes...alles klar

                                          OK und die iobroker IN Nodes hast Du nicht geändert - da diese mit den Booleans nichts zu tun hat. 😉 😉 Im Übrigen ist das nicht tragisch - nur so lernt man die unterschiedlichen Optionen kennen. 🙂

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @mickym last edited by

                                            @mickym Okay ich glaub das wars für heute 😉 Wie schon so oft vielen Dank für deine Hilfe. Das nächste Problem kommt bestimmt 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            693
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            36
                                            829
                                            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