Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. id von selektor wert in variable

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    id von selektor wert in variable

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

      Hallo,

      ich möchte gerne mein Wecker Blockly etwas optimieren, dazu möchte ich gerne Id von Selektor verwenden.
      Ich bräuchte von meine Ical Kalender die Werte als Variable.
      id-von-selektor.jpg

      Wie bekomme ich die Wahr werte nun alle separat in eine Variable?

      vielen Dank schon mal

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @bishop last edited by liv-in-sky

        @bishop

        seperat ? du kannst dir wieder ein array (list) machen und die werte darin speichern - später im script kannst du die dann ansprechen

        Image 7.png

        oder wolltest du was anderes ?

        B 1 Reply Last reply Reply Quote 0
        • B
          bishop @liv-in-sky last edited by

          @liv-in-sky
          vielen dank dafür.

          ich möchte z.b. wenn in der Liste Urlaub und papa vorkommt der Wecker ausgeschalten wird.

          wecker1.jpg
          wecker2.jpg

          dieses Blockly vereinfachen!

          liv-in-sky 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @bishop last edited by

            @bishop also - wirklich einfacher wird das ganze nicht - das abschalten blockly wird ja gleich bleiben. es geht ja eigentlich nur um das obere blockly.

            da du aber mit dem selektor erstmal alles aussortieren musst, wird der aufwand größer - also keine vereinfachung

            der selektor bringt dir hier nicht viel - außer mehr aufwand 😞

            B 1 Reply Last reply Reply Quote 0
            • B
              bishop @liv-in-sky last edited by

              @liv-in-sky

              alles klar, vielen Dank für deine Mühen

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

              Support us

              ioBroker
              Community Adapters
              Donate

              798
              Online

              32.0k
              Users

              80.5k
              Topics

              1.3m
              Posts

              2
              5
              347
              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