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. Philips Hue Switch -- Shelly Actor, Tuya,Sonoff,Hue

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Philips Hue Switch -- Shelly Actor, Tuya,Sonoff,Hue

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

      @aphofis

      Hast Du eine HUE Bridge?

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

        @haselchen

        Ja habe eine Hue Bridge
        Tuya Zigbee Bridge
        mehrere Hue Dimmer Switches
        mehrere Tuya Lampen
        mehrere Sonoff Lampen (ESP8266 Tasmota)
        mehrere Shelly i4 Gen3 Actoren

        Das Problem ist halt die Hue Lampen mit zB. wert 1000 einschalten ausschalten bzw. die Hue Lampen werden mit dem Datenpunkt on auf true/false geschaltet nur der Hue Button gibt halt 1000,2000 etc aus und die müssen für true false verarbeitet werden und der shelly muss halt irgendwo dazwischen und parallel andere Geräte gleichzeitig mit true/false zu steuern doch wie man das zusammenbaut weiß ich leider nicht

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

          @aphofis

          b30697d5-de9a-48f5-b202-cf7d30f42123-grafik.png

          Entweder über den Palettenmanager oder manuell installieren.

          4f9b4b19-ed4f-4e85-8e22-b0a9898701fb-grafik.png

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

            @haselchen
            hä Hue habe ich in Node-Red und auch Bridge connected
            die verbindung steht.
            Shelly sind auch verbunden und connected
            Ich benutze Hue Magic
            damit kann man eigentlich alles machen bezüglich was HUE geräte angeht

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

              @aphofis

              Okay
              Dachte Du brauchst die DP zum Weiterverarbeiten.
              Über NodeRed hole ich mir die DP und mit Blockly gehts dann weiter.

              Wenns nur NodeRed sein soll, dann mit @mickym

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

                @haselchen ja mal sehen wer meinem Thread sieht.
                wollte damit in Node-Red bleiben

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

                  Also es müsste so laufen:

                  1002 ist der kurze Druck auf Taste 1 das soll dann umgewandelt werden in true und an den Shelly Switch 1 als True gesendet werden
                  1000 ist langer Druck auf Taste 1 das soll dann
                  Umgewandelt werden in false und an den Shelly Switch 1 als false gesendet werden dann kann man an den Ausgang Shelly Switch 1 die hue, Tuya und Sonoff Lampen dran hängen aber wie man das macht weiß ich nicht
                  Beim Hue Switch 2 ist dann
                  Button 2 kurz 2002 und lang 2000
                  Beim Hue Switch 3 ist dann
                  Button 3 kurz 3002 und lang 3000
                  Beim Hue Switch 4 ist dann
                  Button 4 kurz 4002 und lang 4000
                  Toller Wäre zwar wenn man Button 1 am hue Switch drückt ist True und noch mal drücken ist dann false aber ob das geht weiß ich nicht sprich das dann alles auf
                  1002,2002,3002 und 4002 reagiert im Wechsel
                  Mit true false

                  Hintergrund ist, das ich in einer Unterputz Dose bis zu drei Decken Lampen Schaltungen habe und diese per Shelly schalten möchte und per hue Dimmer Switch dann letztendlich betätigen möchte dazu brauche ich aber mehrere Schalter und ich wollte nun nicht bei zB einem dreifach Schalter dann 3 hue Schalter hin kleben.
                  Sondern nur einen hue Switch

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

                    Es muss doch eine Möglichkeit geben
                    Das man eine hue Button auslesen und umwandeln kann
                    Das dann zb einmal Klick ist True nächster Klick false
                    Damit man mit einem Hue Dimmer Switch dann vier Schalter hat.

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

                      @haselchen wie würdest du das denn in Blockly realisieren
                      Das dei Schaltung auf 1002 vom buttonevent reagiert und daraus im wechsel true und false macht also jeder Tastendruck ist dann true - false - true
                      Bei den anderen Buttons ist es ja ählich nur dann halt 2002, 3002 und 4002
                      Ich muss nicht dimmen und langer tastendruck kann auch zu fehl schaltungen kommmen

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

                        @aphofis

                        Den Block "umschalten" im Blockly benutzen
                        03a1bae1-32d1-4c0e-9a66-1719447cfb5d-grafik.png

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

                          @haselchen
                          Habe es jetzt so realisiert und kann es in meine vorhandenen Licht Schaltungen integrieren.
                          Die Schaltung ist zwar noch mit Test Schaltern, habe es aber auch schon mit realen Geräten und dem HUE Dimmer Switch getestet und es läuft prima.
                          Das erste was der Hue Switch ausgibt bei short release ist 1000,2000,3000,4000 daurauf reagiert die Schaltung je Button.
                          Screenshot 2025-02-09 210542.png

                          [
                              {
                                  "id": "f90ac36919e30901",
                                  "type": "ioBroker in",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Bad Schalter",
                                  "attrname": "payload",
                                  "topic": "hue.0.Bad_Schalter.buttonevent",
                                  "payloadType": "value",
                                  "onlyack": "",
                                  "func": "all",
                                  "gap": "",
                                  "fireOnStart": "false",
                                  "outFormat": "MQTT",
                                  "x": 70,
                                  "y": 880,
                                  "wires": [
                                      [
                                          "cb413047a53056ab",
                                          "1f9b831a1cc1c223",
                                          "a20ddd4dc2ce7ccb",
                                          "79ce567bac10cfb6"
                                      ]
                                  ]
                              },
                              {
                                  "id": "cb413047a53056ab",
                                  "type": "switch",
                                  "z": "19a5e8f8e434006f",
                                  "name": "",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "eq",
                                          "v": "2000",
                                          "vt": "str"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 280,
                                  "y": 840,
                                  "wires": [
                                      [
                                          "7bc2b7578ffbabe3"
                                      ]
                                  ]
                              },
                              {
                                  "id": "7bc2b7578ffbabe3",
                                  "type": "ioBroker get",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Switch 2",
                                  "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_2",
                                  "attrname": "payload",
                                  "payloadType": "value",
                                  "errOnInvalidState": "nothing",
                                  "x": 450,
                                  "y": 840,
                                  "wires": [
                                      [
                                          "f9916b7b609a4872"
                                      ]
                                  ]
                              },
                              {
                                  "id": "f9916b7b609a4872",
                                  "type": "change",
                                  "z": "19a5e8f8e434006f",
                                  "name": "toggle",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "payload",
                                          "pt": "msg",
                                          "to": "$not(payload)\t",
                                          "tot": "jsonata"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 590,
                                  "y": 840,
                                  "wires": [
                                      [
                                          "19db4b5cf607df63"
                                      ]
                                  ]
                              },
                              {
                                  "id": "19db4b5cf607df63",
                                  "type": "ioBroker out",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Virtuel Switch 2",
                                  "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_2",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 800,
                                  "y": 840,
                                  "wires": []
                              },
                              {
                                  "id": "a20ddd4dc2ce7ccb",
                                  "type": "switch",
                                  "z": "19a5e8f8e434006f",
                                  "name": "",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "eq",
                                          "v": "3000",
                                          "vt": "str"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 280,
                                  "y": 900,
                                  "wires": [
                                      [
                                          "ba3d7ecc609d611a"
                                      ]
                                  ]
                              },
                              {
                                  "id": "ba3d7ecc609d611a",
                                  "type": "ioBroker get",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Switch 3",
                                  "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_3",
                                  "attrname": "payload",
                                  "payloadType": "value",
                                  "errOnInvalidState": "nothing",
                                  "x": 450,
                                  "y": 900,
                                  "wires": [
                                      [
                                          "b785f33bd5389843"
                                      ]
                                  ]
                              },
                              {
                                  "id": "b785f33bd5389843",
                                  "type": "change",
                                  "z": "19a5e8f8e434006f",
                                  "name": "toggle",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "payload",
                                          "pt": "msg",
                                          "to": "$not(payload)\t",
                                          "tot": "jsonata"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 590,
                                  "y": 900,
                                  "wires": [
                                      [
                                          "ee55387f0a29bec4"
                                      ]
                                  ]
                              },
                              {
                                  "id": "ee55387f0a29bec4",
                                  "type": "ioBroker out",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Virtuel Switch 3",
                                  "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_3",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 800,
                                  "y": 900,
                                  "wires": []
                              },
                              {
                                  "id": "1f9b831a1cc1c223",
                                  "type": "switch",
                                  "z": "19a5e8f8e434006f",
                                  "name": "",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "eq",
                                          "v": "4000",
                                          "vt": "str"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 280,
                                  "y": 960,
                                  "wires": [
                                      [
                                          "ae91ecd3729d1f8b"
                                      ]
                                  ]
                              },
                              {
                                  "id": "ae91ecd3729d1f8b",
                                  "type": "ioBroker get",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Switch 4",
                                  "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_4",
                                  "attrname": "payload",
                                  "payloadType": "value",
                                  "errOnInvalidState": "nothing",
                                  "x": 450,
                                  "y": 960,
                                  "wires": [
                                      [
                                          "556103d4e4e7fa4a"
                                      ]
                                  ]
                              },
                              {
                                  "id": "556103d4e4e7fa4a",
                                  "type": "change",
                                  "z": "19a5e8f8e434006f",
                                  "name": "toggle",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "payload",
                                          "pt": "msg",
                                          "to": "$not(payload)\t",
                                          "tot": "jsonata"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 590,
                                  "y": 960,
                                  "wires": [
                                      [
                                          "3b2803663d8b4023"
                                      ]
                                  ]
                              },
                              {
                                  "id": "3b2803663d8b4023",
                                  "type": "ioBroker out",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Virtuel Switch 4",
                                  "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_4",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 800,
                                  "y": 960,
                                  "wires": []
                              },
                              {
                                  "id": "79ce567bac10cfb6",
                                  "type": "switch",
                                  "z": "19a5e8f8e434006f",
                                  "name": "",
                                  "property": "payload",
                                  "propertyType": "msg",
                                  "rules": [
                                      {
                                          "t": "eq",
                                          "v": "1000",
                                          "vt": "str"
                                      }
                                  ],
                                  "checkall": "true",
                                  "repair": false,
                                  "outputs": 1,
                                  "x": 290,
                                  "y": 760,
                                  "wires": [
                                      [
                                          "c577d279cf9947a6"
                                      ]
                                  ]
                              },
                              {
                                  "id": "c577d279cf9947a6",
                                  "type": "ioBroker get",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Switch 1",
                                  "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_1",
                                  "attrname": "payload",
                                  "payloadType": "value",
                                  "errOnInvalidState": "nothing",
                                  "x": 460,
                                  "y": 760,
                                  "wires": [
                                      [
                                          "38514d6d7f2e9871"
                                      ]
                                  ]
                              },
                              {
                                  "id": "38514d6d7f2e9871",
                                  "type": "change",
                                  "z": "19a5e8f8e434006f",
                                  "name": "toggle",
                                  "rules": [
                                      {
                                          "t": "set",
                                          "p": "payload",
                                          "pt": "msg",
                                          "to": "$not(payload)\t",
                                          "tot": "jsonata"
                                      }
                                  ],
                                  "action": "",
                                  "property": "",
                                  "from": "",
                                  "to": "",
                                  "reg": false,
                                  "x": 600,
                                  "y": 760,
                                  "wires": [
                                      [
                                          "f5092a35d07b4474",
                                          "36b938943d09ebb8"
                                      ]
                                  ]
                              },
                              {
                                  "id": "f5092a35d07b4474",
                                  "type": "ioBroker out",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Virtuel Switch 2",
                                  "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_1",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 800,
                                  "y": 780,
                                  "wires": []
                              },
                              {
                                  "id": "36b938943d09ebb8",
                                  "type": "ioBroker out",
                                  "z": "19a5e8f8e434006f",
                                  "name": "Bad Lichtschalter",
                                  "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                  "ack": "false",
                                  "autoCreate": "false",
                                  "stateName": "",
                                  "role": "",
                                  "payloadType": "",
                                  "readonly": "",
                                  "stateUnit": "",
                                  "stateMin": "",
                                  "stateMax": "",
                                  "x": 810,
                                  "y": 720,
                                  "wires": []
                              }
                          ]
                          

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

                            @aphofis Die 4 switche kannst du in eine Node überführen und dafür Regeln mit entsprechenden Ausgängen machen:

                            65dbfa02-61f5-449a-aca8-28469c7824bc-image.png

                            69d67f76-078d-46bb-9c85-524bc8e9f149-image.png

                            [
                               {
                                   "id": "f90ac36919e30901",
                                   "type": "ioBroker in",
                                   "z": "7e6af0015415146d",
                                   "name": "Bad Schalter",
                                   "attrname": "payload",
                                   "topic": "hue.0.Bad_Schalter.buttonevent",
                                   "payloadType": "value",
                                   "onlyack": "",
                                   "func": "all",
                                   "gap": "",
                                   "fireOnStart": "false",
                                   "outFormat": "MQTT",
                                   "x": 430,
                                   "y": 7000,
                                   "wires": [
                                       [
                                           "79ce567bac10cfb6"
                                       ]
                                   ]
                               },
                               {
                                   "id": "7bc2b7578ffbabe3",
                                   "type": "ioBroker get",
                                   "z": "7e6af0015415146d",
                                   "name": "Switch 2",
                                   "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_2",
                                   "attrname": "payload",
                                   "payloadType": "value",
                                   "errOnInvalidState": "nothing",
                                   "x": 810,
                                   "y": 6960,
                                   "wires": [
                                       [
                                           "f9916b7b609a4872"
                                       ]
                                   ]
                               },
                               {
                                   "id": "f9916b7b609a4872",
                                   "type": "change",
                                   "z": "7e6af0015415146d",
                                   "name": "toggle",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "$not(payload)\t",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 950,
                                   "y": 6960,
                                   "wires": [
                                       [
                                           "19db4b5cf607df63"
                                       ]
                                   ]
                               },
                               {
                                   "id": "19db4b5cf607df63",
                                   "type": "ioBroker out",
                                   "z": "7e6af0015415146d",
                                   "name": "Virtuel Switch 2",
                                   "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_2",
                                   "ack": "false",
                                   "autoCreate": "false",
                                   "stateName": "",
                                   "role": "",
                                   "payloadType": "",
                                   "readonly": "",
                                   "stateUnit": "",
                                   "stateMin": "",
                                   "stateMax": "",
                                   "x": 1160,
                                   "y": 6960,
                                   "wires": []
                               },
                               {
                                   "id": "ba3d7ecc609d611a",
                                   "type": "ioBroker get",
                                   "z": "7e6af0015415146d",
                                   "name": "Switch 3",
                                   "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_3",
                                   "attrname": "payload",
                                   "payloadType": "value",
                                   "errOnInvalidState": "nothing",
                                   "x": 810,
                                   "y": 7020,
                                   "wires": [
                                       [
                                           "b785f33bd5389843"
                                       ]
                                   ]
                               },
                               {
                                   "id": "b785f33bd5389843",
                                   "type": "change",
                                   "z": "7e6af0015415146d",
                                   "name": "toggle",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "$not(payload)\t",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 950,
                                   "y": 7020,
                                   "wires": [
                                       [
                                           "ee55387f0a29bec4"
                                       ]
                                   ]
                               },
                               {
                                   "id": "ee55387f0a29bec4",
                                   "type": "ioBroker out",
                                   "z": "7e6af0015415146d",
                                   "name": "Virtuel Switch 3",
                                   "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_3",
                                   "ack": "false",
                                   "autoCreate": "false",
                                   "stateName": "",
                                   "role": "",
                                   "payloadType": "",
                                   "readonly": "",
                                   "stateUnit": "",
                                   "stateMin": "",
                                   "stateMax": "",
                                   "x": 1160,
                                   "y": 7020,
                                   "wires": []
                               },
                               {
                                   "id": "ae91ecd3729d1f8b",
                                   "type": "ioBroker get",
                                   "z": "7e6af0015415146d",
                                   "name": "Switch 4",
                                   "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_4",
                                   "attrname": "payload",
                                   "payloadType": "value",
                                   "errOnInvalidState": "nothing",
                                   "x": 810,
                                   "y": 7080,
                                   "wires": [
                                       [
                                           "556103d4e4e7fa4a"
                                       ]
                                   ]
                               },
                               {
                                   "id": "556103d4e4e7fa4a",
                                   "type": "change",
                                   "z": "7e6af0015415146d",
                                   "name": "toggle",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "$not(payload)\t",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 950,
                                   "y": 7080,
                                   "wires": [
                                       [
                                           "3b2803663d8b4023"
                                       ]
                                   ]
                               },
                               {
                                   "id": "3b2803663d8b4023",
                                   "type": "ioBroker out",
                                   "z": "7e6af0015415146d",
                                   "name": "Virtuel Switch 4",
                                   "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_4",
                                   "ack": "false",
                                   "autoCreate": "false",
                                   "stateName": "",
                                   "role": "",
                                   "payloadType": "",
                                   "readonly": "",
                                   "stateUnit": "",
                                   "stateMin": "",
                                   "stateMax": "",
                                   "x": 1160,
                                   "y": 7080,
                                   "wires": []
                               },
                               {
                                   "id": "c577d279cf9947a6",
                                   "type": "ioBroker get",
                                   "z": "7e6af0015415146d",
                                   "name": "Switch 1",
                                   "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_1",
                                   "attrname": "payload",
                                   "payloadType": "value",
                                   "errOnInvalidState": "nothing",
                                   "x": 820,
                                   "y": 6880,
                                   "wires": [
                                       [
                                           "38514d6d7f2e9871"
                                       ]
                                   ]
                               },
                               {
                                   "id": "38514d6d7f2e9871",
                                   "type": "change",
                                   "z": "7e6af0015415146d",
                                   "name": "toggle",
                                   "rules": [
                                       {
                                           "t": "set",
                                           "p": "payload",
                                           "pt": "msg",
                                           "to": "$not(payload)\t",
                                           "tot": "jsonata"
                                       }
                                   ],
                                   "action": "",
                                   "property": "",
                                   "from": "",
                                   "to": "",
                                   "reg": false,
                                   "x": 960,
                                   "y": 6880,
                                   "wires": [
                                       [
                                           "f5092a35d07b4474",
                                           "36b938943d09ebb8"
                                       ]
                                   ]
                               },
                               {
                                   "id": "f5092a35d07b4474",
                                   "type": "ioBroker out",
                                   "z": "7e6af0015415146d",
                                   "name": "Virtuel Switch 2",
                                   "topic": "0_userdata.0.GordonX-Home.Bad.Virtueller_Schalter_1",
                                   "ack": "false",
                                   "autoCreate": "false",
                                   "stateName": "",
                                   "role": "",
                                   "payloadType": "",
                                   "readonly": "",
                                   "stateUnit": "",
                                   "stateMin": "",
                                   "stateMax": "",
                                   "x": 1160,
                                   "y": 6900,
                                   "wires": []
                               },
                               {
                                   "id": "36b938943d09ebb8",
                                   "type": "ioBroker out",
                                   "z": "7e6af0015415146d",
                                   "name": "Bad Lichtschalter",
                                   "topic": "tuya.0.bf78f027e5e33c3d76xrfe.1",
                                   "ack": "false",
                                   "autoCreate": "false",
                                   "stateName": "",
                                   "role": "",
                                   "payloadType": "",
                                   "readonly": "",
                                   "stateUnit": "",
                                   "stateMin": "",
                                   "stateMax": "",
                                   "x": 1170,
                                   "y": 6840,
                                   "wires": []
                               },
                               {
                                   "id": "79ce567bac10cfb6",
                                   "type": "switch",
                                   "z": "7e6af0015415146d",
                                   "name": "",
                                   "property": "payload",
                                   "propertyType": "msg",
                                   "rules": [
                                       {
                                           "t": "eq",
                                           "v": "1000",
                                           "vt": "str"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "2000",
                                           "vt": "str"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "3000",
                                           "vt": "str"
                                       },
                                       {
                                           "t": "eq",
                                           "v": "4000",
                                           "vt": "str"
                                       }
                                   ],
                                   "checkall": "true",
                                   "repair": false,
                                   "outputs": 4,
                                   "x": 590,
                                   "y": 7000,
                                   "wires": [
                                       [
                                           "c577d279cf9947a6"
                                       ],
                                       [
                                           "7bc2b7578ffbabe3"
                                       ],
                                       [
                                           "ba3d7ecc609d611a"
                                       ],
                                       [
                                           "ae91ecd3729d1f8b"
                                       ]
                                   ]
                               }
                            ]
                            

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

                              @mickym i've done
                              vielen dank

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              921
                              Online

                              31.7k
                              Users

                              79.7k
                              Topics

                              1.3m
                              Posts

                              3
                              14
                              603
                              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