Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Praktische Anwendungen (Showcase)
  4. Stromzähler per Sonoff ESP8266 auslesen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    486

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

Stromzähler per Sonoff ESP8266 auslesen

Scheduled Pinned Locked Moved Praktische Anwendungen (Showcase)
stromzähler auslesensonoffesp8266tasmotasmld0-schnittstellevolkszählerstromzähler
562 Posts 83 Posters 221.3k Views 84 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? A Former User

    @tobiasp

    zeigt der Zaehler die Werte denn ueberhaupt an?
    Oft sind diese nicht vom Versorger freigeschaltet...

    T Offline
    T Offline
    tobiasp
    wrote on last edited by
    #548

    @ilovegym
    Ja werden angezeigt

    T ? 2 Replies Last reply
    0
    • T tobiasp

      @ilovegym
      Ja werden angezeigt

      T Offline
      T Offline
      TT-Tom
      wrote on last edited by TT-Tom
      #549

      @tobiasp

      Den Info Parameter hast du auch auf On gesetzt?
      Wie sieht den das Script auf dem ESP aus? Sind dort die Werte hinterlegt?

      Gruß Tom
      https://github.com/tt-tom17
      Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

      NSPanel Script Wiki
      https://github.com/joBr99/nspanel-lovelace-ui/wiki

      NSPanel Adapter Wiki
      https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

      1 Reply Last reply
      0
      • T tobiasp

        @ilovegym
        Ja werden angezeigt

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by A Former User
        #550

        @tobiasp

        Hier ist ne sehr gute Hilfeseite, geh das mal durch...

        https://ottelo.jimdofree.com/stromzähler-auslesen-tasmota/

        Edit:
        https://tasmota-sml-parser.dicp.net/

        T 1 Reply Last reply
        0
        • ? A Former User

          @tobiasp

          Hier ist ne sehr gute Hilfeseite, geh das mal durch...

          https://ottelo.jimdofree.com/stromzähler-auslesen-tasmota/

          Edit:
          https://tasmota-sml-parser.dicp.net/

          T Offline
          T Offline
          tobiasp
          wrote on last edited by tobiasp
          #551

          @ilovegym
          Genau nachdem hab ich alles gemacht. Auf der Seite von Tasmota hab ich ja alle Werte,
          nur im Iobroker fehlen eben L1,L2,L3 und Einspeisung als Datenpunkt.

          T 1 Reply Last reply
          0
          • T tobiasp

            @ilovegym
            Genau nachdem hab ich alles gemacht. Auf der Seite von Tasmota hab ich ja alle Werte,
            nur im Iobroker fehlen eben L1,L2,L3 und Einspeisung als Datenpunkt.

            T Offline
            T Offline
            TT-Tom
            wrote on last edited by
            #552

            @tobiasp zeige mal das Script von Tasmota

            Gruß Tom
            https://github.com/tt-tom17
            Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

            NSPanel Script Wiki
            https://github.com/joBr99/nspanel-lovelace-ui/wiki

            NSPanel Adapter Wiki
            https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

            T 1 Reply Last reply
            0
            • T TT-Tom

              @tobiasp zeige mal das Script von Tasmota

              T Offline
              T Offline
              tobiasp
              wrote on last edited by
              #553

              @tt-tom ```

              D

              B
              ->sensor53 r

              M 1
              +1,3,s,0,9600,SML

              1,=h=================

              1,77070100010800ff@1000,Gesamtverbrauch,KWh,Total_in,2

              1,=h=================

              1,77070100100700ff@1,akt. Verbrauch,W,Power_curr,2

              1,=h=================

              1,77070100020800ff@1000,Gesamte Einspeisung,kWh,Total_out,2

              1,=h=================

              1,77070100240700FF@1,Wirkleistung L1,W,wirkleistung_l1,0

              1,=h=================

              1,77070100380700FF@1,Wirkleistung L2,W,wirkleistung_l2,0

              1,=h=================

              1,770701004C0700FF@1,Wirkleistung L3,W,wirkleistung_l3,0

              1,=h=================

              1,77070100000009ff@#,Zählernummer,,Meter_number,0

              1,=h=================

              T 1 Reply Last reply
              0
              • T tobiasp

                @tt-tom ```

                D

                B
                ->sensor53 r

                M 1
                +1,3,s,0,9600,SML

                1,=h=================

                1,77070100010800ff@1000,Gesamtverbrauch,KWh,Total_in,2

                1,=h=================

                1,77070100100700ff@1,akt. Verbrauch,W,Power_curr,2

                1,=h=================

                1,77070100020800ff@1000,Gesamte Einspeisung,kWh,Total_out,2

                1,=h=================

                1,77070100240700FF@1,Wirkleistung L1,W,wirkleistung_l1,0

                1,=h=================

                1,77070100380700FF@1,Wirkleistung L2,W,wirkleistung_l2,0

                1,=h=================

                1,770701004C0700FF@1,Wirkleistung L3,W,wirkleistung_l3,0

                1,=h=================

                1,77070100000009ff@#,Zählernummer,,Meter_number,0

                1,=h=================

                T Offline
                T Offline
                TT-Tom
                wrote on last edited by
                #554

                @tobiasp

                die ersten drei ``` müssen eine Zeile tiefer.

                Kürze bitte mal das ein auf pow_l1 usw. , du hast nur eine bestimmte Anzahl an Zeichen (7).

                Prefix for Web UI and MQTT JSON payload. Up to 7 characters. link

                Gruß Tom
                https://github.com/tt-tom17
                Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                NSPanel Script Wiki
                https://github.com/joBr99/nspanel-lovelace-ui/wiki

                NSPanel Adapter Wiki
                https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                T 1 Reply Last reply
                0
                • T TT-Tom

                  @tobiasp

                  die ersten drei ``` müssen eine Zeile tiefer.

                  Kürze bitte mal das ein auf pow_l1 usw. , du hast nur eine bestimmte Anzahl an Zeichen (7).

                  Prefix for Web UI and MQTT JSON payload. Up to 7 characters. link

                  T Offline
                  T Offline
                  tobiasp
                  wrote on last edited by
                  #555

                  @tt-tom
                  Was meinst du mit eins Runter? bzw einkürzen?

                  T 1 Reply Last reply
                  0
                  • T tobiasp

                    @tt-tom
                    Was meinst du mit eins Runter? bzw einkürzen?

                    T Offline
                    T Offline
                    TT-Tom
                    wrote on last edited by TT-Tom
                    #556

                    @tobiasp

                    Sorry am Handy ist da was schief gelaufen. So jetzt nochmal von zu Hause aus.

                    zeige bitte mal was in der Konsole von Tasmota potokolliert wird. sollte ungefähr so aussehen

                    PS die CodeTags ``` müssen in einer neuen Zeile fangen, damit es funktioniert, siehe dein Post mit dem Script

                    Gruß Tom
                    https://github.com/tt-tom17
                    Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                    NSPanel Script Wiki
                    https://github.com/joBr99/nspanel-lovelace-ui/wiki

                    NSPanel Adapter Wiki
                    https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                    T 1 Reply Last reply
                    0
                    • T TT-Tom

                      @tobiasp

                      Sorry am Handy ist da was schief gelaufen. So jetzt nochmal von zu Hause aus.

                      zeige bitte mal was in der Konsole von Tasmota potokolliert wird. sollte ungefähr so aussehen

                      PS die CodeTags ``` müssen in einer neuen Zeile fangen, damit es funktioniert, siehe dein Post mit dem Script

                      T Offline
                      T Offline
                      tobiasp
                      wrote on last edited by
                      #557

                      @tt-tom
                      17:34:13.424 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:13","SML":{"Total_in":4182.09,"Total_out":213.57,"Power_curr":627.00,"L1":222.00,"L2":399.00,"L3":5.00,"Meter_number":"090149534b00050ce521"}}
                      17:34:13.988 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:13","SML":{"L1":218.00}}
                      17:34:13.996 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:13","SML":{"L2":400.00}}
                      17:34:14.007 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:14","SML":{"L3":4.00}}
                      17:34:15.075 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:15","SML":{"L1":227.00}}
                      17:34:15.094 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:15","SML":{"L2":398.00}}
                      17:34:15.116 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:15","SML":{"L3":5.00}}
                      17:34:16.215 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:16","SML":{"L1":220.00}}

                      T 1 Reply Last reply
                      0
                      • T tobiasp

                        @tt-tom
                        17:34:13.424 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:13","SML":{"Total_in":4182.09,"Total_out":213.57,"Power_curr":627.00,"L1":222.00,"L2":399.00,"L3":5.00,"Meter_number":"090149534b00050ce521"}}
                        17:34:13.988 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:13","SML":{"L1":218.00}}
                        17:34:13.996 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:13","SML":{"L2":400.00}}
                        17:34:14.007 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:14","SML":{"L3":4.00}}
                        17:34:15.075 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:15","SML":{"L1":227.00}}
                        17:34:15.094 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:15","SML":{"L2":398.00}}
                        17:34:15.116 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:15","SML":{"L3":5.00}}
                        17:34:16.215 MQT: tele/tasmota_68FAA1/SENSOR = {"Time":"2024-01-11T17:34:16","SML":{"L1":220.00}}

                        T Offline
                        T Offline
                        TT-Tom
                        wrote on last edited by TT-Tom
                        #558

                        @tobiasp sagte in Stromzähler per Sonoff ESP8266 auslesen:

                        {"Total_in":4182.09,"Total_out":213.57,"Power_curr":627.00,"L1":222.00,"L2":399.00,"L3":5.00,"Meter_number":"090149534b00050ce521"}}

                        die ersten drei Werte passen ja noch zu deinem Script, aber warum dann L1 -L3 kommt, wo im Script etwas anderes steht, sehr komisch.
                        wie es aus sieht, aktualisiert er sekundenweise die Phasen. wie sieht es denn im Sonoff Adapter aus?

                        Gruß Tom
                        https://github.com/tt-tom17
                        Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                        NSPanel Script Wiki
                        https://github.com/joBr99/nspanel-lovelace-ui/wiki

                        NSPanel Adapter Wiki
                        https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                        T 1 Reply Last reply
                        0
                        • T TT-Tom

                          @tobiasp sagte in Stromzähler per Sonoff ESP8266 auslesen:

                          {"Total_in":4182.09,"Total_out":213.57,"Power_curr":627.00,"L1":222.00,"L2":399.00,"L3":5.00,"Meter_number":"090149534b00050ce521"}}

                          die ersten drei Werte passen ja noch zu deinem Script, aber warum dann L1 -L3 kommt, wo im Script etwas anderes steht, sehr komisch.
                          wie es aus sieht, aktualisiert er sekundenweise die Phasen. wie sieht es denn im Sonoff Adapter aus?

                          T Offline
                          T Offline
                          tobiasp
                          wrote on last edited by
                          #559

                          @tt-tom
                          Die drei Werte "SML":"Total-in":"2182.09,"Total-out":213.57,"Power-Curry"":22.00, kommen an.
                          L1 usw nicht.

                          T 2 Replies Last reply
                          0
                          • T tobiasp

                            @tt-tom
                            Die drei Werte "SML":"Total-in":"2182.09,"Total-out":213.57,"Power-Curry"":22.00, kommen an.
                            L1 usw nicht.

                            T Offline
                            T Offline
                            tobiasp
                            wrote on last edited by
                            #560

                            @tobiasp sms und smpr
                            Nochwas anderes hier ist mein neues Script. Wird der Zählerstand um 0 Uhr aktualiesiert oder muss ich im Script was einfügen. Bei Monatsanfang und JAhresanfang hab ich den Zählerstand eingefügt bei sma und glaub sya.

                            >D
                            
                            rssi=0
                            
                            s1="Tagesverbrauch: {m}<b><span style=>"
                            
                            v2=0
                            
                            hr=0
                            
                            md=0
                            
                            yr=0
                            
                            ;Strom
                            
                            sm=0
                            
                            sd=0
                            
                            sma=4052.4
                            
                            smn=0
                            
                            sya=4052.4
                            
                            syn=0
                            
                            sspr=0.2297
                            
                            yspr=0
                            
                            ysgp=184.80
                            
                            y€=0
                            
                             
                            
                            >T
                            
                            v2=SML#Total_in
                            
                            rssi=Wifi#RSSI
                            
                             
                            
                            >B
                            
                            ->sensor53 r
                            
                             
                            
                            >S
                            
                            ;Tagesverbrauch
                            
                            hr=hours
                            
                            if chg[hr]>0
                            
                            and hr==0
                            
                            and v2>0
                            
                            then
                            
                            sm=v2
                            
                            svars
                            
                            endif
                            
                            if upsecs%tper==0
                            
                            then
                            
                            sd=v2-sm
                            
                             
                            
                            ;Monatsverbrauch
                            
                            md=day
                            
                            if chg[md]>0
                            
                            and hr==0
                            
                            and md==1
                            
                            and v2>0
                            
                            then
                            
                            sma=v2
                            
                            svars
                            
                            endif
                            
                            if upsecs%tper==0
                            
                            then
                            
                            smn=v2-sma
                            
                            endif
                            
                             
                            
                            ;Jahresverbrauch
                            
                            yr=year
                            
                            if chg[yr]>0
                            
                            and hr==0
                            
                            and md==1
                            
                            and v2>0
                            
                            then
                            
                            sya=v2
                            
                            svars
                            
                            endif
                            
                            if upsecs%tper==0
                            
                            then
                            
                            syn=v2-sya
                            
                             
                            
                            ;Kosten
                            
                            yspr=syn*sspr+ysgp
                            
                            endif
                            
                             
                            
                            >J
                            
                            ,"Verbrauch Tag":"%sd%"
                            
                            ,"Verbrauch Monat":"%smn%"
                            
                            ,"Verbrauch Jahr":"%syn%"
                            
                            ,"Zählerstand 0:00Uhr":"%2sm%"
                            
                            ,"Zählerstand Monatsanfang":"%2sma%"
                            
                            ,"Zählerstand Jahrenanfang":"%2sya%"
                            
                            ,"Kosten dieses Jahr":"%2yspr%"
                            
                             
                            
                            >W
                            
                            WLAN Empfang: {m}%rssi% dBµV
                            
                            -------------------------------------------------------------------------------
                            
                            Tagesverbrauch:  {m} %2sd%  kWh
                            
                            Monatsverbrauch: {m} %2smn% kWh
                            
                            Jahresverbrauch: {m} %2syn% kWh
                            
                            Strom Preis/kWh:       {m} %4sspr% €
                            
                            Strom Grundpreis:      {m} %2ysgp% €
                            
                            -------------------------------------------------------------------------------
                            
                            Strom kosten lfd. Jahr:{m} %2yspr% €
                            
                            Strom Zählerstände:
                            
                            aktuell:         {m} %2v2% kWh
                            
                            0:00 Uhr:        {m} %2sm% kWh
                            
                            Monatsanfang:    {m} %2sma% kWh
                            
                            Jahresanfang:    {m} %2sya% kWh
                            
                            
                            >M 1
                            
                            +1,3,s,0,9600,SML
                            
                            1,77070100010800ff@1000,Gesamtverbrauch,KWh,Total_in,2 
                            
                            1,77070100020800ff@1000,Gesamtproduktion,kWh,Total_out,2
                            
                            1,77070100100700ff@1,akt. Verbrauch,W,Power_curr,2
                            
                            1,77070100240700ff@1,L1,W,L1,18
                            
                            1,77070100380700ff@1,L2,W,L2,18
                            
                            1,770701004C0700ff@1,L3,W,L3,18
                            
                            1,77070100000009ff@#,Zählernummer,,Meter_number,0
                            
                            1,=h===============|
                            
                            #
                            
                            1 Reply Last reply
                            0
                            • T tobiasp

                              @tt-tom
                              Die drei Werte "SML":"Total-in":"2182.09,"Total-out":213.57,"Power-Curry"":22.00, kommen an.
                              L1 usw nicht.

                              T Offline
                              T Offline
                              tobiasp
                              wrote on last edited by
                              #561

                              @tobiasp
                              Jetzt kommen die Werte an. Ich mustste am Adapter noch nen Hacken setzen. Danke erstmal

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                TT-Tom
                                wrote on last edited by
                                #562

                                @tobiasp
                                schön, das es jetzt funktioniert. Zeigt das Script jetzt auch auf der Weboberfläche die richtigen Daten an?

                                Gruß Tom
                                https://github.com/tt-tom17
                                Wenn meine Hilfe erfolgreich war, benutze bitte das Voting unten rechts im Beitrag

                                NSPanel Script Wiki
                                https://github.com/joBr99/nspanel-lovelace-ui/wiki

                                NSPanel Adapter Wiki
                                https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/wiki

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                602

                                Online

                                32.7k

                                Users

                                82.5k

                                Topics

                                1.3m

                                Posts
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                ioBroker Community 2014-2025
                                logo
                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Home
                                • Recent
                                • Tags
                                • Unread 0
                                • Categories
                                • Unreplied
                                • Popular
                                • GitHub
                                • Docu
                                • Hilfe