Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Datenpunkte in Variable holen

    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

    Datenpunkte in Variable holen

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

      Hallo

      Wie bekomme ich alle Datenpunkte mit dem Raum=Bewaesserung in JavaScript in eine Variable.

      Und kann man da zb auch ein oder einbauen also Raum=Schalter oder Raum=Switch?

      Danke

      lg

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

        Ich verstehe die Frage nicht ganz. Was genau hast du vor zu tun?

        1 Reply Last reply Reply Quote 0
        • K
          Kueppert last edited by

          Ich habe es auch nicht verstanden o.O

          Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk

          1 Reply Last reply Reply Quote 0
          • H
            homecineplexx last edited by

            Sorry hab vergessen das Foto anzuhängen. Hol ich dann nach

            1 Reply Last reply Reply Quote 0
            • H
              homecineplexx last edited by

              also ich möchte einfach im javascript eine variable definieren bei der ich alle datenpunkte mit (bewaesserung) bekomme.

              und die 2te frage ist, kann man zb räume oder functions verODERn? sprich (rooms="xx") | (functions="yy")
              6704_iobroker_bewaesserung.jpg

              1 Reply Last reply Reply Quote 0
              • H
                homecineplexx last edited by

                wäre wirklich dringend 🙂

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

                  Die https://github.com/ioBroker/ioBroker.javascript/blob/master/doc/en/javascript.md#–-selector des JS-Adapters kennst Du ?

                  Vielleicht so ?

                  const bewaesserung = $('channel(rooms=bewaesserung)');
                  log(JSON.stringify(bewaesserung));
                  
                  1 Reply Last reply Reply Quote 0
                  • H
                    homecineplexx last edited by

                    ja super…genau das meinte ich, allerdings kannte ich die Doku nicht.

                    jetzt nur noch eine schnelle frage...kann man da auch ein ODER einbauen? oder muß ich das mit 2 variablen machen und dann verknüpfen?

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

                      @homecineplexx:

                      muß ich das mit 2 variablen machen und dann verknüpfen? `
                      Ja.

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

                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      813
                      Online

                      31.7k
                      Users

                      79.9k
                      Topics

                      1.3m
                      Posts

                      4
                      9
                      918
                      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