Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly zum Netzwerktraffic tut's nicht mehr

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Blockly zum Netzwerktraffic tut's nicht mehr

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

      @jey-cee sagte in Blockly zum Netzwerktraffic tut's nicht mehr:

      sieht so aus als wenn da gar Traffic angezeigt wird, da steht überall 0, was ziemlich unwahrscheinlich ist.

      richtig! das ist der Punkt.
      Da müssten wie bei Thomas die kumulierten Werte stehen, auch wenn in der Sekunde kein traffic wäre

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Homoran last edited by

        @homoran

        Welche Interfaces sind denn da noch angelegt?

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

          @asgothian sagte in Blockly zum Netzwerktraffic tut's nicht mehr:

          Für Lan (hab ich getestet, geht):

          jepp, da kommt was

          pi@ioBrokerpi5:~ $ cat /sys/class/net/e*/statistics/rx_bytes
          50496203
          pi@ioBrokerpi5:~ $
          

          das wäre ein Ansatz
          Danke

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

            @thomas-braun sagte in Blockly zum Netzwerktraffic tut's nicht mehr:

            @homoran

            Welche Interfaces sind denn da noch angelegt?

            die üblichen verdächtigen

            pi@ioBrokerpi5:~ $ ifconfig
            eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
                    inet 192.168.138.96  netmask 255.255.255.0  broadcast 192.168.138.255
                    inet6 2a0a:a546:44e1:0:36d3:f449:b498:bf24  prefixlen 64  scopeid 0x0<global>
                    inet6 fe80::cb9d:71e1:3c0:771b  prefixlen 64  scopeid 0x20<link>
                    ether d8:3a:dd:b1:cd:fc  txqueuelen 1000  (Ethernet)
                    RX packets 0  bytes 0 (0.0 B)
                    RX errors 0  dropped 0  overruns 0  frame 0
                    TX packets 0  bytes 0 (0.0 B)
                    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
                    device interrupt 106
            
            lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
                    inet 127.0.0.1  netmask 255.0.0.0
                    inet6 ::1  prefixlen 128  scopeid 0x10<host>
                    loop  txqueuelen 1000  (Local Loopback)
                    RX packets 0  bytes 0 (0.0 B)
                    RX errors 0  dropped 0  overruns 0  frame 0
                    TX packets 0  bytes 0 (0.0 B)
                    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            
            wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
                    ether d8:3a:dd:b1:cd:fd  txqueuelen 1000  (Ethernet)
                    RX packets 0  bytes 0 (0.0 B)
                    RX errors 0  dropped 0  overruns 0  frame 0
                    TX packets 0  bytes 0 (0.0 B)
                    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
            
            pi@ioBrokerpi5:~ $
            

            Alles 0

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Homoran last edited by

              @homoran sagte in Blockly zum Netzwerktraffic tut's nicht mehr:

              Alles 0

              Kann ich mir gerade keinen Reim drauf machen.

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

                @thomas-braun wie gesagt passt der Wegfall der Werte zum Zeitpunkt des Upgrades.

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Homoran last edited by

                  @homoran

                  Waren denn die net-tools dabei?

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

                    @thomas-braun sagte in Blockly zum Netzwerktraffic tut's nicht mehr:

                    @homoran

                    Waren denn die net-tools dabei?

                    ja!
                    jetzt wo du das sagst!

                    edit
                    falls das was hilft:

                    pi@ioBrokerpi5:~ $ apt policy net-tools
                    net-tools:
                      Installed: 2.10-0.1+deb12u1
                      Candidate: 2.10-0.1+deb12u1
                      Version table:
                     *** 2.10-0.1+deb12u1 500
                            500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
                            100 /var/lib/dpkg/status
                         2.10-0.1 500
                            500 http://deb.debian.org/debian bookworm/main arm64 Packages
                    pi@ioBrokerpi5:~ $
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      Mit den snippets von @Asgothian

                      Screenshot_20250528-225255_Firefox.jpg

                      läuft es erst mal

                      Screenshot_20250528-225206_Firefox.jpg

                      Danke euch!

                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Homoran last edited by

                        @homoran

                        Dann vermute ich dort einen Fehler im Paket.

                        Gegentest:

                        ip stats
                        

                        hat die Werte drin?

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

                          @thomas-braun
                          jepp

                          2: eth0: group offload subgroup hw_stats_info
                              l3_stats off used off
                          2: eth0: group afstats subgroup mpls
                          2: eth0: group link
                              RX:  bytes packets errors dropped  missed   mcast
                                87950320  151779      0    3717       0    4387
                              TX:  bytes packets errors dropped carrier collsns
                                48886205  113285      0       0       0       0
                          2: eth0: group offload subgroup l3_stats off used off
                          2: eth0: group offload subgroup cpu_hit
                          
                          2: eth0: group xstats_slave subgroup bond suite 802.3ad
                          2: eth0: group xstats subgroup bond suite 802.3ad
                          2: eth0: group xstats_slave subgroup bridge suite mcast
                          2: eth0: group xstats_slave subgroup bridge suite stp
                          2: eth0: group xstats subgroup bridge suite mcast
                          2: eth0: group xstats subgroup bridge suite stp
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Homoran last edited by

                            @homoran

                            ifconfig ist ohnehin veraltet, man verwendet mittlerweile besser iproute2-Befehle wie ip.

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

                              @thomas-braun sagte in Blockly zum Netzwerktraffic tut's nicht mehr:

                              ifconfig ist ohnehin veraltet

                              mein Blockly auch 😂

                              ich mzsste mich ja selber erst mal wieder einarbeiten, so alt ist das.

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Homoran last edited by

                                @homoran

                                Ich würde das aber wie oben von @Asgothian gezeigt auch direkt auslesen. Dann musst du da nicht so umständlich herumparsen.

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

                                  @thomas-braun
                                  ach was!?
                                  Screenshot_20250528-225255_Firefox.jpg

                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Homoran last edited by

                                    @homoran sagte in Blockly zum Netzwerktraffic tut's nicht mehr:

                                    ach was!?

                                    Ja doch! 😉

                                    Homoran 1 Reply Last reply Reply Quote 1
                                    • Homoran
                                      Homoran Global Moderator Administrators @Thomas Braun last edited by

                                      @thomas-braun jetzt muss ich noch den Faktor zur Umrechnung von x bytes/ 15 sek in kbit/sec haben.
                                      ich hab da mal was von 1920 gerechnet, aber mit Dreisatz hab ich es noch nie gehabt

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      861
                                      Online

                                      31.7k
                                      Users

                                      79.6k
                                      Topics

                                      1.3m
                                      Posts

                                      4
                                      23
                                      269
                                      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