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. Node Red Tasmota und Switsch

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Node Red Tasmota und Switsch

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

      Hallo

      benötige Hilfe
      bei Node Red bin ich anfänger
      und zwar hab ich vor das ich über node red eine Wlan Steckdose steuern will

      hab ein Shelly PM2 geflsht auf Tasmota und einen Shelly PM1 geflsht auf Tasmota

      Hab ein PV Speicher und einen Stapler den will ich am abend Anstecken zum Laden, aber dann ist mein Speicher gleich Leer, will der über stunden geladen wird, hab Schon über Node red ein Program geschrieben der den Speicher überprüft und ab einen Bestimmten werd schalter er einfach aus und wenn am nächsten Tag der Speicher wider geladen wird schaltet meine Steckdose durch.

      aber der hat einen SW eingange wenn ich den Taster Drück soll er Soford Laden anfangen

      PV Speicher hab ich erstmal entfernt (node Red)

      Hab Bei Tasmota schon das Relais von Switch getrennt
      mit den Befehl setoption 114 1

      bild.png

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

        @josefthal und wobei benötigst Du Hilfe. Bevor Du irgendwas mit NodeRed machst, hast Du denn versucht, ob alles was du schalten willst in der Tasmota Konsole klappt? Bevor das nicht sichergestellt ist, brauchst mit NodeRed gar nicht anfangen

        J 1 Reply Last reply Reply Quote 0
        • J
          JosefThal @mickym last edited by

          @mickym 1

          ja habe ich getestet

          wollte den eingang SW extra abfragen
          bild.png

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

            @josefthal Na entweder hast Du direkt unter stat einen Switch topic - ansonsten ist der Status ja in den Sensordaten.

            Betätige halt den Switch und schau, was sich auf der Konsole tut und dann siehst Du ja ob ein stat topic ausgegeben wird.

            https://tasmota.github.io/docs/Components/#tasmota

            Gibt ja einige switch, relais topics

            Du kannst ja mal mit

            stat/Tasmota_test2/#
            

            alle topics abonnieren und mit einer Debug Node schauen, was passiert, wenn Du den SW bedienst.

            J 1 Reply Last reply Reply Quote 0
            • J
              JosefThal @mickym last edited by

              @mickym said in bild.png

              J 1 Reply Last reply Reply Quote 0
              • J
                JosefThal @JosefThal last edited by

                @josefthal bild.png

                J mickym 2 Replies Last reply Reply Quote 0
                • J
                  JosefThal @JosefThal last edited by

                  @josefthal
                  ich bin Leider nicht so gut in deutsch nur das du es mal weist

                  mqtt in wollte ich die daten auslesen und zwar switsch ein und zwei

                  dann wollte ich irgenwie einen Timer laufen lassen das ich das relais ansteuern kann

                  deswegen habe ich den swtich und relais getrennt das die nicht mehr miteinander schalten

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

                    @josefthal Na ja ich dachte eigentlich, dass unter stat auch noch ein topic kommt. Der tele Ast wird halt immer periodisch ausgelesen . Ich würde Dir halt einen stat topic empfehlen, anstelle des sensors. - Aber gut machen wir es halt mal mit dem sensor.

                    Da Du beides über ON/OFF machen kannst - nimmst Du halt ggf. eine trigger Node als Timer.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      JosefThal @mickym last edited by

                      @mickym was ist besser

                      mickym J 2 Replies Last reply Reply Quote 0
                      • mickym
                        mickym Most Active @JosefThal last edited by mickym

                        @josefthal Unter stat das topic ist immer zu bevorzugen -da dies sofort reagiert und ereignisgesteuert reagiert. tele sendet immer wieder die gleiche Info periodisch.

                        Das wäre jetzt ein Vorschlag.

                        08d74036-b0df-442e-89d0-2a6acd888351-image.png

                        [
                           {
                               "id": "6834318dc45a0ebd",
                               "type": "mqtt in",
                               "z": "7e6af0015415146d",
                               "name": "",
                               "topic": "tele/Tasmota_test2/SENSOR",
                               "qos": "2",
                               "datatype": "auto-detect",
                               "broker": "be6c1eaab0dff4fe",
                               "nl": false,
                               "rap": true,
                               "rh": 0,
                               "inputs": 0,
                               "x": 290,
                               "y": 2680,
                               "wires": [
                                   [
                                       "6fc3625d1356f43f"
                                   ]
                               ]
                           },
                           {
                               "id": "6fc3625d1356f43f",
                               "type": "switch",
                               "z": "7e6af0015415146d",
                               "name": "",
                               "property": "payload.Switch1",
                               "propertyType": "msg",
                               "rules": [
                                   {
                                       "t": "eq",
                                       "v": "ON",
                                       "vt": "str"
                                   }
                               ],
                               "checkall": "true",
                               "repair": false,
                               "outputs": 1,
                               "x": 490,
                               "y": 2680,
                               "wires": [
                                   [
                                       "f497f1d99df9b41e"
                                   ]
                               ]
                           },
                           {
                               "id": "f497f1d99df9b41e",
                               "type": "trigger",
                               "z": "7e6af0015415146d",
                               "name": "",
                               "op1": "ON",
                               "op2": "OFF",
                               "op1type": "str",
                               "op2type": "str",
                               "duration": "1",
                               "extend": false,
                               "overrideDelay": false,
                               "units": "hr",
                               "reset": "",
                               "bytopic": "all",
                               "topic": "topic",
                               "outputs": 1,
                               "x": 650,
                               "y": 2680,
                               "wires": [
                                   [
                                       "077c323c108037c0"
                                   ]
                               ]
                           },
                           {
                               "id": "077c323c108037c0",
                               "type": "mqtt out",
                               "z": "7e6af0015415146d",
                               "name": "",
                               "topic": "cmnd/Tasmota_test2/POWER1",
                               "qos": "",
                               "retain": "",
                               "respTopic": "",
                               "contentType": "",
                               "userProps": "",
                               "correl": "",
                               "expiry": "",
                               "broker": "be6c1eaab0dff4fe",
                               "x": 890,
                               "y": 2680,
                               "wires": []
                           },
                           {
                               "id": "be6c1eaab0dff4fe",
                               "type": "mqtt-broker",
                               "name": "",
                               "broker": "localhost",
                               "port": "1883",
                               "clientid": "mqttClientNodeRedTest",
                               "autoConnect": true,
                               "usetls": false,
                               "protocolVersion": "4",
                               "keepalive": "60",
                               "cleansession": true,
                               "birthTopic": "",
                               "birthQos": "0",
                               "birthPayload": "",
                               "birthMsg": {},
                               "closeTopic": "",
                               "closeQos": "0",
                               "closePayload": "",
                               "closeMsg": {},
                               "willTopic": "",
                               "willQos": "0",
                               "willPayload": "",
                               "willMsg": {},
                               "userProps": "",
                               "sessionExpiry": ""
                           }
                        ]
                        

                        1 Reply Last reply Reply Quote 0
                        • J
                          JosefThal @JosefThal last edited by

                          @josefthal [
                          {
                          "id": "f884ce11d9d7f084",
                          "type": "tab",
                          "label": "Flow 7",
                          "disabled": false,
                          "info": "",
                          "env": []
                          },
                          {
                          "id": "50abe2e8af7541c0",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 45",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 940,
                          "y": 400,
                          "wires": []
                          },
                          {
                          "id": "2ae715d42c837120",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 46",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 660,
                          "y": 300,
                          "wires": []
                          },
                          {
                          "id": "1d78f8b2a54f18bd",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 47",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 760,
                          "y": 200,
                          "wires": []
                          },
                          {
                          "id": "4b419759b1939781",
                          "type": "mqtt in",
                          "z": "f884ce11d9d7f084",
                          "name": "",
                          "topic": "tele/Tasmota_test2/SENSOR",
                          "qos": "0",
                          "datatype": "json",
                          "broker": "b84a725bf6dd8e6b",
                          "nl": false,
                          "rap": true,
                          "rh": 0,
                          "inputs": 0,
                          "x": 160,
                          "y": 200,
                          "wires": [
                          [
                          "1d78f8b2a54f18bd",
                          "5767de948061f591",
                          "4fe0cb071a28c291"
                          ]
                          ]
                          },
                          {
                          "id": "3f94cadf66b7c243",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 48",
                          "active": false,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 820,
                          "y": 740,
                          "wires": []
                          },
                          {
                          "id": "85752b032892a0bf",
                          "type": "mqtt in",
                          "z": "f884ce11d9d7f084",
                          "name": "",
                          "topic": "tele/Tasmota_test2/SENSOR ",
                          "qos": "0",
                          "datatype": "utf8",
                          "broker": "b84a725bf6dd8e6b",
                          "nl": false,
                          "rap": true,
                          "rh": 0,
                          "inputs": 0,
                          "x": 200,
                          "y": 780,
                          "wires": [
                          [
                          "3f94cadf66b7c243",
                          "a4c8f372f7e5208d"
                          ]
                          ]
                          },
                          {
                          "id": "a4c8f372f7e5208d",
                          "type": "change",
                          "z": "f884ce11d9d7f084",
                          "name": "Strom Filter",
                          "rules": [
                          {
                          "t": "set",
                          "p": "payload.Switch1",
                          "pt": "msg",
                          "to": "on",
                          "tot": "str"
                          }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 690,
                          "y": 800,
                          "wires": [
                          [
                          "62298753547437f4"
                          ]
                          ]
                          },
                          {
                          "id": "62298753547437f4",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 49",
                          "active": false,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 940,
                          "y": 820,
                          "wires": []
                          },
                          {
                          "id": "5d69362e4fbdf5e3",
                          "type": "mqtt out",
                          "z": "f884ce11d9d7f084",
                          "name": "",
                          "topic": "cmnd/Tasmota_test2/POWER1",
                          "qos": "",
                          "retain": "",
                          "respTopic": "",
                          "contentType": "",
                          "userProps": "",
                          "correl": "",
                          "expiry": "",
                          "broker": "b84a725bf6dd8e6b",
                          "x": 630,
                          "y": 560,
                          "wires": []
                          },
                          {
                          "id": "3407d481c1a27b47",
                          "type": "Tasmota Sensor",
                          "z": "f884ce11d9d7f084",
                          "broker": "7a7b311bf649aa87",
                          "device": "Tasmota_test2",
                          "name": "",
                          "outputs": 1,
                          "uidisabler": false,
                          "fullTopic": "",
                          "cmndPrefix": "",
                          "statPrefix": "",
                          "telePrefix": "",
                          "qos": 1,
                          "retain": false,
                          "rules": [],
                          "outputTopic": "",
                          "x": 220,
                          "y": 80,
                          "wires": [
                          [
                          "dc357bf80dd84722"
                          ]
                          ]
                          },
                          {
                          "id": "4a52a2c387ec9267",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 50",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 940,
                          "y": 460,
                          "wires": []
                          },
                          {
                          "id": "dc357bf80dd84722",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 51",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 420,
                          "y": 20,
                          "wires": []
                          },
                          {
                          "id": "8edf93019b1dda14",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 52",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 760,
                          "y": 240,
                          "wires": []
                          },
                          {
                          "id": "2ae5cbaad2be8669",
                          "type": "inject",
                          "z": "f884ce11d9d7f084",
                          "name": "",
                          "props": [
                          {
                          "p": "payload"
                          },
                          {
                          "p": "topic",
                          "vt": "str"
                          }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "off",
                          "payloadType": "str",
                          "x": 190,
                          "y": 580,
                          "wires": [
                          [
                          "5d69362e4fbdf5e3"
                          ]
                          ]
                          },
                          {
                          "id": "fe76fb3e70ee4cd1",
                          "type": "inject",
                          "z": "f884ce11d9d7f084",
                          "name": "",
                          "props": [
                          {
                          "p": "payload"
                          },
                          {
                          "p": "topic",
                          "vt": "str"
                          }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "on",
                          "payloadType": "str",
                          "x": 190,
                          "y": 620,
                          "wires": [
                          [
                          "5d69362e4fbdf5e3"
                          ]
                          ]
                          },
                          {
                          "id": "5767de948061f591",
                          "type": "switch",
                          "z": "f884ce11d9d7f084",
                          "name": "",
                          "property": "payload.Switch1",
                          "propertyType": "msg",
                          "rules": [
                          {
                          "t": "eq",
                          "v": "on",
                          "vt": "str"
                          }
                          ],
                          "checkall": "true",
                          "repair": false,
                          "outputs": 1,
                          "x": 450,
                          "y": 300,
                          "wires": [
                          [
                          "2ae715d42c837120"
                          ]
                          ]
                          },
                          {
                          "id": "970c70446706d958",
                          "type": "debug",
                          "z": "f884ce11d9d7f084",
                          "name": "debug 55",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 660,
                          "y": 360,
                          "wires": []
                          },
                          {
                          "id": "4fe0cb071a28c291",
                          "type": "switch",
                          "z": "f884ce11d9d7f084",
                          "name": "",
                          "property": "payload.Switch1",
                          "propertyType": "msg",
                          "rules": [
                          {
                          "t": "eq",
                          "v": "off",
                          "vt": "str"
                          }
                          ],
                          "checkall": "true",
                          "repair": false,
                          "outputs": 1,
                          "x": 450,
                          "y": 360,
                          "wires": [
                          [
                          "970c70446706d958"
                          ]
                          ]
                          },
                          {
                          "id": "b84a725bf6dd8e6b",
                          "type": "mqtt-broker",
                          "name": "CerboGX",
                          "broker": "192.168.178.35",
                          "port": "1883",
                          "clientid": "",
                          "autoConnect": true,
                          "usetls": false,
                          "protocolVersion": "4",
                          "keepalive": "60",
                          "cleansession": true,
                          "birthTopic": "",
                          "birthQos": "0",
                          "birthPayload": "",
                          "birthMsg": {},
                          "closeTopic": "",
                          "closeQos": "0",
                          "closePayload": "",
                          "closeMsg": {},
                          "willTopic": "",
                          "willQos": "0",
                          "willPayload": "",
                          "willMsg": {},
                          "userProps": "",
                          "sessionExpiry": ""
                          },
                          {
                          "id": "7a7b311bf649aa87",
                          "type": "tasmota-mqtt-broker",
                          "name": "",
                          "broker": "localhost",
                          "port": "1883",
                          "clientid": "",
                          "usetls": false,
                          "keepalive": "60",
                          "cleansession": true
                          }
                          ]

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

                            @josefthal Damit kann man nichts anfangen. Bitte immer in CodeTags einstellen und ggf. mit Spoiler:

                            code_text
                            

                            6630c86a-d4b6-4cb2-9c5d-9a896f5f2920-image.png

                            Code-Tags.gif

                            Den Code hier direkt einzustellen - ist nicht importierbar - da das vom Browser interpretiert wird

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              JosefThal @mickym last edited by

                              @mickym ```
                              [
                              {
                              "id": "f884ce11d9d7f084",
                              "type": "tab",
                              "label": "Flow 7",
                              "disabled": false,
                              "info": "",
                              "env": []
                              },
                              {
                              "id": "50abe2e8af7541c0",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 45",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 940,
                              "y": 400,
                              "wires": []
                              },
                              {
                              "id": "2ae715d42c837120",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 46",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 660,
                              "y": 300,
                              "wires": []
                              },
                              {
                              "id": "1d78f8b2a54f18bd",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 47",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 760,
                              "y": 200,
                              "wires": []
                              },
                              {
                              "id": "4b419759b1939781",
                              "type": "mqtt in",
                              "z": "f884ce11d9d7f084",
                              "name": "",
                              "topic": "tele/Tasmota_test2/SENSOR",
                              "qos": "0",
                              "datatype": "json",
                              "broker": "b84a725bf6dd8e6b",
                              "nl": false,
                              "rap": true,
                              "rh": 0,
                              "inputs": 0,
                              "x": 160,
                              "y": 200,
                              "wires": [
                              [
                              "1d78f8b2a54f18bd",
                              "5767de948061f591",
                              "4fe0cb071a28c291"
                              ]
                              ]
                              },
                              {
                              "id": "3f94cadf66b7c243",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 48",
                              "active": false,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 820,
                              "y": 740,
                              "wires": []
                              },
                              {
                              "id": "85752b032892a0bf",
                              "type": "mqtt in",
                              "z": "f884ce11d9d7f084",
                              "name": "",
                              "topic": "tele/Tasmota_test2/SENSOR ",
                              "qos": "0",
                              "datatype": "utf8",
                              "broker": "b84a725bf6dd8e6b",
                              "nl": false,
                              "rap": true,
                              "rh": 0,
                              "inputs": 0,
                              "x": 200,
                              "y": 780,
                              "wires": [
                              [
                              "3f94cadf66b7c243",
                              "a4c8f372f7e5208d"
                              ]
                              ]
                              },
                              {
                              "id": "a4c8f372f7e5208d",
                              "type": "change",
                              "z": "f884ce11d9d7f084",
                              "name": "Strom Filter",
                              "rules": [
                              {
                              "t": "set",
                              "p": "payload.Switch1",
                              "pt": "msg",
                              "to": "on",
                              "tot": "str"
                              }
                              ],
                              "action": "",
                              "property": "",
                              "from": "",
                              "to": "",
                              "reg": false,
                              "x": 690,
                              "y": 800,
                              "wires": [
                              [
                              "62298753547437f4"
                              ]
                              ]
                              },
                              {
                              "id": "62298753547437f4",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 49",
                              "active": false,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 940,
                              "y": 820,
                              "wires": []
                              },
                              {
                              "id": "5d69362e4fbdf5e3",
                              "type": "mqtt out",
                              "z": "f884ce11d9d7f084",
                              "name": "",
                              "topic": "cmnd/Tasmota_test2/POWER1",
                              "qos": "",
                              "retain": "",
                              "respTopic": "",
                              "contentType": "",
                              "userProps": "",
                              "correl": "",
                              "expiry": "",
                              "broker": "b84a725bf6dd8e6b",
                              "x": 630,
                              "y": 560,
                              "wires": []
                              },
                              {
                              "id": "3407d481c1a27b47",
                              "type": "Tasmota Sensor",
                              "z": "f884ce11d9d7f084",
                              "broker": "7a7b311bf649aa87",
                              "device": "Tasmota_test2",
                              "name": "",
                              "outputs": 1,
                              "uidisabler": false,
                              "fullTopic": "",
                              "cmndPrefix": "",
                              "statPrefix": "",
                              "telePrefix": "",
                              "qos": 1,
                              "retain": false,
                              "rules": [],
                              "outputTopic": "",
                              "x": 220,
                              "y": 80,
                              "wires": [
                              [
                              "dc357bf80dd84722"
                              ]
                              ]
                              },
                              {
                              "id": "4a52a2c387ec9267",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 50",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 940,
                              "y": 460,
                              "wires": []
                              },
                              {
                              "id": "dc357bf80dd84722",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 51",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 420,
                              "y": 20,
                              "wires": []
                              },
                              {
                              "id": "8edf93019b1dda14",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 52",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 760,
                              "y": 240,
                              "wires": []
                              },
                              {
                              "id": "2ae5cbaad2be8669",
                              "type": "inject",
                              "z": "f884ce11d9d7f084",
                              "name": "",
                              "props": [
                              {
                              "p": "payload"
                              },
                              {
                              "p": "topic",
                              "vt": "str"
                              }
                              ],
                              "repeat": "",
                              "crontab": "",
                              "once": false,
                              "onceDelay": 0.1,
                              "topic": "",
                              "payload": "off",
                              "payloadType": "str",
                              "x": 190,
                              "y": 580,
                              "wires": [
                              [
                              "5d69362e4fbdf5e3"
                              ]
                              ]
                              },
                              {
                              "id": "fe76fb3e70ee4cd1",
                              "type": "inject",
                              "z": "f884ce11d9d7f084",
                              "name": "",
                              "props": [
                              {
                              "p": "payload"
                              },
                              {
                              "p": "topic",
                              "vt": "str"
                              }
                              ],
                              "repeat": "",
                              "crontab": "",
                              "once": false,
                              "onceDelay": 0.1,
                              "topic": "",
                              "payload": "on",
                              "payloadType": "str",
                              "x": 190,
                              "y": 620,
                              "wires": [
                              [
                              "5d69362e4fbdf5e3"
                              ]
                              ]
                              },
                              {
                              "id": "5767de948061f591",
                              "type": "switch",
                              "z": "f884ce11d9d7f084",
                              "name": "",
                              "property": "payload.Switch1",
                              "propertyType": "msg",
                              "rules": [
                              {
                              "t": "eq",
                              "v": "on",
                              "vt": "str"
                              }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 1,
                              "x": 450,
                              "y": 300,
                              "wires": [
                              [
                              "2ae715d42c837120"
                              ]
                              ]
                              },
                              {
                              "id": "970c70446706d958",
                              "type": "debug",
                              "z": "f884ce11d9d7f084",
                              "name": "debug 55",
                              "active": true,
                              "tosidebar": true,
                              "console": false,
                              "tostatus": false,
                              "complete": "false",
                              "statusVal": "",
                              "statusType": "auto",
                              "x": 660,
                              "y": 360,
                              "wires": []
                              },
                              {
                              "id": "4fe0cb071a28c291",
                              "type": "switch",
                              "z": "f884ce11d9d7f084",
                              "name": "",
                              "property": "payload.Switch1",
                              "propertyType": "msg",
                              "rules": [
                              {
                              "t": "eq",
                              "v": "off",
                              "vt": "str"
                              }
                              ],
                              "checkall": "true",
                              "repair": false,
                              "outputs": 1,
                              "x": 450,
                              "y": 360,
                              "wires": [
                              [
                              "970c70446706d958"
                              ]
                              ]
                              },
                              {
                              "id": "b84a725bf6dd8e6b",
                              "type": "mqtt-broker",
                              "name": "CerboGX",
                              "broker": "192.168.178.35",
                              "port": "1883",
                              "clientid": "",
                              "autoConnect": true,
                              "usetls": false,
                              "protocolVersion": "4",
                              "keepalive": "60",
                              "cleansession": true,
                              "birthTopic": "",
                              "birthQos": "0",
                              "birthPayload": "",
                              "birthMsg": {},
                              "closeTopic": "",
                              "closeQos": "0",
                              "closePayload": "",
                              "closeMsg": {},
                              "willTopic": "",
                              "willQos": "0",
                              "willPayload": "",
                              "willMsg": {},
                              "userProps": "",
                              "sessionExpiry": ""
                              },
                              {
                              "id": "7a7b311bf649aa87",
                              "type": "tasmota-mqtt-broker",
                              "name": "",
                              "broker": "localhost",
                              "port": "1883",
                              "clientid": "",
                              "usetls": false,
                              "keepalive": "60",
                              "cleansession": true
                              }
                              ]

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

                                @josefthal Nein in codetags - die ''' müssen in einer extra Zeile stehen

                                code_text
                                

                                55e5fd6a-2da0-4d2e-af10-f6c55c803036-image.png

                                cfc54354-3282-4710-8b23-f97092695a44-image.png

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  JosefThal @mickym last edited by

                                  @mickym flows(3).json

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    JosefThal @JosefThal last edited by

                                    @josefthal

                                    hoffe es geht so

                                    bin einfach zu dof ( ICH )

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

                                      @josefthal Ja geht schon - ich hab Dir aber doch hier einen Vorschlag zum Import eingestellt: https://forum.iobroker.net/post/1053445

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

                                        @josefthal sagte in Node Red Tasmota und Switsch:
                                        So zu Deinen Fehler die ich sehe

                                        9a7c233f-2f9e-44c8-bf90-d2bfe51517d5-image.png

                                        97bbaa19-bbb7-4330-97c1-6738ff7ad67f-image.png

                                        Die Eigenschaft ist richtig, aber Du musst auf Groß-und Kleinschreibung achten. Es kommt - auf der KONSOLE ein "ON" und kein "on".

                                        Dann brauchst Du dafür keine 2 switch Nodes - sondern ein mit 2 Ausgängen.

                                        bc472846-1f32-4020-9d27-efb5f56eb55e-image.png

                                        413b616b-9e74-4ebd-a6cf-f09e0fe66fc1-image.png

                                        Bei der Eingabe ist tasmota nicht case-sensitiv - das heißt wird automatisch verstanden.

                                        Aber wie gesagt ich hab Dir einen Vorschlag unten geschickt.

                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          JosefThal @mickym last edited by

                                          @mickym Danke

                                          hat ein fehler beim Übertragen gegeben groß und kleinschreibung

                                          sensor muß Groß sein SENSOR

                                          und dann ging es

                                          und ich Spiele und Lesen ca 2 wochen rum

                                          und du machst es in 30 S

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

                                            @josefthal sagte in Node Red Tasmota und Switsch:

                                            und du machst es in 30 S

                                            Mit etwas Übung schaffst Du das auch. 😉

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            832
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            34
                                            1330
                                            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