Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] SimpleAPI -> Mehrere States mit einen Befehl ändern

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] SimpleAPI -> Mehrere States mit einen Befehl ändern

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

      Hi zusammen, ich hab da mal wieder ne Frage.

      Und zwar hab ich mir eine Wetterstation auf Basis eines arduino gebaut und da schicke ich alle Daten an iobroker.

      Derzeit für jede Variable die übertragen werden soll ein Befehl. Das sind insgesamt etwa 25 get Aufrufe pro Übernachtung an iobroker.

      z.b.

      GET /set/javascript.0.WetterstationDach.KombiSensorPressure?value="+String(kombiSensorPressure);
      
      GET /set/javascript.0.WetterstationDach.KombiSensorRelPressure?value="+String(kombiSensorRelPressure);
      
      

      Lässt sich das irgendwie über einen zusammengefassten get Aufruf an simpleAPI schicken?

      Gruß Johnny

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

        Schau dir mal die github Doku an. setBulk heißt das was du suchst.

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

        Support us

        ioBroker
        Community Adapters
        Donate
        FAQ Cloud / IOT
        HowTo: Node.js-Update
        HowTo: Backup/Restore
        Downloads
        BLOG

        416
        Online

        32.0k
        Users

        80.5k
        Topics

        1.3m
        Posts

        2
        2
        436
        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