Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. EWE Elmo Smartmeter Wifi einbinden

    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

    EWE Elmo Smartmeter Wifi einbinden

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Glasfaser last edited by

      @glasfaser sagte in EWE Elmo Smartmeter Wifi einbinden:

      das müßte doch dann auch mit dem Smartmeter Adapter dann auslesbar sein ...

      nee, die Daten liegen als Array in einem Json vor

      @martin-0 sagte in EWE Elmo Smartmeter Wifi einbinden:

      {"meterId":"1KFM0000028196","deviceId":"EBSD1425009486","msgType":"EMETER_OBIS_V2","measurements":[{"timestamp":"2022-12-03T14:16:57Z","values":{"1-0:96.90.21":"7E2005D2","1-0:0.2.00":"312E3033","1-0:14.7.0255":49.900001525878906,"1-0:81.7.26255":348,"1-0:81.7.15255":296,"1-0:81.7.4255":332,"1-0:81.7.2255":239,"1-0:81.7.1255":119,"1-0:71.7.0255":0.50999999046325684,"1-0:51.7.0255":0.64999997615814209,"1-0:31.7.0255":0.82999998331069946,"1-0:72.7.0255":236.60000610351562,"1-0:52.7.0255":234,"1-0:32.7.0255":237.69999694824219,"1-0:16.7.0255":289,"1-0:2.8.0255":0,"1-0:1.8.0255":9071.662109375,"1-0:96.1.0255":"0A014B464D0000006E24","1-0:96.50.1*1":"4B464D"}}]}

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @G.Hawk last edited by

        @martin-0 sagte in EWE Elmo Smartmeter Wifi einbinden:

        Der Adapter bleibt gelb

        11b1fd87-d104-478c-9943-249a8d4ccdce-grafik.png

        http://

        Ich kenne die Einstellungen nicht ... es kann auch sein ohne http://

        1 Reply Last reply Reply Quote 0
        • G
          G.Hawk @Homoran last edited by

          @homoran
          ERROR ON HTTP REQUEST: : Error: Invalid URI "http:/192.168.10.212/data"

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Homoran last edited by

            @homoran sagte in EWE Elmo Smartmeter Wifi einbinden:

            nee, die Daten liegen als Array in einem Json vor

            Ok ..

            nur überflogen ..

            Laut Adapter ...

            Json-Efr: OBIS data from EFR Smart Grid Hub (JSON format)
            
            1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @G.Hawk last edited by

              @martin-0 sagte in EWE Elmo Smartmeter Wifi einbinden:

              Invalid URI

              sagt doch alles !

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Glasfaser last edited by

                @glasfaser sagte in EWE Elmo Smartmeter Wifi einbinden:

                @martin-0 sagte in EWE Elmo Smartmeter Wifi einbinden:

                Invalid URI

                sagt doch alles !

                jepp! da ist nur ein /

                G 1 Reply Last reply Reply Quote 0
                • G
                  G.Hawk @Homoran last edited by

                  @homoran
                  Jo, berichtigt.
                  Jetzt:

                  ERROR ON HTTP REQUEST: : Error: Parse Error: Invalid header value char

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

                    @martin-0 sagte in EWE Elmo Smartmeter Wifi einbinden:

                    Invalid header

                    entspicht anscheinend der Fehlermeldung vom request

                    im Parser hattest du unsicheren Http-Parser erlaubt

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      G.Hawk @Homoran last edited by

                      @homoran
                      kann ich denn vielleicht Benutzername und Passwort mit übergeben?

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

                        @martin-0 sagte in EWE Elmo Smartmeter Wifi einbinden:

                        @homoran
                        kann ich denn vielleicht Benutzername und Passwort mit übergeben?

                        nein!
                        lies dir die Workarounds zu

                        @martin-0 sagte in EWE Elmo Smartmeter Wifi einbinden:

                        HPE_INVALID_HEADER_TOKEN

                        Durch

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          G.Hawk @Homoran last edited by

                          Hallo
                          Ich bins nochmal. Ich habe gestern den Raspberry neu aufgesetzt alle Daten zurückgesichert und nun bekomme ich über den Parser folgende Fehlermeldung:

                          Cannot read link "http://192.168.10.212/data": Error: Parse Error: Invalid header value char
                          

                          Hat sich am Parser irgendetwas geändert?
                          Ich finde die Einstellung nicht, dass ich unsichere Verbindungen zulassen kann.

                          Es geht immernoch um den Datenaufruf, der im Browser so aussieht:

                          {"meterId":"1KFM0000028196","deviceId":"EBSD1425009486","msgType":"EMETER_OBIS_V2","measurements":[{"timestamp":"2023-03-11T09:08:23Z","values":{"1-119:7.1.0*2":0,"1-0:96.90.2*1":"7E2005D2","1-0:0.2.0*0":"312E3033","1-0:14.7.0*255":49.900001525878906,"1-0:81.7.26*255":358,"1-0:81.7.15*255":329,"1-0:81.7.4*255":338,"1-0:81.7.2*255":239,"1-0:81.7.1*255":119,"1-0:71.7.0*255":9.880000114440918,"1-0:51.7.0*255":1.0900000333786011,"1-0:31.7.0*255":0.92000001668930054,"1-0:72.7.0*255":231.39999389648438,"1-0:52.7.0*255":232.39999389648438,"1-0:32.7.0*255":234.80000305175781,"1-0:16.7.0*255":2636,"1-0:2.8.0*255":0,"1-0:1.8.0*255":10229.44921875,"1-0:96.1.0*255":"0A014B464D0000006E24","1-0:96.50.1*1":"4B464D"}}]}
                          

                          Oder gibt es vielleicht schon eine bessere Idee die Daten von dem Lesekopf zu holen?

                          Gruß
                          Martin

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            G.Hawk @G.Hawk last edited by

                            Es gibt nun eine Lösung den EWE Elmo auszulesen:

                            Vielen Dank an @mickym der dieses geile Blockly geschrieben hat.

                            Hier die Lösung:

                            Unbenannt.JPG

                            <xml xmlns="https://developers.google.com/blockly/xml">
                              <variables>
                                <variable id="HKZ8QJwOkjzcY{)478uh">data</variable>
                              </variables>
                              <block type="procedures_defcustomreturn" id=".0+pfi#8i#U#jm$iU4:(" x="838" y="-138">
                                <mutation statements="false"></mutation>
                                <field name="NAME">EWE_Elmo</field>
                                <field name="SCRIPT">Y29uc3QgYXhpb3MgPSByZXF1aXJlKCdheGlvcycpOw0KIA0KY29uc3QgdXJsID0gJ2h0dHA6Ly8xOTIuMTY4LjEwLjIxMi9kYXRhJzsNCiANCnJldHVybiBheGlvcy5nZXQodXJsLCB7IGluc2VjdXJlSFRUUFBhcnNlcjogdHJ1ZSB9KS50aGVuKChyZXNwb25zZSkgPT4gcmVzcG9uc2UuZGF0YSk7DQo=</field>
                                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                              </block>
                              <block type="schedule" id="PZX=m6gsch].ER3b]?)l" x="63" y="-88">
                                <field name="SCHEDULE">* * * * *</field>
                                <statement name="STATEMENT">
                                  <block type="variables_set" id="(^z7u:OWv3wK-3WwfK0$">
                                    <field name="VAR" id="HKZ8QJwOkjzcY{)478uh">data</field>
                                    <value name="VALUE">
                                      <block type="procedures_callcustomreturn" id="}DioNbC)Da-GiVrMZiBd">
                                        <mutation name="EWE_Elmo"></mutation>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="DL7OU@`NdOckqmFyr~K4">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.Geraetesteuerung.Strom.Stromzähler_untere_Wohnung.Elmo_EWE.Hauptzaehlerstand_aktuell</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="convert_jsonata" id="Fn3{d1`bQT(R#,.DSWI_">
                                            <value name="EXPRESSION">
                                              <shadow type="text" id="K~.FXx{(u4hCr@*VlT0f">
                                                <field name="TEXT">$.measurements[0].values."1-0:1.8.0*255"</field>
                                              </shadow>
                                            </value>
                                            <value name="TARGET">
                                              <block type="variables_get" id="DgVS.JaXD~{6lDO?gAsE">
                                                <field name="VAR" id="HKZ8QJwOkjzcY{)478uh">data</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="?=z|HV#-:d`Q|SH[:_xq">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Geraetesteuerung.Strom.Stromzähler_untere_Wohnung.Elmo_EWE.Einspeisezaehlerstand_aktuell</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="convert_jsonata" id="nO49a*}C;,c0Z~suk6mt">
                                                <value name="EXPRESSION">
                                                  <shadow type="text" id="2b0xNcCby$Sa[%U=i*w{">
                                                    <field name="TEXT">$.measurements[0].values."1-0:2.8.0*255"</field>
                                                  </shadow>
                                                </value>
                                                <value name="TARGET">
                                                  <block type="variables_get" id="/8bt$.wh.$qV~_=JgRQt">
                                                    <field name="VAR" id="HKZ8QJwOkjzcY{)478uh">data</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="8OCZ#aLl}`qx=%m$!ihT">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Geraetesteuerung.Strom.Stromzähler_untere_Wohnung.Elmo_EWE.Stromverbrauch_aktuell</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="convert_jsonata" id="ks,c^F+c6K)B,/E1qn~g">
                                                    <value name="EXPRESSION">
                                                      <shadow type="text" id="Oz+/([mca!_Cfa)wu8IE">
                                                        <field name="TEXT">$.measurements[0].values."1-0:16.7.0*255"</field>
                                                      </shadow>
                                                    </value>
                                                    <value name="TARGET">
                                                      <block type="variables_get" id="OeFO{7Y*E*=zJCQm{cv{">
                                                        <field name="VAR" id="HKZ8QJwOkjzcY{)478uh">data</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="debug" id="(#D=4jImQYEWBq9nk/o.">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="Ipk)om!*g3w3lb+7ERhe">
                                                        <field name="TEXT">test</field>
                                                      </shadow>
                                                      <block type="convert_jsonata" id="%=2N*j`S5|XL#yGyeI#/">
                                                        <value name="EXPRESSION">
                                                          <shadow type="text" id="4N:x_Lg,Wyj4i`w{CLp$">
                                                            <field name="TEXT">$.measurements[0].values."1-0:16.7.0*255"</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="TARGET">
                                                          <block type="variables_get" id="61cQ@n]W4V47kF7KXB2T">
                                                            <field name="VAR" id="HKZ8QJwOkjzcY{)478uh">data</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </xml>
                            
                            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

                            924
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            4
                            56
                            4724
                            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