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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
          • wendy2702
            wendy2702 @Lashandan last edited by

            @lashandan Stell das loggen für den Adapter mal bitte auf Debug und poste die Ausgabe dann hier als Text in Code Tags </>

            Lashandan 1 Reply Last reply Reply Quote 0
            • peterbaumert
              peterbaumert Developer @Lashandan last edited by

              @lashandan

              npm rebuild
              npm install
              

              diese beiden befehle im iobroker/node_modules/iobroker.vodafone-speedtest ordner ausführen mit dem iobroker users

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

                @peterbaumert

                Hi Peter,

                ich musste meinen ioBroker neu aufsetzen und komme nun bei der Installation des Adapters zu folgendem Fehler:

                $ ./iobroker url "https://github.com/peterbaumert/ioBroker.vodafone-speedtest" --debug
                install peterbaumert/ioBroker.vodafone-speedtest#879e618390a35dd82c8a992b6d3940eace6e241f
                NPM version: 6.14.11
                npm install peterbaumert/ioBroker.vodafone-speedtest#879e618390a35dd82c8a992b6d3940eace6e241f --loglevel error --prefix "/opt/iobroker" (System call)
                
                > node-aead-crypto@2.2.0 preinstall /opt/iobroker/node_modules/node-aead-crypto> node lib/preinstall.js
                node-aead-crypto not needed on this system, since all ciphers are natively supported
                
                > node-libcurl@2.3.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 foundgyp: Call to 'node /opt/iobroker/node_modules/node-libcurl/scripts/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:314:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)gyp ERR! System Linux 5.10.11-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=7" "--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.21.0gyp 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=7 --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-pre-gyp/lib/util/compile.js:83:29)
                node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:314:20)node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1022:16)node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
                node-pre-gyp ERR! System Linux 5.10.11-v7l+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/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.21.0node-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=7 --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.3.0 install: `node-pre-gyp install --fallback-to-build`
                npm ERR! Exit status 1
                npm ERR! 
                npm ERR! Failed at the node-libcurl@2.3.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/2021-03-03T20_22_33_222Z-debug.log
                ERROR: host.raspberrypi Cannot install peterbaumert/ioBroker.vodafone-speedtest#879e618390a35dd82c8a992b6d3940eace6e241f: 1
                ERROR: process exited with code 25
                

                Kannst du mir hier weiter helfen?
                Ich möchte den Adapter sehr gern verwenden.
                Zumal ich mir zum Neuaufsetzen auch gleich einen neuen Pi verpasst habe 😉
                Hatte vorher noch das 1GB Model und habe jetzt einen Pi 4 mit 8GB 😄

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

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

                  curl-config

                  fehlt.
                  Hast du eines der Pakete
                  libcurl4-gnutls-dev, libcurl4-nss-dev, libcurl4-openssl-dev
                  installiert?

                  sudo apt update
                  sudo apt install libcurl4-openssl-dev
                  

                  würde ich vorschlagen.

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

                    @thomas-braun
                    Hi Thomas,

                    danke dir für den Hinweis.
                    Ich habe den Pi heute frisch aufgesetzt und darauf nur den iOBroker installiert.
                    Weiterhin habe ich vor später mal Grafana und NodeRed noch drauf zu packen.
                    Aber das ist ein anderes Thema.

                    Kannst du mir noch verraten, was dieses Paket macht bzw. wofür ich es brauche?

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

                      @lashandan
                      Der Adapter benötigt das Programm 'curl-config' zum funktionieren.
                      Jedes der drei genannten Pakete stellt das bereit. Also eines der Pakete musst du halt nachinstallieren.
                      Ich glaube das steht auch in der ReadMe zum Adapter drin.

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

                        @thomas-braun

                        Vielen Dank Thomas 👍

                        Das war der entscheidende Hinweis 😉

                        Ich erhalte nun endlich meine Ergebnisse!
                        Vielen Dank.

                        92bd6c88-dc12-4eb9-a399-379de3d6d62f-image.png

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

                          @wendy2702

                          Hab den Adapter jetzt laufen und er liefert auch Ergebnisse.
                          Wollte dir aber noch das Log auf Debug posten das ist aktuell:

                          vodafone-speedtest.0	2021-03-04 11:25:30.228	info	(9436) Terminated (NO_ERROR): Without reason
                          vodafone-speedtest.0	2021-03-04 11:25:30.226	debug	(9436) Plugin sentry destroyed
                          vodafone-speedtest.0	2021-03-04 11:25:30.200	info	(9436) cleaned everything up...
                          vodafone-speedtest.0	2021-03-04 11:25:30.198	info	(9436) Vodafone-Speedtest finished with 294.561mbit download speed and 11.185mbit upload speed.
                          vodafone-speedtest.0	2021-03-04 11:25:30.197	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.197	debug	(9436) Create_state called for : Results.ping.packetLoss with value : 0.000
                          vodafone-speedtest.0	2021-03-04 11:25:30.196	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.196	debug	(9436) Create_state called for : Results.ping.avg with value : 35.366
                          vodafone-speedtest.0	2021-03-04 11:25:30.195	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.194	debug	(9436) Create_state called for : Results.ping.max with value : 45.387
                          vodafone-speedtest.0	2021-03-04 11:25:30.194	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.193	debug	(9436) Create_state called for : Results.ping.min with value : 22.804
                          vodafone-speedtest.0	2021-03-04 11:25:30.164	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.164	debug	(9436) Create_state called for : Results.upload_Mb_calc with value : 10.9282
                          vodafone-speedtest.0	2021-03-04 11:25:30.163	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.163	debug	(9436) Create_state called for : Results.upload_MB_calc with value : 1.366025
                          vodafone-speedtest.0	2021-03-04 11:25:30.162	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.161	debug	(9436) Create_state called for : Results.download_Mb_calc with value : 264.90592307692305
                          vodafone-speedtest.0	2021-03-04 11:25:30.161	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.160	debug	(9436) Create_state called for : Results.download_MB_calc with value : 33.11324038461538
                          vodafone-speedtest.0	2021-03-04 11:25:30.159	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.158	debug	(9436) Create_state called for : Results.upload_Mb with value : 11.185
                          vodafone-speedtest.0	2021-03-04 11:25:30.158	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.157	debug	(9436) Create_state called for : Results.upload_MB with value : 1.398125
                          vodafone-speedtest.0	2021-03-04 11:25:30.156	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.156	debug	(9436) Create_state called for : Results.download_Mb with value : 294.561
                          vodafone-speedtest.0	2021-03-04 11:25:30.155	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.154	debug	(9436) Create_state called for : Results.download_MB with value : 36.820125
                          vodafone-speedtest.0	2021-03-04 11:25:30.153	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:30.152	debug	(9436) Create_state called for : Results.Last_Run with value : Thu Mar 04 2021 11:25:30 GMT+0100 (GMT+01:00)
                          vodafone-speedtest.0	2021-03-04 11:25:25.574	debug	(9436) result:{"type":"upload","value":11185}
                          vodafone-speedtest.0	2021-03-04 11:25:12.958	debug	(9436) result:{"type":"download","value":294561}
                          vodafone-speedtest.0	2021-03-04 11:25:02.211	debug	(9436) SBC-Init (Success):{"downstreamSpeed":0,"upstreamSpeed":0,"downstreamBooked":null,"upstreamBooked":null,"speedtestId":"ssrnxdfxtn2b","isp":"Broadband Customer Network","ipCountry":"DE","client
                          vodafone-speedtest.0	2021-03-04 11:25:02.210	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.210	debug	(9436) Create_state called for : upstreamBooked with value : null
                          vodafone-speedtest.0	2021-03-04 11:25:02.209	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.209	debug	(9436) Create_state called for : downstreamBooked with value : null
                          vodafone-speedtest.0	2021-03-04 11:25:02.209	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.208	debug	(9436) Create_state called for : upstreamSpeed with value : 0
                          vodafone-speedtest.0	2021-03-04 11:25:02.208	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.208	debug	(9436) Create_state called for : downstreamSpeed with value : 0
                          vodafone-speedtest.0	2021-03-04 11:25:02.207	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.207	debug	(9436) Create_state called for : ipCountry with value : DE
                          vodafone-speedtest.0	2021-03-04 11:25:02.206	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.206	debug	(9436) Create_state called for : ip with value : 92.206.72.60
                          vodafone-speedtest.0	2021-03-04 11:25:02.206	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.205	debug	(9436) Create_state called for : isp with value : Broadband Customer Network
                          vodafone-speedtest.0	2021-03-04 11:25:02.205	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.205	debug	(9436) Create_state called for : isCustomer with value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.204	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.204	debug	(9436) Create_state called for : modem.text with value : null
                          vodafone-speedtest.0	2021-03-04 11:25:02.203	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.203	debug	(9436) Create_state called for : modem.name with value : null
                          vodafone-speedtest.0	2021-03-04 11:25:02.202	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.202	debug	(9436) Create_state called for : modem.code with value : null
                          vodafone-speedtest.0	2021-03-04 11:25:02.201	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.201	debug	(9436) Create_state called for : modem.vendor with value :
                          vodafone-speedtest.0	2021-03-04 11:25:02.199	debug	(9436) Write value : false
                          vodafone-speedtest.0	2021-03-04 11:25:02.198	debug	(9436) Create_state called for : modem with value : undefined
                          vodafone-speedtest.0	2021-03-04 11:25:01.660	info	(9436) starting. Version 0.0.6 in /opt/iobroker/node_modules/iobroker.vodafone-speedtest, node: v12.21.0, js-controller: 3.2.16
                          
                          wendy2702 1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @Lashandan last edited by

                            @lashandan Danke, aber nachdem der Adapter ja jetzt läuft ist alles gut und das log wird nicht mehr benötigt.

                            Logs im Debug sind immer hilfreich bei Problemen und Fehlern.

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              dos1973 @wendy2702 last edited by

                              @peterbaumert

                              Hi, ich habe mir heute auch den Adapter wieder installiert.
                              es funktioniert auch alles um die 2 Stunden - dann geht er nicht mehr.

                              ich muss den iobroker starten, dann gehts wieder sofort für ca 2 Stunden.
                              Wenn der Fall auftritt, werden auch keine Logs geschrieben etc.

                              ich kann den den Adapter dann auch nicht neu starten.
                              der DP bleibt permanent auf TRUE stehen

                              system.adapter.vodafone-speedtest.0.alive
                              

                              mein IObroker läuft auf Proxmox als VM auf Debian 10.8
                              Node.js: v12.21.0
                              NPM: 6.14.11
                              Adapter Version : Vodafone Speedtest 0.0.7

                              ansonsten läuft der prima... nur das er eben einschläft...
                              cronjob ist für alle 10min eingerichtet: */10 * * * * das würde ich auf stunden basis ändern, aber eben für die Tests.

                              hast due eine Idee was ich machen kann?

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

                                @dos1973 Log File?
                                Hier läuft der Adapter wie ein Uhrwerk.

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

                                  @thomas-braun

                                  bei mir läuft er auch die ersten 2 stunden wie ein Uhrwerk, dann nicht mehr.
                                  ich sag ja, es passiert nichts... adapter steht auf debug, aber im log steht nix.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    dos1973 @dos1973 last edited by

                                    hat jetzt bis 6:00 Uhr morgens funktioniert...

                                    das habe ich in den logs gefunden

                                    vodafone-speedtest.0	2021-06-28 09:56:31.129	debug	(25898) system.adapter.admin.0: logging true
                                    vodafone-speedtest.0	2021-06-28 09:52:49.914	debug	(25898) system.adapter.admin.0: logging false
                                    vodafone-speedtest.0	2021-06-28 09:51:20.508	debug	(25898) system.adapter.admin.0: logging true
                                    
                                    host.pve-iobroker	2021-06-28 09:55:05.073	info	instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
                                    host.pve-iobroker	2021-06-28 09:55:00.016	info	instance system.adapter.weatherunderground.0 started with pid 32681
                                    host.pve-iobroker	2021-06-28 09:50:00.004	warn	instance system.adapter.vodafone-speedtest.0 already running with pid 25898
                                    host.pve-iobroker	2021-06-28 09:45:11.469	info	instance system.adapter.coronavirus-statistics.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                    

                                    mein cronjob sollte doch richtig sein - alle 10min
                                    Bildschirmfoto 2021-06-28 um 09.59.23.png

                                    was mich wundert, ich stoppe den Adapter
                                    Bildschirmfoto 2021-06-28 um 10.01.07.png

                                    Bildschirmfoto 2021-06-28 um 10.01.48.png

                                    peterbaumert 1 Reply Last reply Reply Quote 0
                                    • peterbaumert
                                      peterbaumert Developer @dos1973 last edited by peterbaumert

                                      @dos1973 Hi,

                                      also alle 10 Minuten ist glaube einfach zu oft. Vodafone blockiert dich dann irgendwann. Stell den mal auf 30 min oder so einfach zum test.

                                      @All:

                                      Ich musste den Adapter umbenennen. Demnächst ist er dann als vofo-speedtest aufzufinden. Ihr müsstet dann den alten wegschmeißen und den neuen installieren.
                                      Sorry für die Umstände aber mir blieb leider nichts andere übrig.

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

                                        @dos1973
                                        Ich hab den cron auf 30 Minuten stehen.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          dos1973 @peterbaumert last edited by

                                          @peterbaumert
                                          nein, klappt alles nicht.
                                          Ich bekomm den Adapter nicht mehr an laufen... cron steht jetzt auf 30min.

                                          auch bei einem iobroker restart kommt nichts mehr -auch im log bleibt es leer, trotz debug modus.

                                          vodafone-speedtest.0	2021-07-02 17:58:33.243	debug	(25898) system.adapter.admin.0: logging true
                                          vodafone-speedtest.0	2021-07-02 17:57:48.405	debug	(25898) system.adapter.admin.0: logging false
                                          vodafone-speedtest.0	2021-07-02 17:51:08.025	debug	(25898) system.adapter.admin.0: logging true
                                          

                                          noch eine Frage, wenn ich den Adapter deaktiviere
                                          Bildschirmfoto 2021-07-02 um 18.00.34.png

                                          dann müssen doch die Werte von

                                          system.adapter.vodafone-speedtest.0.alive
                                          system.adapter.vodafone-speedtest.0.connected
                                          

                                          von "True" auf "False" wechseln.
                                          Bei mir bleibt das einfach auf "True" stehen

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

                                            @dos1973

                                            Der Adapter nennt sich jetzt vofo-speedtest.
                                            Den installieren.

                                            D 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            690
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

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