Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter vodafone-speedtest v0.0.x GitHub/Latest

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter vodafone-speedtest v0.0.x GitHub/Latest

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

      Hallo erstmal,

      ich bin ganz neu, sowohl bei iobroker aber auch bei Raspberrys, etc. Habe nur sehr basic Kenntnisse... Würde aber gerne den den Adapter auch testen.

      iobroker habe ich soweit am laufen, habe soweit ich kann alles geupdated. Versionen im Spoiler.

      pi@raspberrypi:~ $ npm -v
      6.14.8
      pi@raspberrypi:~ $  node -v
      v12.18.3
      pi@raspberrypi:~ $  nodejs -v
      v12.18.3
      

      So weit so gut, nun möchte ich den Adapter installieren. Dafür sollte man doch nur den Befehl von guthub nutzen

      npm i iobroker.vodafone-speedtest
      

      Leider bekomme ich da einen/mehrere Fehler, mit denen ich auch nach langen suchen nicht viel anfangen kann.

      pi@raspberrypi:~ $ npm i iobroker.vodafone-speedtest
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      
      > node-libcurl@2.2.0 install /home/pi/node_modules/node-libcurl
      > node-pre-gyp install --fallback-to-build
      
      node-pre-gyp WARN Using request for node-pre-gyp https download
      node-pre-gyp WARN Tried to download(404): https://github.com/JCMais/node-libcurl/releases/download/v2.2.0/node_libcurl-v2.2.0-node-v72-linux-arm-glibc.tar.gz
      node-pre-gyp WARN Pre-built binaries not found for node-libcurl@2.2.0 and node@12.18.3 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
      Could not run curl-config, please make sure libcurl dev package is installed.
      Output: /bin/sh: 1: curl-config: not found
      
      gyp: Call to 'node /home/pi/node_modules/node-libcurl/tools/curl-config.js --prefix' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
      gyp ERR! configure error
      gyp ERR! stack Error: `gyp` failed with exit code: 1
      gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
      gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
      gyp ERR! System Linux 5.4.51-v7l+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/pi/node_modules/node-libcurl/lib/binding/node_libcurl.node" "--module_name=node_libcurl" "--module_path=/home/pi/node_modules/node-libcurl/lib/binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
      gyp ERR! cwd /home/pi/node_modules/node-libcurl
      gyp ERR! node -v v12.18.3
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      node-pre-gyp ERR! build error
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/home/pi/node_modules/node-libcurl/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/pi/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
      node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
      node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
      node-pre-gyp ERR! System Linux 5.4.51-v7l+
      node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      node-pre-gyp ERR! cwd /home/pi/node_modules/node-libcurl
      node-pre-gyp ERR! node -v v12.18.3
      node-pre-gyp ERR! node-pre-gyp -v v0.15.0
      node-pre-gyp ERR! not ok
      Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/pi/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/home/pi/node_modules/node-libcurl/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm WARN pi No description
      npm WARN pi No repository field.
      npm WARN pi No README data
      npm WARN pi No license field.
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! node-libcurl@2.2.0 install: `node-pre-gyp install --fallback-to-build`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the node-libcurl@2.2.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-09-09T11_02_52_053Z-debug.log
      pi@raspberrypi:~ $
      

      Vielleicht kann mir ja jemand einen Tipp geben, wie ich da weitkomme.

      Vielen Dank schonmal

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

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

        @KarlGarry
        Du steht im falschen Verzeichnis.

        cd /opt/iobroker
        iobroker add iobroker.vodafone-speedtest
        

        Und dann muss zuvor auch noch ein dev-Paket für libcurl installiert sein. Ich weiß aber so aus dem Kopf nicht wie das genau heißt.

        KarlGarry 1 Reply Last reply Reply Quote 0
        • KarlGarry
          KarlGarry @Thomas Braun last edited by

          @Thomas-Braun

          Vielen Dank für den Hinweis. Habe libcurl4 mit

          sudo apt-get install -y libcurl4-openssl-dev
          

          dann den Adapter mit

          cd /opt/iobroker
          npm i iobroker.vodafone-speedtest
          

          danach läuft alles. Die Tests laufen jetzt alle halbe Stunde bei mir.

          Dennoch noch eine kurze Frage, wie kann man die Ergebnisse nun speichern bzw auswerten. Geht so was am besten über Grafana und eine influxdb Datenbank? Andere (ggf einfachere Methoden)

          Danke nochmals

          Chaot 1 Reply Last reply Reply Quote 0
          • Chaot
            Chaot @KarlGarry last edited by

            @KarlGarry Am schönsten geht es über Grafana.
            Wenn dir klein und Einfach reicht kannst du auch den History Adapter verwenden.

            KarlGarry 1 Reply Last reply Reply Quote 0
            • Master67
              Master67 @peterbaumert last edited by

              @peterbaumert ..... danke läuft siehe Bild 🙂

              2020-09-09 (4).png

              1 Reply Last reply Reply Quote 0
              • KarlGarry
                KarlGarry @Chaot last edited by

                @Chaot Top, läuft mittlerweile schon seit zwei Tagen wunderbar.

                Habe die Vodafone 1000 Leitung und bekomme mit dem Vodafone Speedtest immer ~300mbit/s. Sind in 30min Abständen immer XX:00 und XX:30 Uhr.

                Gleichzeitig lasse ich noch einen Speedtest über Speedtest.net laufen - hier bekomme ich ganz andere Ergebnisse. Läuft auch immer alle 30 Minuten, logischerweise versetzt, XX:15 und XX:45.

                @Dr-Bakterius hat ja auch ein Unterschied zw Speedtest.net und Vodafone festgestellt.

                Kann mir irgendwie nicht vorstellen dass die Daten so korrekt sind - limitiert mich da mein Pi4.
                Lässt sich Breitbandmessung.de irgendwie auch loggen?

                overview.PNG

                Chaot A 2 Replies Last reply Reply Quote 0
                • Chaot
                  Chaot @KarlGarry last edited by

                  @KarlGarry
                  Um die Verwirrung zu steigern solltest du deinen Gigabit Anschluß mal hier testen:
                  https://breitbandmessung.de/

                  Speedtest.net und vodafone.de liefern bei mir immer falsche Ergebnisse die auch immer viel zu niedrig liegen.

                  E Master67 2 Replies Last reply Reply Quote 0
                  • E
                    Ente @Chaot last edited by

                    Hallo zusammen,

                    wollte mir eben den Adapter installieren, via:

                    https://github.com/peterbaumert/ioBroker.vodafone-speedtest

                    Das ist das Ergebniss:

                    $ ./iobroker url "https://github.com/peterbaumert/ioBroker.vodafone-speedtest.git" --debug
                    install https://github.com/peterbaumert/ioBroker.vodafone-speedtest/tarball/210ae0ca3bb57126a37505a069bd4481ef533b96
                    NPM version: 6.14.6
                    npm install https://github.com/peterbaumert/ioBroker.vodafone-speedtest/tarball/210ae0ca3bb57126a37505a069bd4481ef533b96 --loglevel error --prefix "/opt/iobroker" (System call)
                    > node-libcurl@2.2.0 install /opt/iobroker/node_modules/node-libcurl> node-pre-gyp install --fallback-to-build
                    Could not run curl-config, please make sure libcurl dev package is installed.Output: /bin/sh: 1: curl-config: not found
                    gyp: Call to 'node /opt/iobroker/node_modules/node-libcurl/tools/curl-config.js --prefix' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                    gyp ERR! configure error 
                    gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.118-v7l+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node" "--module_name=node_libcurl" "--module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"gyp ERR! cwd /opt/iobroker/node_modules/node-libcurlgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                    node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-libcurl/node_modules/node-pre-gyp/lib/util/compile.js:83:29)node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
                    node-pre-gyp ERR! System Linux 4.19.118-v7l+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-libcurl/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd /opt/iobroker/node_modules/node-libcurlnode-pre-gyp ERR! node -v v12.18.4node-pre-gyp ERR! node-pre-gyp -v v0.15.0node-pre-gyp ERR! not ok Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/opt/iobroker/node_modules/node-libcurl/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                    npm
                     ERR! code ELIFECYCLE
                    npm ERR! errno 1
                    npm 
                    ERR! node-libcurl@2.2.0 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the node-libcurl@2.2.0 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    
                    npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-09-30T22_11_09_706Z-debug.log
                    ERROR: host.raspberrypi Cannot install https://github.com/peterbaumert/ioBroker.vodafone-speedtest/tarball/210ae0ca3bb57126a37505a069bd4481ef533b96: 1
                    ERROR: process exited with code 25
                    

                    Irgendetwas mit curl brauche ich. Wie bekomme ich das?

                    Danke für Eure Hilfe.

                    Viele Grüße
                    Chris

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

                      @Ente

                      sudo apt install libcurl-dev
                      

                      mal probiert?

                      Bzw.

                      sudo apt install libcurl4-openssl-dev
                      
                      E 1 Reply Last reply Reply Quote 0
                      • E
                        Ente @Thomas Braun last edited by

                        @Thomas-Braun said in Test Adapter vodafone-speedtest v0.0.x GitHub/Latest:

                        @Ente

                        sudo apt install libcurl-dev
                        

                        mal probiert?

                        Resultat:

                        4279c3ce-c01f-49fa-8656-03d7488f9c8d-image.png

                        Bzw.

                        sudo apt install libcurl4-openssl-dev
                        

                        a841296e-c41f-4b8e-a52f-ba55103a46a8-image.png

                        Es kam bei letzterem keine Fehlermeldung.

                        Installation des Adapters lief durch:

                        83220719-647a-4810-84d0-100a07eca4da-image.png

                        Danke schön. Jetzt versuche ich mal die nächsten Schritte.

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          Ente @Ente last edited by

                          @thomas-braun

                          wie bekomme ich jetzt die Datenpunkte? Der Adapter läuft:

                          63db3127-ab56-4448-a93b-1081408b7cc1-image.png

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

                            @Ente Keine Ahnung, habe den Adapter nicht im Einsatz.

                            E 1 Reply Last reply Reply Quote 0
                            • E
                              Ente @Thomas Braun last edited by

                              @Thomas-Braun said in Test Adapter vodafone-speedtest v0.0.x GitHub/Latest:

                              @Ente Keine Ahnung, habe den Adapter nicht im Einsatz.

                              Ich habe nicht lange genug gewartet. DP's sind da.

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                flipkill1985 @Ente last edited by

                                Hallo,

                                Der Adapter läuft bei mir ein paar Stunden super.
                                Dann läuft er einfach nicht mehr keine neuen Werte erst wenn ich ioBroker komplett neu starte.
                                Jemand eine Idee?

                                Grus

                                1 Reply Last reply Reply Quote 0
                                • Master67
                                  Master67 @Chaot last edited by

                                  @Chaot sagte in Test Adapter vodafone-speedtest v0.0.x GitHub/Latest:

                                  @KarlGarry
                                  Um die Verwirrung zu steigern solltest du deinen Gigabit Anschluß mal hier testen:
                                  https://breitbandmessung.de/

                                  Speedtest.net und vodafone.de liefern bei mir immer falsche Ergebnisse die auch immer viel zu niedrig liegen.

                                  Danke, aber dort kann man (bei Vodafone) z. Zt. nur bis 400Mbit/s Messen lassen, da bin ich und andere mit einer 1.000Mbit/s Leitung schon mal raus 🙂

                                  Chaot 1 Reply Last reply Reply Quote 0
                                  • Chaot
                                    Chaot @Master67 last edited by

                                    @Master67 Das stimmt leider. Zum Zeitpunkt der Erstellung des Beitrags hat man dort noch Gigabit Anschlüsse sauber testen können. Offensichtlich haben die die Option wieder deaktiviert. Schade.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      Abry @KarlGarry last edited by

                                      @KarlGarry sagte in Test Adapter vodafone-speedtest v0.0.x GitHub/Latest:

                                      @Chaot Top, läuft mittlerweile schon seit zwei Tagen wunderbar.

                                      Habe die Vodafone 1000 Leitung und bekomme mit dem Vodafone Speedtest immer ~300mbit/s. Sind in 30min Abständen immer XX:00 und XX:30 Uhr.

                                      Gleichzeitig lasse ich noch einen Speedtest über Speedtest.net laufen - hier bekomme ich ganz andere Ergebnisse. Läuft auch immer alle 30 Minuten, logischerweise versetzt, XX:15 und XX:45.

                                      @Dr-Bakterius hat ja auch ein Unterschied zw Speedtest.net und Vodafone festgestellt.

                                      Kann mir irgendwie nicht vorstellen dass die Daten so korrekt sind - limitiert mich da mein Pi4.
                                      Lässt sich Breitbandmessung.de irgendwie auch loggen?

                                      overview.PNG

                                      Ich habe das selbe Problem, dass bei meiner 1000er Leitung von Vodafone nur ca 300 gemessen werden. Wenn ich mit meinem Laptop direkt auf der Vodafone Seite messe, dann bekomm ich knapp 900Mbit.

                                      Jemand eine Idee woran es liegen kann?

                                      LG

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

                                        Hi,

                                        ich habe den gesamten Thread durchgelesen und bekomme den Adapter einfach nicht zum Laufen.

                                        Installiert ist der Adapter und ich kann die Instanz auch starten.

                                        Habe lediglich den Cron-Job auf alle 10Minuten gestellt aber ich erhalte keine Objekte oder Testergbnisse.

                                        Das Logfile schmeißt dementsprechende Errormeldungen:
                                        5f876d09-cd02-478f-91e9-36151c0b5f38-image.png

                                        Kann mir jemand weiterhelfen.
                                        Oder ggf. an der Stelle einen anderen Adapter aufzeigen, mit dem ich einen zuverlässigen Speedtest machen kann?

                                        Thomas Braun peterbaumert 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Lashandan last edited by

                                          @lashandan
                                          Welche Versionen sind da im Spiel?
                                          js-controller?
                                          vodafone-speedest?
                                          nodeJS? Diese sauber installiert?

                                          Lashandan 1 Reply Last reply Reply Quote 0
                                          • Lashandan
                                            Lashandan @Thomas Braun last edited by

                                            @thomas-braun

                                            Hi Thomas,

                                            Node.js und NPM sehen so aus:
                                            d80d7c6a-2fdf-463d-bbc0-5b603814613c-image.png

                                            Speedtest:
                                            fa0050dd-a2fb-409a-a2bf-79bfbb958c70-image.png

                                            Sind alle soweit sauber installiert.

                                            Sag jetzt nicht, da fehlt noch etwas? 😰

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            689
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            vodafone speedtest
                                            42
                                            202
                                            25347
                                            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