Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] MQTT Datenpunkt parsen Blockly

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] MQTT Datenpunkt parsen Blockly

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

      Bei neuen ShellyPlusHT bekomme ich die Temp via MQTT in den DP temperature:0
      mit folgendem Content:

      {"id": 0,"tC":27.6, "tF":81.7}
      

      Blockly sieht so aus und funktioniert:
      javascript_-_ioBroker-prox.png

      Bei der Batterie-Anzeige sieht es wie folgt aus im DP devicepower:0

      {"id": 0,"battery":{"V":5.21, "percent":65},"external":{"present":false}}
      

      Für das Blockly benötige ich noch Hilfe: weil so geht's nicht
      javascript_-_ioBroker-prox-2.png

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

        @tritor sagte: so geht's nicht

        "battery.percent" ohne "id.". Die Wandlung nach Zahl ist überflüssig.

        1 Reply Last reply Reply Quote 0
        • T
          tritor last edited by

          @paul53

          Blockly angepasst:
          javascript_-_ioBroker-prox-3.png

          der DP Battery bleibt auf leider auf (null)
          objects_-_ioBroker-prox-2.png

          DP ist wie folgt angelegt:

          objects_-_ioBroker-prox-3.png

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

            @tritor sagte: der DP Battery bleibt auf leider auf (null)

            Falscher Trigger-Datenpunkt : temperature:0.

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

            Support us

            ioBroker
            Community Adapters
            Donate

            807
            Online

            32.0k
            Users

            80.5k
            Topics

            1.3m
            Posts

            2
            4
            239
            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