Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Tasmato Smartmeter und MQTT

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Tasmato Smartmeter und MQTT

    This topic has been deleted. Only users with topic management privileges can see it.
    • MartinP
      MartinP @Stefan N. last edited by

      @stefan-n es gibt zwei Möglichkeiten.

      1. Der Sonoff Adapter zerlegt die JSON Strukturen schon im Adapter in die Einzelwerte.

      2. Alias Datenpunkte anlegen und mit Konvertierungsfunktion die Werte extrahieren.

      1 Reply Last reply Reply Quote 0
      • Samson71
        Samson71 Global Moderator last edited by Samson71

        3.Möglichkeit: Aufbereitung mittels Node-red

        Am einfachsten ist aber vermutlich der Sonoff Adapter.

        S 1 Reply Last reply Reply Quote 0
        • S
          Stefan N. @Samson71 last edited by

          hab jetzt mal den sonoff adapter installiert ,es werden viel Daten angezeigt aber kein Stromwerte Angezeigt Bildschirmfoto 2024-02-18 um 10.01.23.png

          Ralla66 1 Reply Last reply Reply Quote 0
          • Ralla66
            Ralla66 Most Active @Stefan N. last edited by

            @stefan-n

            dann wird vom Gerät nix gesendet

            S 1 Reply Last reply Reply Quote 0
            • S
              Stefan N. @Ralla66 last edited by

              aber bei MQTT werden die Stromwerte angezeigt, also werden Sie ja gesendet
              {"Time":"2024-02-18T07:59:42","Main":{"POWER":203,"counter_pos":3601.474,"counter_neg":30.006}}

              S 1 Reply Last reply Reply Quote 0
              • S
                Stefan N. @Stefan N. last edited by

                @stefan-n sagte in Tasmato Smartmeter und MQTT:

                aber bei MQTT werden die Stromwerte angezeigt, also werden Sie ja gesendet
                {"Time":"2024-02-18T07:59:42","Main":{"POWER":203,"counter_pos":3601.474,"counter_neg":30.006}}

                sonoff zeigt jetzt ein FehlerBildschirmfoto 2024-02-18 um 10.34.42.png

                MartinP 1 Reply Last reply Reply Quote 0
                • MartinP
                  MartinP @Stefan N. last edited by MartinP

                  @stefan-n Dann scheint der Sonoff-Adapter mit dem JSON Format nicht zurecht zu kommen.

                  Zurück auf den Mqtt client/broker Adapter und dann mit Alias sähe etwa so aus

                  a04b70cf-2c57-4a70-8e0f-552928bceaf0-grafik.png

                  Die Lese-Konvertier-Funktion für den Bezugszählerstand wäre z. B.

                  JSON.parse(val).counter_pos

                  paul53 S 2 Replies Last reply Reply Quote 0
                  • paul53
                    paul53 @MartinP last edited by

                    @martinp sagte: Die Lese-Konvertier-Funktion für den Bezugszählerstand wäre z. B.

                    JSON.parse(val).Main.counter_pos
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Stefan N. @MartinP last edited by

                      kommt eine fehler meldung (undef)
                      Bildschirmfoto 2024-02-18 um 11.02.35.png
                      Bildschirmfoto 2024-02-18 um 11.00.02.png
                      Bildschirmfoto 2024-02-18 um 11.00.12.png
                      Bildschirmfoto 2024-02-18 um 10.59.02.png

                      paul53 Homoran 2 Replies Last reply Reply Quote 0
                      • paul53
                        paul53 @Stefan N. last edited by paul53

                        @stefan-n sagte: kommt eine fehler meldung (undef)

                        Siehe hier

                        Der Alias-DP muss vom Typ "Zahl" sein und sollte die Maßeinheit "kWh" und die Rolle "value" (read only) erhalten.
                        Weshalb der "Bezug" "SET" heißt, erschließt sich mir nicht.

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Stefan N. last edited by Homoran

                          @stefan-n sagte in Tasmato Smartmeter und MQTT:

                          kommt eine fehler meldung (undef)

                          ist kein Fehler, das stimmt ja auch.
                          da fehlt Main. ...

                          1 Reply Last reply Reply Quote 0
                          • S
                            Stefan N. @paul53 last edited by

                            @paul53 sagte in Tasmato Smartmeter und MQTT:

                            JSON.parse(val).Main.counter_pos

                            Ja so geht es

                            Dank Danke

                            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

                            612
                            Online

                            32.0k
                            Users

                            80.4k
                            Topics

                            1.3m
                            Posts

                            6
                            13
                            202
                            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