Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. Philips Hue Switch -- Shelly Actor, Tuya,Sonoff,Hue

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    738

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

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

Geplant Angeheftet Gesperrt Verschoben Node-Red
14 Beiträge 3 Kommentatoren 1.3k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • haselchenH haselchen

    @aphofis

    Hast Du eine HUE Bridge?

    AphofisA Offline
    AphofisA Offline
    Aphofis
    schrieb am zuletzt editiert von Aphofis
    #3

    @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

    haselchenH 1 Antwort Letzte Antwort
    0
    • AphofisA 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

      haselchenH Offline
      haselchenH Offline
      haselchen
      Most Active
      schrieb am zuletzt editiert von haselchen
      #4

      @aphofis

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

      Entweder über den Palettenmanager oder manuell installieren.

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

      Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

      AphofisA 1 Antwort Letzte Antwort
      0
      • haselchenH haselchen

        @aphofis

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

        Entweder über den Palettenmanager oder manuell installieren.

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

        AphofisA Offline
        AphofisA Offline
        Aphofis
        schrieb am zuletzt editiert von Aphofis
        #5

        @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

        haselchenH 1 Antwort Letzte Antwort
        0
        • AphofisA 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

          haselchenH Offline
          haselchenH Offline
          haselchen
          Most Active
          schrieb am zuletzt editiert von
          #6

          @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

          Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

          AphofisA 1 Antwort Letzte Antwort
          0
          • haselchenH haselchen

            @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

            AphofisA Offline
            AphofisA Offline
            Aphofis
            schrieb am zuletzt editiert von
            #7

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

            AphofisA 1 Antwort Letzte Antwort
            0
            • AphofisA Aphofis

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

              AphofisA Offline
              AphofisA Offline
              Aphofis
              schrieb am zuletzt editiert von Aphofis
              #8

              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

              AphofisA 1 Antwort Letzte Antwort
              0
              • AphofisA 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

                AphofisA Offline
                AphofisA Offline
                Aphofis
                schrieb am zuletzt editiert von
                #9

                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 Antwort Letzte Antwort
                0
                • AphofisA Offline
                  AphofisA Offline
                  Aphofis
                  schrieb am zuletzt editiert von
                  #10

                  @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

                  haselchenH 1 Antwort Letzte Antwort
                  0
                  • AphofisA Aphofis

                    @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

                    haselchenH Offline
                    haselchenH Offline
                    haselchen
                    Most Active
                    schrieb am zuletzt editiert von haselchen
                    #11

                    @aphofis

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

                    Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                    AphofisA 1 Antwort Letzte Antwort
                    1
                    • haselchenH haselchen

                      @aphofis

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

                      AphofisA Offline
                      AphofisA Offline
                      Aphofis
                      schrieb am zuletzt editiert von Aphofis
                      #12

                      @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": []
                          }
                      ]
                      

                      mickymM 1 Antwort Letzte Antwort
                      1
                      • AphofisA 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": []
                            }
                        ]
                        

                        mickymM Online
                        mickymM Online
                        mickym
                        Most Active
                        schrieb am zuletzt editiert von
                        #13

                        @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"
                                   ]
                               ]
                           }
                        ]
                        

                        Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                        AphofisA 1 Antwort Letzte Antwort
                        1
                        • mickymM mickym

                          @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"
                                     ]
                                 ]
                             }
                          ]
                          

                          AphofisA Offline
                          AphofisA Offline
                          Aphofis
                          schrieb am zuletzt editiert von
                          #14

                          @mickym i've done
                          vielen dank

                          1 Antwort Letzte Antwort
                          0
                          Antworten
                          • In einem neuen Thema antworten
                          Anmelden zum Antworten
                          • Älteste zuerst
                          • Neuste zuerst
                          • Meiste Stimmen


                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          678

                          Online

                          32.6k

                          Benutzer

                          82.0k

                          Themen

                          1.3m

                          Beiträge
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                          ioBroker Community 2014-2025
                          logo
                          • Anmelden

                          • Du hast noch kein Konto? Registrieren

                          • Anmelden oder registrieren, um zu suchen
                          • Erster Beitrag
                            Letzter Beitrag
                          0
                          • Home
                          • Aktuell
                          • Tags
                          • Ungelesen 0
                          • Kategorien
                          • Unreplied
                          • Beliebt
                          • GitHub
                          • Docu
                          • Hilfe