Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. MQTT Analogen Wert "JSON" extrahieren in "Zahl"

    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

    MQTT Analogen Wert "JSON" extrahieren in "Zahl"

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

      Hi Leute / Hallo Forum,

      jemand eine Idee wie man MQTT JSON Wert (Siehe Screenshot) in einen neuen "Datenpunkt" mit dem Typ "Zahl" extrahiert?
      VG
      MrPit
      json_to_zahl.JPG

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

        @mrpit

        on(idSensor, function(dp) {
           setState(idA0, JSON.parse(dp.state.val).ANALOG.A0, true);
        });
        
        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        469
        Online

        31.8k
        Users

        80.0k
        Topics

        1.3m
        Posts

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