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. [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

[Tutorial] VIS Fritzbox Status & Up/Downloadanzeige

Scheduled Pinned Locked Moved Praktische Anwendungen (Showcase)
504 Posts 98 Posters 138.9k Views 102 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.
  • S Snapergy

    @Negalein

    habe sowohl den http als auch den https port geändert. wenn ich jetzt die portweiterleitung im docker von 1900 auf 1900 udp einrichten will, kommt folgender fehler

    driver failed programming external connectivity on endpoint iobroker (22496d974e2263245661ba7db9171a1b87d92593d98964b2b80bf65d87a36e18): Error starting userland proxy: listen udp 0.0.0.0:1900: bind: address already in use
    
    NegaleinN Offline
    NegaleinN Offline
    Negalein
    Global Moderator
    wrote on last edited by
    #261

    @Snapergy sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

    kommt folgender fehler

    Port 1900 ist noch in Verwendung

    Welchen port hast du geändert?

    Synology neu gestartet?

    ° Node.js: 20.17.0 NPM: 10.8.2
    ° Proxmox, Ubuntu 22.04.3 LTS
    ° Fixer ---> iob fix

    S 1 Reply Last reply
    0
    • NegaleinN Negalein

      @Snapergy sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

      kommt folgender fehler

      Port 1900 ist noch in Verwendung

      Welchen port hast du geändert?

      Synology neu gestartet?

      S Offline
      S Offline
      Snapergy
      wrote on last edited by
      #262

      @Negalein

      Unbenannt.png image url)

      1 Reply Last reply
      0
      • W Offline
        W Offline
        WernerS
        wrote on last edited by Negalein
        #263

        Hallo

        also bei mir macht der conjob beim UPNP Adapter auch Probleme. Mal gehts mal nicht.

        ich habe jetzt auch das script genommen

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

        bekomme aber im log folgendes

        javascript.0	2019-12-25 16:27:40.011	warn	(23808) at Timer.processTimers (timers.js:223:10)
        javascript.0	2019-12-25 16:27:40.010	warn	(23808) at listOnTimeout (timers.js:263:5)
        javascript.0	2019-12-25 16:27:40.009	warn	(23808) at tryOnTimeout (timers.js:300:5)
        javascript.0	2019-12-25 16:27:40.009	warn	(23808) at ontimeout (timers.js:436:11)
        javascript.0	2019-12-25 16:27:40.008	warn	(23808) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
        javascript.0	2019-12-25 16:27:40.008	warn	(23808) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
        javascript.0	2019-12-25 16:27:40.007	warn	(23808) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
        javascript.0	2019-12-25 16:27:40.007	warn	(23808) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1181:34)
        javascript.0	2019-12-25 16:27:40.006	warn	(23808) at Object.<anonymous> (script.js.common.FritzBox_UPNP_request:3:2)
        javascript.0	2019-12-25 16:27:40.005	warn	(23808) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1258:20)
        javascript.0	2019-12-25 16:27:40.003	warn	(23808) Wrong type of upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.request: "string". Please fix, while deprecated and will not work in next versions.
        

        Weiss da jemand was da nicht stimmt?

        Gruß
        Werner

        Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
        Hier gehts zur Hilfe.

        W 1 Reply Last reply
        0
        • W WernerS

          Hallo

          also bei mir macht der conjob beim UPNP Adapter auch Probleme. Mal gehts mal nicht.

          ich habe jetzt auch das script genommen

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

          bekomme aber im log folgendes

          javascript.0	2019-12-25 16:27:40.011	warn	(23808) at Timer.processTimers (timers.js:223:10)
          javascript.0	2019-12-25 16:27:40.010	warn	(23808) at listOnTimeout (timers.js:263:5)
          javascript.0	2019-12-25 16:27:40.009	warn	(23808) at tryOnTimeout (timers.js:300:5)
          javascript.0	2019-12-25 16:27:40.009	warn	(23808) at ontimeout (timers.js:436:11)
          javascript.0	2019-12-25 16:27:40.008	warn	(23808) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
          javascript.0	2019-12-25 16:27:40.008	warn	(23808) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
          javascript.0	2019-12-25 16:27:40.007	warn	(23808) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
          javascript.0	2019-12-25 16:27:40.007	warn	(23808) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1181:34)
          javascript.0	2019-12-25 16:27:40.006	warn	(23808) at Object.<anonymous> (script.js.common.FritzBox_UPNP_request:3:2)
          javascript.0	2019-12-25 16:27:40.005	warn	(23808) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1258:20)
          javascript.0	2019-12-25 16:27:40.003	warn	(23808) Wrong type of upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.request: "string". Please fix, while deprecated and will not work in next versions.
          

          Weiss da jemand was da nicht stimmt?

          Gruß
          Werner

          Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
          Hier gehts zur Hilfe.

          W Offline
          W Offline
          WernerS
          wrote on last edited by
          #264

          Hallo

          ich habe es jetzt in Blockly das Script selbst gemacht.
          Jetzt geht es.

          Gruß
          Werner

          1 Reply Last reply
          0
          • S Offline
            S Offline
            StefanW
            wrote on last edited by
            #265

            Hallo,

            bei mir ist da irgendwo der Wurm drin, hab noch für keine View annähernd soviel Zeit reingesteckt und es funktioniert immer noch nicht.

            Ich hole mir die Daten über das Script, nachdem es mit dem Cron Job nicht zuverlässig funktioniert hat.
            Allerdings setzt sich der Zähler bei ca. 4,2 GB immer wieder auf 0 zurück.
            Weiter oben wurde sowas schon mal angesprochen, allerdings habe ich dann keine Lösung gefunden.

            4_2_reset.jpg

            Würde mich über jeden Tipp freuen, Danke schon mal.

            Stefan

            N 1 Reply Last reply
            0
            • Blacky 90B Offline
              Blacky 90B Offline
              Blacky 90
              wrote on last edited by
              #266

              Hi zusammen,
              kann mir von euch wer das Blockly-Script exportieren?
              801aef32-c4fa-4ab4-8516-4f7a4504e01a-image.png

              Dankeschön

              NashraN 1 Reply Last reply
              0
              • Blacky 90B Blacky 90

                Hi zusammen,
                kann mir von euch wer das Blockly-Script exportieren?
                801aef32-c4fa-4ab4-8516-4f7a4504e01a-image.png

                Dankeschön

                NashraN Offline
                NashraN Offline
                Nashra
                Most Active Forum Testing
                wrote on last edited by
                #267

                @Blacky-90 sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

                Hi zusammen,
                kann mir von euch wer das Blockly-Script exportieren?
                801aef32-c4fa-4ab4-8516-4f7a4504e01a-image.png

                Dankeschön

                Bitte sehr

                <xml xmlns="http://www.w3.org/1999/xhtml">
                 <variables>
                   <variable type="undefined" id="timeout">timeout</variable>
                 </variables>
                 <block type="timeouts_settimeout" id="D/K?1u=Sz1!?X|fg@{sY" x="-487" y="-37">
                   <field name="NAME">timeout</field>
                   <field name="DELAY">5</field>
                   <field name="UNIT">sec</field>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="oYt;u=HOJ%GqIsrzW!+Q">
                       <mutation elseif="1"></mutation>
                       <value name="IF0">
                         <block type="logic_operation" id="d,pN1@L.7ge-3mKzk%@~">
                           <field name="OP">AND</field>
                           <value name="A">
                             <block type="logic_compare" id="mwL2dV/WRxuy5.UN(V}j">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="Ej5M^b++V=%t*D(va%GO">
                                   <field name="ATTR">val</field>
                                   <field name="OID">upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.NewPhysicalLinkStatus</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="CM5X.2XHtb7FqJl/W#qD">
                                   <field name="TEXT">Up</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="X/.s?%558Z^zfKgw@~+y">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="Pu8HMM8{z8LNU|n?w}=o">
                                   <field name="ATTR">val</field>
                                   <field name="OID">upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.NewConnectionStatus</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="#PNsWBEv+i+SwIP[*84k">
                                   <field name="TEXT">Connected</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="control" id="|QV;^(qQH9o`dC7gzvX-">
                           <mutation delay_input="false"></mutation>
                           <field name="OID">admin.0.Onlinestatus</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="C(L2!T#{S-#rZNL]kvSl">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                       <value name="IF1">
                         <block type="logic_operation" id="`@,(S9A52p6h_m4CArp%">
                           <field name="OP">OR</field>
                           <value name="A">
                             <block type="logic_compare" id="zK2et|69Gy:j`YlFOX1I">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="7eM].E7tK)nA=ja*BJd2">
                                   <field name="ATTR">val</field>
                                   <field name="OID">upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.NewPhysicalLinkStatus</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="V`u93]me^yJEN!%.0{WP">
                                   <field name="TEXT">Down</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="BU3SSo*eOq^-r6HW^%ka">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="NV=r!8V!pr=zluF)jf:o">
                                   <field name="ATTR">val</field>
                                   <field name="OID">upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.NewConnectionStatus</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="/TwlZ%8Qwd,WO6U?*3f(">
                                   <field name="TEXT">Disconnected</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO1">
                         <block type="control" id="/b25LLgbt2vBt_[j3/qo">
                           <mutation delay_input="false"></mutation>
                           <field name="OID">admin.0.Onlinestatus</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="Hj}LM:DGZZKdKSU7EY|W">
                               <field name="BOOL">FALSE</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
                </xml>
                

                Gruß Ralf
                Mir egal, wer Dein Vater ist! Wenn ich hier angel, wird nicht übers Wasser gelaufen!!

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                K 1 Reply Last reply
                1
                • NashraN Nashra

                  @Blacky-90 sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

                  Hi zusammen,
                  kann mir von euch wer das Blockly-Script exportieren?
                  801aef32-c4fa-4ab4-8516-4f7a4504e01a-image.png

                  Dankeschön

                  Bitte sehr

                  <xml xmlns="http://www.w3.org/1999/xhtml">
                   <variables>
                     <variable type="undefined" id="timeout">timeout</variable>
                   </variables>
                   <block type="timeouts_settimeout" id="D/K?1u=Sz1!?X|fg@{sY" x="-487" y="-37">
                     <field name="NAME">timeout</field>
                     <field name="DELAY">5</field>
                     <field name="UNIT">sec</field>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="oYt;u=HOJ%GqIsrzW!+Q">
                         <mutation elseif="1"></mutation>
                         <value name="IF0">
                           <block type="logic_operation" id="d,pN1@L.7ge-3mKzk%@~">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="logic_compare" id="mwL2dV/WRxuy5.UN(V}j">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="Ej5M^b++V=%t*D(va%GO">
                                     <field name="ATTR">val</field>
                                     <field name="OID">upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.NewPhysicalLinkStatus</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="CM5X.2XHtb7FqJl/W#qD">
                                     <field name="TEXT">Up</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="X/.s?%558Z^zfKgw@~+y">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="Pu8HMM8{z8LNU|n?w}=o">
                                     <field name="ATTR">val</field>
                                     <field name="OID">upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.NewConnectionStatus</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="#PNsWBEv+i+SwIP[*84k">
                                     <field name="TEXT">Connected</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="|QV;^(qQH9o`dC7gzvX-">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">admin.0.Onlinestatus</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="C(L2!T#{S-#rZNL]kvSl">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                         <value name="IF1">
                           <block type="logic_operation" id="`@,(S9A52p6h_m4CArp%">
                             <field name="OP">OR</field>
                             <value name="A">
                               <block type="logic_compare" id="zK2et|69Gy:j`YlFOX1I">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="7eM].E7tK)nA=ja*BJd2">
                                     <field name="ATTR">val</field>
                                     <field name="OID">upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.NewPhysicalLinkStatus</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="V`u93]me^yJEN!%.0{WP">
                                     <field name="TEXT">Down</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="BU3SSo*eOq^-r6HW^%ka">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="NV=r!8V!pr=zluF)jf:o">
                                     <field name="ATTR">val</field>
                                     <field name="OID">upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.NewConnectionStatus</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="/TwlZ%8Qwd,WO6U?*3f(">
                                     <field name="TEXT">Disconnected</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO1">
                           <block type="control" id="/b25LLgbt2vBt_[j3/qo">
                             <mutation delay_input="false"></mutation>
                             <field name="OID">admin.0.Onlinestatus</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="Hj}LM:DGZZKdKSU7EY|W">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                  </xml>
                  

                  K Offline
                  K Offline
                  Kuddel
                  wrote on last edited by
                  #268

                  Hallo zusammen,

                  die Total-Werte vom UPNP Adapter und dem Online-Zähler in meiner FB weichen voneinander ab.

                  habe ich evtl einen Fehler gemacht?

                  Für welchen Zeitraum geleten die Werte in UPNP ?

                  sigi234S 1 Reply Last reply
                  0
                  • K Kuddel

                    Hallo zusammen,

                    die Total-Werte vom UPNP Adapter und dem Online-Zähler in meiner FB weichen voneinander ab.

                    habe ich evtl einen Fehler gemacht?

                    Für welchen Zeitraum geleten die Werte in UPNP ?

                    sigi234S Online
                    sigi234S Online
                    sigi234
                    Forum Testing Most Active
                    wrote on last edited by
                    #269

                    @Kuddel sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

                    Hallo zusammen,

                    die Total-Werte vom UPNP Adapter und dem Online-Zähler in meiner FB weichen voneinander ab.

                    habe ich evtl einen Fehler gemacht?

                    Für welchen Zeitraum geleten die Werte in UPNP ?

                    https://www.techbook.de/easylife/unterschied-megabyte-megabit

                    Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Immer Daten sichern!

                    K 1 Reply Last reply
                    0
                    • sigi234S sigi234

                      @Kuddel sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

                      Hallo zusammen,

                      die Total-Werte vom UPNP Adapter und dem Online-Zähler in meiner FB weichen voneinander ab.

                      habe ich evtl einen Fehler gemacht?

                      Für welchen Zeitraum geleten die Werte in UPNP ?

                      https://www.techbook.de/easylife/unterschied-megabyte-megabit

                      K Offline
                      K Offline
                      Kuddel
                      wrote on last edited by Kuddel
                      #270

                      @sigi234 also sind die werte im UPNP Adapter alle in Byte und die Werte in der FritzBox in Megabyte?

                      Somit muss ich die werte nur von Byte in z.B. Gigabyte umrechnen?

                      1 Reply Last reply
                      0
                      • ZandrialZ Offline
                        ZandrialZ Offline
                        Zandrial
                        wrote on last edited by Zandrial
                        #271

                        Ich hab das heute auch mal umgesetzt und bei meiner FB 7490 musste ich im blockly update teil teils ganz andere bzw. erweiterte werte nehmen:

                           setState( "upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.request",'send');
                           setState( "upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.request",'send');
                           setState( "upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetExternalIPAddress.request",'send');
                           setState( "upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.request",'send');
                        

                        quasi immer auf den request-button drücken... läuft und werte sind auch mehr oder weniger richtig :D

                        EDIT: hab 'send' durch ein einfaches true ersetzt... ioBroker hat mir aufgrund von variablen inkompabilität das log zugemüllt(zu recht) ;D

                        P 1 Reply Last reply
                        0
                        • B Offline
                          B Offline
                          bishop
                          wrote on last edited by
                          #272

                          ich weis nicht ob ich hier richtig bin, habe nur eine kleine frage ob das mit dem upnp Adapter möglich ist!

                          fritzbox_jan_zeit.jpg

                          ich möchte gerne die Onlinezeit die mein Sohn noch zur Verfügung hat (Blauer balken)
                          auslesen.
                          Geht das mit diesem Adapter?

                          vielen Dank schon mal

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            kekz
                            wrote on last edited by
                            #273

                            Hallo zusammen,

                            ich erhalte beim Up- und Downstream von der Fritzbox Werte, die nicht mit denen des Downloadmanagers übereinstimmen.
                            Laut Fritzbox 7590 besteht eine DSL-Sync mit 63,7Mbit/s. Das würde etwa 7,96MB/s bei Vollauslastung entsprechen.
                            In iobroker wird auch in etwa dieser Wert übermittelt.
                            Im Windows Downloadmanager wird stets ein Maximum von 6,7MB/s angezeigt, also eine recht große Differenz.
                            Ich frage mich, wie diese zustande kommt. Ist es ein Umrechnungsproblem, ist es ein Overhead? :confused:

                            Umgerechnet wurde wahlweise multipliziert mit 0.00000095367432 oder mit 0.000001.
                            Beide Werte stimmen nicht mit dem Downloadmanager überein.

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              JavaMafia
                              wrote on last edited by
                              #274

                              Hallo zusammen,

                              nutze gerade die Zeit wie einige von euch, mich weiter mit der VIS zu beschäftigen.
                              Bin gerade dabei mein Netzwerk dazustellen. Bei der Onlinezeit der FritzBox komme ich gerade nicht weiter.

                              Ich habe eine Blockly geschrieben, was mir die Tage und Stunden anzeigt. Leider kommen ich bei den Minuten nicht weiter, vielleicht hat hier jemand eine Idee.

                              code_text<block xmlns="http://www.w3.org/1999/xhtml" type="create" id="{?O:rM8$?%.Ff./^sXgi" x="37" y="463">
                                <field name="NAME">javascript.0.ioBroker_VIS.FritzBox.OnlineZeit.Tage</field>
                                <statement name="STATEMENT">
                                  <block type="timeouts_setinterval" id="$G+V*klFs:NIzz3KJUW4">
                                    <field name="NAME">Intervall2</field>
                                    <field name="INTERVAL">10</field>
                                    <field name="UNIT">sec</field>
                                    <statement name="STATEMENT">
                                      <block type="variables_set" id="0sJaAgOLS}GV:;BnXLC3">
                                        <field name="VAR" id="wb*!38V[KZC3Hx:2%:@g" variabletype="">60</field>
                                        <value name="VALUE">
                                          <block type="math_arithmetic" id="[Kh0ER3^kjHq]?THcGoh">
                                            <field name="OP">DIVIDE</field>
                                            <value name="A">
                                              <shadow type="math_number" id="^dKUmsJ0k|;F4I9Y]EX5">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="get_value" id="dE^BJn^Se5fd]1s73e=T">
                                                <field name="ATTR">val</field>
                                                <field name="OID">upnp.0.WANConnectionDevice_-_FRITZ!Box_6591_Cable.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.NewUptime</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <shadow type="math_number" id="F^Fx9b7%DglA~j;9v@ai">
                                                <field name="NUM">1</field>
                                              </shadow>
                                              <block type="math_number" id="w`K4|h5{1eI!sTGpD9Bg">
                                                <field name="NUM">60</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="B[ts/|-_N][|hE2?Lp8)">
                                            <field name="VAR" id="FkG4/{K5?[pQ$]T;FZvE" variabletype="">602</field>
                                            <value name="VALUE">
                                              <block type="math_arithmetic" id="0S(#FFqT4+,Iqv[W,ZXw">
                                                <field name="OP">DIVIDE</field>
                                                <value name="A">
                                                  <shadow type="math_number" id="^dKUmsJ0k|;F4I9Y]EX5">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="variables_get" id="![-%i^?,dmVo]8e-32yy">
                                                    <field name="VAR" id="wb*!38V[KZC3Hx:2%:@g" variabletype="">60</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <shadow type="math_number" id="lsQ+xF$/NcT/f6^IL;kf">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                  <block type="math_number" id="{UWT)Jp^mNkQe|3q71}T">
                                                    <field name="NUM">60</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="UuXhs0E~U4Sm)LA!lx-)">
                                                <field name="VAR" id="i+M+B{Xa,kNFU9D_NE,8" variabletype="">24</field>
                                                <value name="VALUE">
                                                  <block type="math_arithmetic" id="qDtkZDnV`-MjRXS~@xW:">
                                                    <field name="OP">DIVIDE</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="^dKUmsJ0k|;F4I9Y]EX5">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="MSnU|myt8wbS~idKub1!">
                                                        <field name="VAR" id="FkG4/{K5?[pQ$]T;FZvE" variabletype="">602</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="lsQ+xF$/NcT/f6^IL;kf">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_number" id="0Rl`4m0x}-(5Db{zEh+x">
                                                        <field name="NUM">24</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="wGsb)%49dZCnxZ.9(Bc1">
                                                    <field name="VAR" id="b9)79N}]wG,cgnT^XCI$" variabletype="">Tage</field>
                                                    <value name="VALUE">
                                                      <block type="math_round" id="uRQtR/X`?/s5T:|AEO+p">
                                                        <field name="OP">ROUNDDOWN</field>
                                                        <value name="NUM">
                                                          <shadow type="math_number" id=":]`f`{PI.X.7_PcK5Qr~">
                                                            <field name="NUM">3.1</field>
                                                          </shadow>
                                                          <block type="variables_get" id="C97HX?PqjmhL*I-Ky3WR">
                                                            <field name="VAR" id="i+M+B{Xa,kNFU9D_NE,8" variabletype="">24</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="i,P6?-k}kEy:a[?E{j+C">
                                                        <field name="VAR" id="?Xi#iU7m@~/6nG^BIq3;" variabletype="">TageInZahl</field>
                                                        <value name="VALUE">
                                                          <block type="convert_from_date" id="oFd%h5)Nru/2^~6Up$2v">
                                                            <mutation format="false" language="false"></mutation>
                                                            <field name="OPTION">DD.MM.YYYY</field>
                                                            <value name="VALUE">
                                                              <block type="math_arithmetic" id="sSH9^zQ!Zx4PUvsF%6]Q" inline="false">
                                                                <field name="OP">MINUS</field>
                                                                <value name="A">
                                                                  <shadow type="math_number" id="8@kn6N#.]TJoch:gg1QS">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="time_get" id="w4i4YXE+~#WJi,merFwA">
                                                                    <mutation format="false" language="false"></mutation>
                                                                    <field name="OPTION">object</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <shadow type="math_number" id="8_f=+!=2Cc4ZnBhUc)z$">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="math_arithmetic" id=".f;z}PwrU%jxnCB9[tju">
                                                                    <field name="OP">MULTIPLY</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="L6CVl/DHr`w9??D2R5@i">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="math_number" id="-D)0u.bxa@8OK`hmi[o4">
                                                                        <field name="NUM">1000</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id=";+t?vL_RAe#:m5I]m)%3">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="variables_get" id="{#O,K;omKqgDjrqtd}df">
                                                                        <field name="VAR" id="b9)79N}]wG,cgnT^XCI$" variabletype="">Tage</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="nnG#~7DwULSnb6rMPFXK">
                                                            <field name="VAR" id="f4b:|5kN]K`_q*b/Ra(L" variabletype="">TageAbziehen</field>
                                                            <value name="VALUE">
                                                              <block type="convert_from_date" id="4ctn1t(mtn[laL=4K[GS">
                                                                <mutation format="false" language="false"></mutation>
                                                                <field name="OPTION">DD.MM.YYYY</field>
                                                                <value name="VALUE">
                                                                  <block type="math_arithmetic" id="r-d(_0V77pckHUAXUQ!i" inline="false">
                                                                    <field name="OP">MINUS</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="8@kn6N#.]TJoch:gg1QS">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="time_get" id="KA?4Q|52$$7Z5+#NWfL%">
                                                                        <mutation format="false" language="false"></mutation>
                                                                        <field name="OPTION">object</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="8_f=+!=2Cc4ZnBhUc)z$">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="variables_get" id="N6|Njl}bQr-*N)Pwwex7">
                                                                        <field name="VAR" id="?Xi#iU7m@~/6nG^BIq3;" variabletype="">TageInZahl</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="control" id="I)+w7-%20w#j`cjn5BIr">
                                                                <mutation delay_input="false"></mutation>
                                                                <field name="OID">javascript.0.ioBroker_VIS.FritzBox.OnlineZeit.Tage</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get" id="+YK6J51C@X{qVPjw9vbZ">
                                                                    <field name="VAR" id="b9)79N}]wG,cgnT^XCI$" variabletype="">Tage</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="YRKh7X{0*xRO@e`%w%rU">
                                                                    <mutation delay_input="false"></mutation>
                                                                    <field name="OID">javascript.0.ioBroker_VIS.FritzBox.OnlineZeit.Stunden</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_round" id="pt;3V6:|d=2Nb]:!PVUy">
                                                                        <field name="OP">ROUNDDOWN</field>
                                                                        <value name="NUM">
                                                                          <shadow type="math_number" id="OGA#,NZGk=7I3-`I7SWs">
                                                                            <field name="NUM">3.1</field>
                                                                          </shadow>
                                                                          <block type="math_modulo" id="i}16)b^@@3r{2%}Uv|}V">
                                                                            <value name="DIVIDEND">
                                                                              <shadow type="math_number" id="_Sy~8id?P]_gAs{KnO_i">
                                                                                <field name="NUM">64</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="M+q,+{zE[c^yJv:Y+k?E">
                                                                                <field name="VAR" id="FkG4/{K5?[pQ$]T;FZvE" variabletype="">602</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="DIVISOR">
                                                                              <shadow type="math_number" id="E!,a5+!9M/}{wcgborR@">
                                                                                <field name="NUM">10</field>
                                                                              </shadow>
                                                                              <block type="math_number" id="qZX?dBx3NXP}w+:L5Pu8">
                                                                                <field name="NUM">24</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                              

                              L 1 Reply Last reply
                              0
                              • J JavaMafia

                                Hallo zusammen,

                                nutze gerade die Zeit wie einige von euch, mich weiter mit der VIS zu beschäftigen.
                                Bin gerade dabei mein Netzwerk dazustellen. Bei der Onlinezeit der FritzBox komme ich gerade nicht weiter.

                                Ich habe eine Blockly geschrieben, was mir die Tage und Stunden anzeigt. Leider kommen ich bei den Minuten nicht weiter, vielleicht hat hier jemand eine Idee.

                                code_text<block xmlns="http://www.w3.org/1999/xhtml" type="create" id="{?O:rM8$?%.Ff./^sXgi" x="37" y="463">
                                  <field name="NAME">javascript.0.ioBroker_VIS.FritzBox.OnlineZeit.Tage</field>
                                  <statement name="STATEMENT">
                                    <block type="timeouts_setinterval" id="$G+V*klFs:NIzz3KJUW4">
                                      <field name="NAME">Intervall2</field>
                                      <field name="INTERVAL">10</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="variables_set" id="0sJaAgOLS}GV:;BnXLC3">
                                          <field name="VAR" id="wb*!38V[KZC3Hx:2%:@g" variabletype="">60</field>
                                          <value name="VALUE">
                                            <block type="math_arithmetic" id="[Kh0ER3^kjHq]?THcGoh">
                                              <field name="OP">DIVIDE</field>
                                              <value name="A">
                                                <shadow type="math_number" id="^dKUmsJ0k|;F4I9Y]EX5">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="get_value" id="dE^BJn^Se5fd]1s73e=T">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">upnp.0.WANConnectionDevice_-_FRITZ!Box_6591_Cable.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.NewUptime</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow type="math_number" id="F^Fx9b7%DglA~j;9v@ai">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="math_number" id="w`K4|h5{1eI!sTGpD9Bg">
                                                  <field name="NUM">60</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="B[ts/|-_N][|hE2?Lp8)">
                                              <field name="VAR" id="FkG4/{K5?[pQ$]T;FZvE" variabletype="">602</field>
                                              <value name="VALUE">
                                                <block type="math_arithmetic" id="0S(#FFqT4+,Iqv[W,ZXw">
                                                  <field name="OP">DIVIDE</field>
                                                  <value name="A">
                                                    <shadow type="math_number" id="^dKUmsJ0k|;F4I9Y]EX5">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="variables_get" id="![-%i^?,dmVo]8e-32yy">
                                                      <field name="VAR" id="wb*!38V[KZC3Hx:2%:@g" variabletype="">60</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <shadow type="math_number" id="lsQ+xF$/NcT/f6^IL;kf">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="math_number" id="{UWT)Jp^mNkQe|3q71}T">
                                                      <field name="NUM">60</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="UuXhs0E~U4Sm)LA!lx-)">
                                                  <field name="VAR" id="i+M+B{Xa,kNFU9D_NE,8" variabletype="">24</field>
                                                  <value name="VALUE">
                                                    <block type="math_arithmetic" id="qDtkZDnV`-MjRXS~@xW:">
                                                      <field name="OP">DIVIDE</field>
                                                      <value name="A">
                                                        <shadow type="math_number" id="^dKUmsJ0k|;F4I9Y]EX5">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="variables_get" id="MSnU|myt8wbS~idKub1!">
                                                          <field name="VAR" id="FkG4/{K5?[pQ$]T;FZvE" variabletype="">602</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <shadow type="math_number" id="lsQ+xF$/NcT/f6^IL;kf">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="math_number" id="0Rl`4m0x}-(5Db{zEh+x">
                                                          <field name="NUM">24</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="wGsb)%49dZCnxZ.9(Bc1">
                                                      <field name="VAR" id="b9)79N}]wG,cgnT^XCI$" variabletype="">Tage</field>
                                                      <value name="VALUE">
                                                        <block type="math_round" id="uRQtR/X`?/s5T:|AEO+p">
                                                          <field name="OP">ROUNDDOWN</field>
                                                          <value name="NUM">
                                                            <shadow type="math_number" id=":]`f`{PI.X.7_PcK5Qr~">
                                                              <field name="NUM">3.1</field>
                                                            </shadow>
                                                            <block type="variables_get" id="C97HX?PqjmhL*I-Ky3WR">
                                                              <field name="VAR" id="i+M+B{Xa,kNFU9D_NE,8" variabletype="">24</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="i,P6?-k}kEy:a[?E{j+C">
                                                          <field name="VAR" id="?Xi#iU7m@~/6nG^BIq3;" variabletype="">TageInZahl</field>
                                                          <value name="VALUE">
                                                            <block type="convert_from_date" id="oFd%h5)Nru/2^~6Up$2v">
                                                              <mutation format="false" language="false"></mutation>
                                                              <field name="OPTION">DD.MM.YYYY</field>
                                                              <value name="VALUE">
                                                                <block type="math_arithmetic" id="sSH9^zQ!Zx4PUvsF%6]Q" inline="false">
                                                                  <field name="OP">MINUS</field>
                                                                  <value name="A">
                                                                    <shadow type="math_number" id="8@kn6N#.]TJoch:gg1QS">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="time_get" id="w4i4YXE+~#WJi,merFwA">
                                                                      <mutation format="false" language="false"></mutation>
                                                                      <field name="OPTION">object</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <shadow type="math_number" id="8_f=+!=2Cc4ZnBhUc)z$">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="math_arithmetic" id=".f;z}PwrU%jxnCB9[tju">
                                                                      <field name="OP">MULTIPLY</field>
                                                                      <value name="A">
                                                                        <shadow type="math_number" id="L6CVl/DHr`w9??D2R5@i">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="math_number" id="-D)0u.bxa@8OK`hmi[o4">
                                                                          <field name="NUM">1000</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow type="math_number" id=";+t?vL_RAe#:m5I]m)%3">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="variables_get" id="{#O,K;omKqgDjrqtd}df">
                                                                          <field name="VAR" id="b9)79N}]wG,cgnT^XCI$" variabletype="">Tage</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="nnG#~7DwULSnb6rMPFXK">
                                                              <field name="VAR" id="f4b:|5kN]K`_q*b/Ra(L" variabletype="">TageAbziehen</field>
                                                              <value name="VALUE">
                                                                <block type="convert_from_date" id="4ctn1t(mtn[laL=4K[GS">
                                                                  <mutation format="false" language="false"></mutation>
                                                                  <field name="OPTION">DD.MM.YYYY</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_arithmetic" id="r-d(_0V77pckHUAXUQ!i" inline="false">
                                                                      <field name="OP">MINUS</field>
                                                                      <value name="A">
                                                                        <shadow type="math_number" id="8@kn6N#.]TJoch:gg1QS">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="time_get" id="KA?4Q|52$$7Z5+#NWfL%">
                                                                          <mutation format="false" language="false"></mutation>
                                                                          <field name="OPTION">object</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow type="math_number" id="8_f=+!=2Cc4ZnBhUc)z$">
                                                                          <field name="NUM">1</field>
                                                                        </shadow>
                                                                        <block type="variables_get" id="N6|Njl}bQr-*N)Pwwex7">
                                                                          <field name="VAR" id="?Xi#iU7m@~/6nG^BIq3;" variabletype="">TageInZahl</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="control" id="I)+w7-%20w#j`cjn5BIr">
                                                                  <mutation delay_input="false"></mutation>
                                                                  <field name="OID">javascript.0.ioBroker_VIS.FritzBox.OnlineZeit.Tage</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="variables_get" id="+YK6J51C@X{qVPjw9vbZ">
                                                                      <field name="VAR" id="b9)79N}]wG,cgnT^XCI$" variabletype="">Tage</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="YRKh7X{0*xRO@e`%w%rU">
                                                                      <mutation delay_input="false"></mutation>
                                                                      <field name="OID">javascript.0.ioBroker_VIS.FritzBox.OnlineZeit.Stunden</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_round" id="pt;3V6:|d=2Nb]:!PVUy">
                                                                          <field name="OP">ROUNDDOWN</field>
                                                                          <value name="NUM">
                                                                            <shadow type="math_number" id="OGA#,NZGk=7I3-`I7SWs">
                                                                              <field name="NUM">3.1</field>
                                                                            </shadow>
                                                                            <block type="math_modulo" id="i}16)b^@@3r{2%}Uv|}V">
                                                                              <value name="DIVIDEND">
                                                                                <shadow type="math_number" id="_Sy~8id?P]_gAs{KnO_i">
                                                                                  <field name="NUM">64</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="M+q,+{zE[c^yJv:Y+k?E">
                                                                                  <field name="VAR" id="FkG4/{K5?[pQ$]T;FZvE" variabletype="">602</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="DIVISOR">
                                                                                <shadow type="math_number" id="E!,a5+!9M/}{wcgborR@">
                                                                                  <field name="NUM">10</field>
                                                                                </shadow>
                                                                                <block type="math_number" id="qZX?dBx3NXP}w+:L5Pu8">
                                                                                  <field name="NUM">24</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                                

                                L Offline
                                L Offline
                                Leviathan09
                                wrote on last edited by
                                #275

                                @JavaMafia Ich versteh leider nicht mal deine bisherige Umrechnung und suche auch schon den ganzen Tag danach wie ich diesen Wert umrechnen kann.
                                Könntest du mir evtl. kurz erklären wie der Uptime Wert aufgebaut ist und wie du den umrechnest?
                                Bzw die Variablen 60,602,24 so berechnest wie du sie eben in deinem Blockly drin hast?
                                Werde da nicht so ganz schlau draus.

                                J 1 Reply Last reply
                                0
                                • ZandrialZ Zandrial

                                  Ich hab das heute auch mal umgesetzt und bei meiner FB 7490 musste ich im blockly update teil teils ganz andere bzw. erweiterte werte nehmen:

                                     setState( "upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.request",'send');
                                     setState( "upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.request",'send');
                                     setState( "upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetExternalIPAddress.request",'send');
                                     setState( "upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.request",'send');
                                  

                                  quasi immer auf den request-button drücken... läuft und werte sind auch mehr oder weniger richtig :D

                                  EDIT: hab 'send' durch ein einfaches true ersetzt... ioBroker hat mir aufgrund von variablen inkompabilität das log zugemüllt(zu recht) ;D

                                  P Offline
                                  P Offline
                                  Pihero
                                  wrote on last edited by
                                  #276

                                  @Zandrial said in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

                                  Ich hab das heute auch mal umgesetzt und bei meiner FB 7490 musste ich im blockly update teil teils ganz andere bzw. erweiterte werte nehmen:

                                     setState( "upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.request",'send');
                                     setState( "upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.request",'send');
                                     setState( "upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetExternalIPAddress.request",'send');
                                     setState( "upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.request",'send');
                                  

                                  quasi immer auf den request-button drücken... läuft und werte sind auch mehr oder weniger richtig :D

                                  EDIT: hab 'send' durch ein einfaches true ersetzt... ioBroker hat mir aufgrund von variablen inkompabilität das log zugemüllt(zu recht) ;D

                                  Servus,

                                  ich weiß nicht ob ich es richtig verstanden habe...habe auch die 7490

                                  schedule("*/10 * * * * *",  function () { 
                                     setState( "upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetAddonInfos.request",'true');
                                     setState( "upnp.0.WANDevice_-_FRITZ!Box_7490.WANDevice.WANCommonInterfaceConfig.GetCommonLinkProperties.request",'true');
                                     setState( "upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetExternalIPAddress.request",'true');
                                     setState( "upnp.0.WANConnectionDevice_-_FRITZ!Box_7490.WANDevice.WANConnectionDevice.WANIPConnection.GetStatusInfo.request",'true');
                                  });
                                  

                                  Mein Log zeigt dann auch nen haufen Warnmeldungen:

                                  Bildschirmfoto 2020-04-04 um 22.00.59.png

                                  Danke vorab für eure Hilfe!

                                  Gruß, Philipp

                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    steff.h.
                                    wrote on last edited by
                                    #277

                                    Hallo zusammen,

                                    ich habe es jetzt hinbekommen und den Adapter zum laufen gebracht, auch das aktualisieren der Werte klappt soweit

                                    die Uptime (verbunden seit) rechne ich bereits um und wird mir korrekt angezeigt, ebenso das online oder offline der FritzBox

                                    jetzt das große aber, ich schaffe es nicht mit die Kabelverbindungsrate anzeigen zu lassen, den Wert habe ich schon gefunden aber ich kann ihn nicht umrechnen lassen, dass er korrekt angezeigt wird, wie macht ihr das?

                                    440,3 Mbit/s ist meine Downloadgeschwindigkeit (laut FritzBox), im ioBroker wird der Wert 440320000 angezeigt

                                    selbiges betrifft die Werte Datenvolumen "Heute", "Gestern" usw. wobei ich da noch nicht genau weiß wo die Werte sind :-)

                                    Lenny.CBL 1 Reply Last reply
                                    0
                                    • S steff.h.

                                      Hallo zusammen,

                                      ich habe es jetzt hinbekommen und den Adapter zum laufen gebracht, auch das aktualisieren der Werte klappt soweit

                                      die Uptime (verbunden seit) rechne ich bereits um und wird mir korrekt angezeigt, ebenso das online oder offline der FritzBox

                                      jetzt das große aber, ich schaffe es nicht mit die Kabelverbindungsrate anzeigen zu lassen, den Wert habe ich schon gefunden aber ich kann ihn nicht umrechnen lassen, dass er korrekt angezeigt wird, wie macht ihr das?

                                      440,3 Mbit/s ist meine Downloadgeschwindigkeit (laut FritzBox), im ioBroker wird der Wert 440320000 angezeigt

                                      selbiges betrifft die Werte Datenvolumen "Heute", "Gestern" usw. wobei ich da noch nicht genau weiß wo die Werte sind :-)

                                      Lenny.CBL Offline
                                      Lenny.CBL Offline
                                      Lenny.CB
                                      Most Active
                                      wrote on last edited by Lenny.CB
                                      #278

                                      @steff-h schau mal im ersten Beitrag das Bild "Download now". Hast bestimmt bloß den Multiplikator vergessen.

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        steff.h.
                                        wrote on last edited by
                                        #279

                                        oh man, danke dir !!! es waren zu viele Beiträge anstatt den ersten richtig zu lesen :-)

                                        Gibt es eigentlich einen Datenpunkt für Datenverbrauch "Gestern" & "Aktueller Monat" & "Vormonat" oder lässt sich das nur über den History Adapter bewerkstelligen?

                                        1 Reply Last reply
                                        0
                                        • C Offline
                                          C Offline
                                          Coffeelover
                                          wrote on last edited by
                                          #280

                                          Hallo in die Runde,
                                          auch ich muss mich nochmal melden, da ich die Download Today (und analog Upload) Werte nicht richtig dargestellt bekomme.
                                          Folgender Datenpunkt aktualisiert regelmäßig:

                                          upnp.0.WANDevice_-_FRITZ!Box_6591_Cable_(kdg).WANDevice.WANCommonInterfaceConfig.GetAddonInfos.NewTotalBytesReceived
                                          

                                          Zur Umrechnung ist eingetragen: Komma als Trennung, Multiplikator 0.000000001 (analog Beitrag 1)

                                          Aktueller Wert des DP ist: 643859870

                                          Die Fritzbox zeigt mir:
                                          1400c451-2d19-4e58-8b40-c9213d90d32a-grafik.png

                                          Irgendwas passt hier noch nicht... Die Max. und aktuelle Bandbreite sind iO.

                                          Danke euch.

                                          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

                                          491

                                          Online

                                          32.4k

                                          Users

                                          81.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