Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. FritzBox: DSL Geschwindigkeit auslesen?

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    FritzBox: DSL Geschwindigkeit auslesen?

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

      Hier gibt's auch noch einen Weg:

      http://forum.iobroker.net/viewtopic.php … 581#p39834

      Gruß

      Pix

      1 Reply Last reply Reply Quote 0
      • A
        aleks-83 last edited by

        @pix:

        Hier gibt's auch noch einen Weg:

        http://forum.iobroker.net/viewtopic.php … 581#p39834 `

        Der funktioniert bei mir super!

        Ich möchte jetzt allerdings in Echtzeit auslesen wieviel der Bandbreite gerade genutzt wird.

        Geht das? mit dem UPnP Adapter erhalte ich jede Menge Datenobjekte, aber alle ohne Wert :roll:

        Nur die boolschen Objekte zeigen true oder false.

        Wäre für mein Vorhaben nicht die ByteReceiveRate verantwortlich?

        1 Reply Last reply Reply Quote 0
        • Jey Cee
          Jey Cee Developer last edited by

          @aleks-83:

          mit dem UPnP Adapter erhalte ich jede Menge Datenobjekte, aber alle ohne Wert ` Du musst die Daten schon anfordern, nur ein Teil wird Automatisch via Abo abgerufen.

          https://github.com/Jey-Cee/ioBroker.upnp#Steuerung findest du die Doku zum Adapter.

          1 Reply Last reply Reply Quote 0
          • A
            aleks-83 last edited by

            Sorry aber das verstehe ich nicht.

            In der DOku werden die Konfigurationspunkt erklärt, aber nicht wie ich Daten anfordere [emoji53]

            1 Reply Last reply Reply Quote 0
            • F
              friemelkarl last edited by

              Irgendwo im UPNP Adapter gibt es bei dem Gerät "Name deiner Fritzbox" den Punkt GetAddonInfos

              Trägst du bei Wert "send" ein, werden die Datenpunkte mir Werten gefüllt! 4751_unbenannt.png

              H 1 Reply Last reply Reply Quote 0
              • A
                aleks-83 last edited by

                Ah ok Danke.

                Jetzt stehen fast überall Werte drin.

                Wie muss ich die denn verstehen?

                Bei ByteReceiveRate steht 17677 und bei SendRate 1572.

                Dazu fällt mir keine Umrechnung ein die Sinn macht.

                Und der Wert ist auch statisch.

                Ich hatte gedacht dass dieser Wert mir angibt, welcher Datendurchsatz jetzt aktuell auf der Leitung genutzt wird.

                1 Reply Last reply Reply Quote 0
                • Stabilostick
                  Stabilostick last edited by

                  Die FRITZ!Box liefert hier die an dem DSL-Anschluss erreichbare netto DSL-Geschwindigkeit (kBit/s). Sie zeigt die Verbindungsgeschwindigkeit zwischen dem Router und der „Vermittlungsstelle“ an. Diese Datenrate ist in der Regel geringer als die Geschwindigkeit, die im DSL-Anschlussvertrag mit dem DSL-Anbieter vereinbart wurde.

                  Bei jedem Verbindungsneuaufbau wird diese Geschwindigkeit neu ausgehandelt.

                  1 Reply Last reply Reply Quote 0
                  • A
                    aleks-83 last edited by

                    OK.

                    Und das hat nichts mit der reellen Geschwindigkeit zu tun?

                    Denn meine download rate liegt bei ca. 40.000 kBit/s, nicht bei 17.000.

                    Gibt es denn einen Eintrag mit dem ich die aktuell verwendete download rate einbinden kann?

                    Also ich möchte im vis darstellenit wieviel kbit /s der Anschluss aktuell belastet wird.

                    So eine Anzeige gibt es ja aus der FritzBox Oberfläche auch.

                    EDIT:

                    Ich habe hier in https://forum.iobroker.net/viewtopic.php?t=10305 was dazu gefunden.

                    Dort schreibe ich zu meinem Anliegen weiter.

                    Passt dort besser hin.

                    1 Reply Last reply Reply Quote 0
                    • S
                      schittl last edited by

                      @Marcolotti:

                      Guten Morgen,

                      ! ich habe sie per uPnp ausgelesen und gleich umgerechnet. Siehe hier Blockly-Export:

                       <xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="^R1I1qEBx55RD^h`(V=E" x="41" y="72"><mutation items="1"></mutation>
                          <field name="CONDITION">ne</field>
                          
                          <value name="OID0"><shadow type="field_oid" id="z)9{{HUEqN34THiA],XG"><field name="oid">upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.ByteReceiveRate</field></shadow></value> 
                          <statement name="STATEMENT"><block type="update" id="2f#6%Se8+Gd0s}2_Hm2y"><mutation delay_input="false"></mutation>
                              <field name="OID">javascript.0.FritzBox.Download</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block type="math_arithmetic" id="?@yk1ANr8_N3JBF?etuU"><field name="OP">MULTIPLY</field>
                                  <value name="A"><shadow type="math_number" id="^+F8R/({bi}g+USyaUC+"><field name="NUM">1</field></shadow> 
                                    <block type="math_arithmetic" id="P?q.:u~+@oT7KesUG3H^"><field name="OP">DIVIDE</field>
                                      <value name="A"><shadow type="math_number" id="oG0sVIyrWffYyI2tkF+J"><field name="NUM">1</field></shadow> 
                                        <block type="math_arithmetic" id="ET@az/a#_]-!7Khz]J51"><field name="OP">DIVIDE</field>
                                          <value name="A"><shadow type="math_number" id="t)d.0fa8P[/d=wg4.9}M"><field name="NUM">1</field></shadow> 
                                            <block type="get_value" id="K~RQv[KfNhJo1pxyDI:U"><field name="ATTR">val</field>
                                              <field name="OID">upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.ByteReceiveRate</field></block></value> 
                                          <value name="B"><shadow type="math_number" id="S*3-!FQ6L*C~ZYe%u1^z"><field name="NUM">1024</field></shadow></value></block></value> 
                                      <value name="B"><shadow type="math_number" id="1-tToMx+yzQZb,s,,Vw*"><field name="NUM">1024</field></shadow></value></block></value> 
                                  <value name="B"><shadow type="math_number" id="Axjl,V:^[.Pj/bq:Ie;/"><field name="NUM">8</field></shadow></value></block></value></block></statement> 
                          <next><block type="on_ext" id="]A6BtvC!bt+j,dn-h?/4"><mutation items="1"></mutation>
                              <field name="CONDITION">ne</field>
                              
                              <value name="OID0"><shadow type="field_oid" id="O8{TfCNhL(qh!qLN(Ua#"><field name="oid">upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.ByteSendRate</field></shadow></value> 
                              <statement name="STATEMENT"><block type="update" id="qe4}/8fbJ6XW_AyKv-{W"><mutation delay_input="false"></mutation>
                                  <field name="OID">javascript.0.FritzBox.Upload</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE"><block type="math_arithmetic" id="mir+Ng@=E.o9.{+]c_uW"><field name="OP">MULTIPLY</field>
                                      <value name="A"><shadow type="math_number" id="^+F8R/({bi}g+USyaUC+"><field name="NUM">1</field></shadow> 
                                        <block type="math_arithmetic" id="Tq!.VtD7p9WwwVlk}S!t"><field name="OP">DIVIDE</field>
                                          <value name="A"><shadow type="math_number" id="oG0sVIyrWffYyI2tkF+J"><field name="NUM">1</field></shadow> 
                                            <block type="math_arithmetic" id="z(^:3#eq,T[v0sm@#!-)"><field name="OP">DIVIDE</field>
                                              <value name="A"><shadow type="math_number" id="t)d.0fa8P[/d=wg4.9}M"><field name="NUM">1</field></shadow> 
                                                <block type="get_value" id="6qcs~dAk3;ftLZ]-r)2|"><field name="ATTR">val</field>
                                                  <field name="OID">upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.ByteSendRate</field></block></value> 
                                              <value name="B"><shadow type="math_number" id="=n1alLbagJ7nQfu80Thj"><field name="NUM">1024</field></shadow></value></block></value> 
                                          <value name="B"><shadow type="math_number" id="~XFV!OyK3,tWK`#%a?Z_"><field name="NUM">1024</field></shadow></value></block></value> 
                                      <value name="B"><shadow type="math_number" id="lko5,SkbV(I/o5hx4yKf"><field name="NUM">8</field></shadow></value></block></value></block></statement> 
                              <next><block type="on_ext" id="jz[V~:8fwCMa2:Cs|}t)"><mutation items="1"></mutation>
                                  <field name="CONDITION">ne</field>
                                  
                                  <value name="OID0"><shadow type="field_oid" id="m0EPlQwO7*1}2/k32?~)"><field name="oid">upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.NewTotalBytesReceived</field></shadow></value> 
                                  <statement name="STATEMENT"><block type="update" id="d./{hY_/GNgmW![:sZw9"><mutation delay_input="false"></mutation>
                                      <field name="OID">javascript.0.FritzBox.VolumeDown</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE"><block type="math_arithmetic" id="*sP#X2V?Z8b+N?o%{V6m"><field name="OP">DIVIDE</field>
                                          <value name="A"><shadow type="math_number" id="zvea*u@}oq`7%h}LRvKe"><field name="NUM">1</field></shadow> 
                                            <block type="math_round" id="8LLX_p1vGxd-bFmL9cZX"><field name="OP">ROUND</field>
                                              <value name="NUM"><shadow type="math_number" id="`=psLSt|u.%bFJXNuPr%"><field name="NUM">3.1</field></shadow> 
                                                <block type="math_arithmetic" id="rKkIM0E?UP@*iNO5^w#m"><field name="OP">MULTIPLY</field>
                                                  <value name="A"><shadow type="math_number" id="a%?|zOR`:nUMIRam~.9:"><field name="NUM">1</field></shadow> 
                                                    <block type="math_arithmetic" id=")F?zQQCvjuj?*FoAsEfa"><field name="OP">DIVIDE</field>
                                                      <value name="A"><shadow type="math_number" id="^+F8R/({bi}g+USyaUC+"><field name="NUM">1</field></shadow> 
                                                        <block type="math_arithmetic" id=",itgpxp_66PiY.CNQ+pk"><field name="OP">DIVIDE</field>
                                                          <value name="A"><shadow type="math_number" id="oG0sVIyrWffYyI2tkF+J"><field name="NUM">1</field></shadow> 
                                                            <block type="math_arithmetic" id="BN;7bG%`;_1}]v9Rg~[z"><field name="OP">DIVIDE</field>
                                                              <value name="A"><shadow type="math_number" id="t)d.0fa8P[/d=wg4.9}M"><field name="NUM">1</field></shadow> 
                                                                <block type="get_value" id="JxovhYk=dxK3Fj=O5]qm"><field name="ATTR">val</field>
                                                                  <field name="OID">upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.TotalBytesReceived</field></block></value> 
                                                              <value name="B"><shadow type="math_number" id="M32MEAu(6k2oK,!UWPF`"><field name="NUM">1024</field></shadow></value></block></value> 
                                                          <value name="B"><shadow type="math_number" id="VKVK%f[L3{C3(;QcUt7k"><field name="NUM">1024</field></shadow></value></block></value> 
                                                      <value name="B"><shadow type="math_number" id=".[=z;5_jl^!,+=U#tsxV"><field name="NUM">1024</field></shadow></value></block></value> 
                                                  <value name="B"><shadow type="math_number" id="9;}kslve4U~q^m?{5zb*"><field name="NUM">10</field></shadow></value></block></value></block></value> 
                                          <value name="B"><shadow type="math_number" id="J7_R){)V=AYPAd#?n%@~"><field name="NUM">10</field></shadow></value></block></value></block></statement> 
                                  <next><block type="on_ext" id="!.Lv71Anl{b]hkXB^Pt{"><mutation items="1"></mutation>
                                      <field name="CONDITION">ne</field>
                                      
                                      <value name="OID0"><shadow type="field_oid" id="4:]SbR8SUSSejOYGe139"><field name="oid">upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.NewTotalBytesSent</field></shadow></value> 
                                      <statement name="STATEMENT"><block type="update" id="Y.1QPOzh4AP4N*3B~cCE"><mutation delay_input="false"></mutation>
                                          <field name="OID">javascript.0.FritzBox.VolumeUp</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE"><block type="math_arithmetic" id="k]@c~gb@4*f}_`jXd,@#"><field name="OP">DIVIDE</field>
                                              <value name="A"><shadow type="math_number" id="[oL4*,]*HE_Kn26Pp2rN"><field name="NUM">1</field></shadow> 
                                                <block type="math_round" id="x.4C91BI_z[e~]fhpdoJ"><field name="OP">ROUND</field>
                                                  <value name="NUM"><shadow type="math_number" id=".|xXI{:8;B+4ln|,tV,="><field name="NUM">3.1</field></shadow> 
                                                    <block type="math_arithmetic" id="r1Y1[AX}-aeJ~_n(NN{+"><field name="OP">MULTIPLY</field>
                                                      <value name="A"><shadow type="math_number" id="X)0WW;ERFR9phz1Pb|n~"><field name="NUM">1</field></shadow> 
                                                        <block type="math_arithmetic" id="{yd%*rF{o|5*_2)|#hKX"><field name="OP">DIVIDE</field>
                                                          <value name="A"><shadow type="math_number" id="^+F8R/({bi}g+USyaUC+"><field name="NUM">1</field></shadow> 
                                                            <block type="math_arithmetic" id="k?c4|cZ}YT-,M4xsi6^5"><field name="OP">DIVIDE</field>
                                                              <value name="A"><shadow type="math_number" id="oG0sVIyrWffYyI2tkF+J"><field name="NUM">1</field></shadow> 
                                                                <block type="math_arithmetic" id="55`M?_-gUz/4B`VJR9`R"><field name="OP">DIVIDE</field>
                                                                  <value name="A"><shadow type="math_number" id="t)d.0fa8P[/d=wg4.9}M"><field name="NUM">1</field></shadow> 
                                                                    <block type="get_value" id="np}1glMhkEM|d?l(SqTZ"><field name="ATTR">val</field>
                                                                      <field name="OID">upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.TotalBytesSent</field></block></value> 
                                                                  <value name="B"><shadow type="math_number" id="=xVBDg1ZKy/|T(UYV`Ub"><field name="NUM">1024</field></shadow></value></block></value> 
                                                              <value name="B"><shadow type="math_number" id="{X#[cLuXvd8p4k{Zey{:"><field name="NUM">1024</field></shadow></value></block></value> 
                                                          <value name="B"><shadow type="math_number" id="n.JAu.8]%0]3WON0!c9i"><field name="NUM">1024</field></shadow></value></block></value> 
                                                      <value name="B"><shadow type="math_number" id="4ic!%4x!.uJ,r}rVyI.C"><field name="NUM">10</field></shadow></value></block></value></block></value> 
                                              <value name="B"><shadow type="math_number" id="nKOt*HuUr+/~A/_F{X2b"><field name="NUM">10</field></shadow></value></block></value></block></statement></block></next></block></next></block></next></block></xml> 
                      

                      Javascript Code zum aktivieren:

                      schedule("*/6 * * * * *",  function () { 
                      setState( "upnp.0.FRITZ!Box_7272.WANDevice.WANCommonInterfaceConfig.GetAddonInfos",'send');
                      });
                      

                      Gruß Marco `

                      Hi Marco,

                      danke für den Hinweis. Hast Du die Daten auch irgendwie visualisiert und falls ja wie?

                      vg Falk

                      1 Reply Last reply Reply Quote 0
                      • S
                        SabineT last edited by

                        Eigentlich wäre ja auch die maximal mögliche Datenrate (Up- und Downlink) interessant. Aber irgendwie unterschlagt der uPnP Adapter den zugehörigen Object-Tree "WANDSLInterfaceConfig" (die FritzBox liefert das über http://fritz.box:49000/wandslifconfigSCPD.xml).

                        lg, Sabine

                        1 Reply Last reply Reply Quote 0
                        • Negalein
                          Negalein Global Moderator @Marcolotti last edited by

                          @Marcolotti sagte in FritzBox: DSL Geschwindigkeit auslesen?:

                          ich habe sie per uPnp ausgelesen und gleich umgerechnet. Siehe hier Blockly-Export:

                          Hallo Marco!

                          Hast du dir die DP (zB javascript.0.FritzBox.Upload) manuell angelegt?

                          TG70 1 Reply Last reply Reply Quote 0
                          • TG70
                            TG70 Forum Testing @Negalein last edited by TG70

                            Auch wenn das hier schon etwas älter ist. Ich suche noch genau nach diesen Werten der Fritzbox.
                            Bei mir werden nur Werte angezeigt, wenn ich manuell den "Request Button" drücke.
                            Die beiden Scripte oben habe ich eigentlich angepasst....

                            schedule("*/6 * * * * *",  function () { 
                            setState( "upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.GetAddonInfos",'send');
                            });
                            

                            2493113e-edba-4e71-bbc0-26e2d56f794d-image.png

                            <xml xmlns="https://developers.google.com/blockly/xml">
                              <block type="on_ext" id="^R1I1qEBx55RD^h`(V=E" x="41" y="72">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                <field name="CONDITION">ne</field>
                                <field name="ACK_CONDITION"></field>
                                <value name="OID0">
                                  <shadow type="field_oid" id="z)9{{HUEqN34THiA],XG">
                                    <field name="oid">upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.ByteReceiveRate</field>
                                  </shadow>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="update" id="2f#6%Se8+Gd0s}2_Hm2y">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">javascript.0.FritzBox.Download</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="math_arithmetic" id="?@yk1ANr8_N3JBF?etuU">
                                        <field name="OP">MULTIPLY</field>
                                        <value name="A">
                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="^+F8R/({bi}g+USyaUC+">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="math_arithmetic" id="P?q.:u~+@oT7KesUG3H^">
                                            <field name="OP">DIVIDE</field>
                                            <value name="A">
                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="oG0sVIyrWffYyI2tkF+J">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="math_arithmetic" id="ET@az/a#_]-!7Khz]J51">
                                                <field name="OP">DIVIDE</field>
                                                <value name="A">
                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="t)d.0fa8P[/d=wg4.9}M">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="get_value" id="K~RQv[KfNhJo1pxyDI:U">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.ByteReceiveRate</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="S*3-!FQ6L*C~ZYe%u1^z">
                                                    <field name="NUM">1024</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="1-tToMx+yzQZb,s,,Vw*">
                                                <field name="NUM">1024</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="Axjl,V:^[.Pj/bq:Ie;/">
                                            <field name="NUM">8</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="on_ext" id="]A6BtvC!bt+j,dn-h?/4">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                    <field name="CONDITION">ne</field>
                                    <field name="ACK_CONDITION"></field>
                                    <value name="OID0">
                                      <shadow type="field_oid" id="O8{TfCNhL(qh!qLN(Ua#">
                                        <field name="oid">upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.ByteSendRate</field>
                                      </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="update" id="qe4}/8fbJ6XW_AyKv-{W">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">javascript.0.FritzBox.Upload</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="mir+Ng@=E.o9.{+]c_uW">
                                            <field name="OP">MULTIPLY</field>
                                            <value name="A">
                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="^+F8R/({bi}g+USyaUC+">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="math_arithmetic" id="Tq!.VtD7p9WwwVlk}S!t">
                                                <field name="OP">DIVIDE</field>
                                                <value name="A">
                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="oG0sVIyrWffYyI2tkF+J">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_arithmetic" id="z(^:3#eq,T[v0sm@#!-)">
                                                    <field name="OP">DIVIDE</field>
                                                    <value name="A">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="t)d.0fa8P[/d=wg4.9}M">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="get_value" id="6qcs~dAk3;ftLZ]-r)2|">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.ByteSendRate</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="=n1alLbagJ7nQfu80Thj">
                                                        <field name="NUM">1024</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="~XFV!OyK3,tWK`#%a?Z_">
                                                    <field name="NUM">1024</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="lko5,SkbV(I/o5hx4yKf">
                                                <field name="NUM">8</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="on_ext" id="jz[V~:8fwCMa2:Cs|}t)">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                        <field name="CONDITION">ne</field>
                                        <field name="ACK_CONDITION"></field>
                                        <value name="OID0">
                                          <shadow type="field_oid" id="m0EPlQwO7*1}2/k32?~)">
                                            <field name="oid">upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.NewTotalBytesReceived</field>
                                          </shadow>
                                        </value>
                                        <statement name="STATEMENT">
                                          <block type="update" id="d./{hY_/GNgmW![:sZw9">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">javascript.0.FritzBox.VolumeDown</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="*sP#X2V?Z8b+N?o%{V6m">
                                                <field name="OP">DIVIDE</field>
                                                <value name="A">
                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="zvea*u@}oq`7%h}LRvKe">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_round" id="8LLX_p1vGxd-bFmL9cZX">
                                                    <field name="OP">ROUND</field>
                                                    <value name="NUM">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="`=psLSt|u.%bFJXNuPr%">
                                                        <field name="NUM">3.1</field>
                                                      </shadow>
                                                      <block type="math_arithmetic" id="rKkIM0E?UP@*iNO5^w#m">
                                                        <field name="OP">MULTIPLY</field>
                                                        <value name="A">
                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="a%?|zOR`:nUMIRam~.9:">
                                                            <field name="NUM">1</field>
                                                          </shadow>
                                                          <block type="math_arithmetic" id=")F?zQQCvjuj?*FoAsEfa">
                                                            <field name="OP">DIVIDE</field>
                                                            <value name="A">
                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="^+F8R/({bi}g+USyaUC+">
                                                                <field name="NUM">1</field>
                                                              </shadow>
                                                              <block type="math_arithmetic" id=",itgpxp_66PiY.CNQ+pk">
                                                                <field name="OP">DIVIDE</field>
                                                                <value name="A">
                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="oG0sVIyrWffYyI2tkF+J">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="math_arithmetic" id="BN;7bG%`;_1}]v9Rg~[z">
                                                                    <field name="OP">DIVIDE</field>
                                                                    <value name="A">
                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="t)d.0fa8P[/d=wg4.9}M">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="get_value" id="JxovhYk=dxK3Fj=O5]qm">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.NewTotalBytesReceived</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="M32MEAu(6k2oK,!UWPF`">
                                                                        <field name="NUM">1024</field>
                                                                      </shadow>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <shadow type="math_number" id="VKVK%f[L3{C3(;QcUt7k">
                                                                    <field name="NUM">1024</field>
                                                                  </shadow>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <shadow type="math_number" id=".[=z;5_jl^!,+=U#tsxV">
                                                                <field name="NUM">1024</field>
                                                              </shadow>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <shadow type="math_number" id="9;}kslve4U~q^m?{5zb*">
                                                            <field name="NUM">10</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="J7_R){)V=AYPAd#?n%@~">
                                                    <field name="NUM">10</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="on_ext" id="!.Lv71Anl{b]hkXB^Pt{">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                            <field name="CONDITION">ne</field>
                                            <field name="ACK_CONDITION"></field>
                                            <value name="OID0">
                                              <shadow type="field_oid" id="4:]SbR8SUSSejOYGe139">
                                                <field name="oid">upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.NewTotalBytesSent</field>
                                              </shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="update" id="Y.1QPOzh4AP4N*3B~cCE">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">javascript.0.FritzBox.VolumeUp</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_arithmetic" id="k]@c~gb@4*f}_`jXd,@#">
                                                    <field name="OP">DIVIDE</field>
                                                    <value name="A">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="[oL4*,]*HE_Kn26Pp2rN">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_round" id="x.4C91BI_z[e~]fhpdoJ">
                                                        <field name="OP">ROUND</field>
                                                        <value name="NUM">
                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id=".|xXI{:8;B+4ln|,tV,=">
                                                            <field name="NUM">3.1</field>
                                                          </shadow>
                                                          <block type="math_arithmetic" id="r1Y1[AX}-aeJ~_n(NN{+">
                                                            <field name="OP">MULTIPLY</field>
                                                            <value name="A">
                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="X)0WW;ERFR9phz1Pb|n~">
                                                                <field name="NUM">1</field>
                                                              </shadow>
                                                              <block type="math_arithmetic" id="{yd%*rF{o|5*_2)|#hKX">
                                                                <field name="OP">DIVIDE</field>
                                                                <value name="A">
                                                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="^+F8R/({bi}g+USyaUC+">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="math_arithmetic" id="k?c4|cZ}YT-,M4xsi6^5">
                                                                    <field name="OP">DIVIDE</field>
                                                                    <value name="A">
                                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="oG0sVIyrWffYyI2tkF+J">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="math_arithmetic" id="55`M?_-gUz/4B`VJR9`R">
                                                                        <field name="OP">DIVIDE</field>
                                                                        <value name="A">
                                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="t)d.0fa8P[/d=wg4.9}M">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="get_value" id="np}1glMhkEM|d?l(SqTZ">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">upnp.0.WANDevice_-_FRITZ!Box_6660_Cable.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.NewTotalBytesSent</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <shadow type="math_number" id="=xVBDg1ZKy/|T(UYV`Ub">
                                                                            <field name="NUM">1024</field>
                                                                          </shadow>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="{X#[cLuXvd8p4k{Zey{:">
                                                                        <field name="NUM">1024</field>
                                                                      </shadow>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <shadow type="math_number" id="n.JAu.8]%0]3WON0!c9i">
                                                                    <field name="NUM">1024</field>
                                                                  </shadow>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <shadow type="math_number" id="4ic!%4x!.uJ,r}rVyI.C">
                                                                <field name="NUM">10</field>
                                                              </shadow>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="nKOt*HuUr+/~A/_F{X2b">
                                                        <field name="NUM">10</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </xml>
                            

                            Die Daten werden nur aktualisiert wenn ich manuell den Button betätige:

                            8f8fa2d0-e7cb-4739-8dd5-16f721a9e088-image.png

                            CKO 1 Reply Last reply Reply Quote 0
                            • CKO
                              CKO @TG70 last edited by

                              Hi,

                              ich habe eine kleine Anleitung geschrieben, wie ich am ioBroker den Upnp request poll aller 10 Sekunden automatisch ausführen kann ohne den Button drücken zu müssen.

                              FritzBox DSL Geschwindigkeit auslesen.pdf

                              Kurz gesagt, müsst Ihr ein Javascript anlegen mit den jeweils gewünschten request Pfaden.
                              Hier am Beispiel der FRITZ!Box 6890 LTE

                              schedule("*/10 * * * * *", function () {
                              
                              setState( "upnp.0.WANDevice_-_FRITZ!Box_6890_LTE.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.request",'true');
                              setState( "upnp.0.WANDevice_-_FRITZ!Box_6890_LTE.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.request",'true');
                              
                              });
                              
                              Negalein 1 Reply Last reply Reply Quote 1
                              • Negalein
                                Negalein Global Moderator @CKO last edited by

                                @cko sagte in FritzBox: DSL Geschwindigkeit auslesen?:

                                Kurz gesagt, müsst Ihr ein Javascript anlegen mit den jeweils gewünschten request Pfaden.

                                Script ist nicht nötig. Funktioniert auch direkt beim Request-Datenpunkt, ganz rechts mit dem Schraubschlüssel.

                                objects - ioBroker.png
                                objects - ioBroker (1).png

                                1 Reply Last reply Reply Quote 1
                                • H
                                  houseio @friemelkarl last edited by houseio

                                  @friemelkarl sagte in FritzBox: DSL Geschwindigkeit auslesen?:

                                  Irgendwo im UPNP Adapter gibt es bei dem Gerät "Name deiner Fritzbox" den Punkt GetAddonInfos

                                  Trägst du bei Wert "send" ein, werden die Datenpunkte mir Werten gefüllt! 4751_unbenannt.png

                                  Hallo zusammen,
                                  bin ziemlich neu beim iobroker und habe noch einige Problem vor allem mit dem UPNP & FritzBox7590.
                                  Ich benutze: iobroker v6.3.5 upnp v1.0.21 & fritzbox7590ax v07.31

                                  Ich möchte gerne die UP/DOWN Geschwindigkeiten der FritzBox abgreifen und habe diverse Themen hier im Forum dazu gelesen.
                                  Es hat bei mir nichts geholfen überhaupt Werte von der FritzBox in den upnp adapter zu bekommen.

                                  Hier habe ich jetzt versucht "send" dort einzutragen(siehe oben), was aber nicht funktioniert.
                                  Irgendwie kann ich dort gar nichts eintragen. Anscheinend habe ich ein ganz anders Problem (?) .

                                  pic_1.jpg

                                  @all .. habe es Dank PDF hinbekommen, ich habe jetzt Daten.

                                  eine Frage aber bleibt, irgendwo habe ich gelesen, dass das script nicht unter global gelegt werden soll.
                                  Habe jetzt das script unter common gepackt, nun funktioniert es, aber es kommen sehr viele Fehler. Ich ignoriere die jetzt erstmal.

                                  Danke euch, manchmal muss man erst über ein Problem reden um es zu beseitigen 🙂

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    Ron 0 @houseio last edited by

                                    @houseio

                                    Bei meiner 7590AX habe ich genau das gleiche Problem.

                                    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

                                    462
                                    Online

                                    31.6k
                                    Users

                                    79.6k
                                    Topics

                                    1.3m
                                    Posts

                                    14
                                    18
                                    7560
                                    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