Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Iteration von Objektwerten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Iteration von Objektwerten

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

      Hallo,

      ich stehe gerade etwas auf dem Schlauch … ich möchte in einem JS alle Objekte in einem Teilbaum mit Name = XY iterieren um dann in der Schleife eine Prüfung zu machen.

      Konkret in Pseudocode:

      FOR EACH element IN maxcube.0* wo element.name = battery_low

      {

      do some magic stuff

      }

      Wie kann ich das machen? ^^

      1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer last edited by

        Siehe https://github.com/ioBroker/ioBroker.ja ... --selector

        Dafür gibts den $-Selektor

        1 Reply Last reply Reply Quote 0
        • A
          atomic3930 last edited by

          Top! Vielen Dank 🙂

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

          Support us

          ioBroker
          Community Adapters
          Donate

          945
          Online

          31.7k
          Users

          79.9k
          Topics

          1.3m
          Posts

          2
          3
          414
          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