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.
    • Chaot
      Chaot @Dr. Bakterius last edited by

      @Dr-Bakterius Ich kann bei Zeitplanung nichts eintragen. Lediglich bei Neustart kann ich einen Cronjob anlegen. Aber das ist ja nicht das was ich benötige.

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

        @Chaot du musst ihn nochmal ganz deinstallieren und neu installieren. Dann sollte es gehen.

        @Dr-Bakterius super das freut mich dass es nun passt 🙂

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

          @peterbaumert Ok, Danke. Jetzt kann ich das angeben.
          Mal abwarten wie er sich verhält. Schaut aber bisher ganz gut aus.

          1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active last edited by

            du musst den aber auch nach der isntallation laufen lassen...
            sonst muss man warten bis der anläuft

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

              @arteck Ja, zum Test habe ich den zunächst auf 5 Minuten gesetzt.
              Aber es scheint doch noch irgendwas nicht zu stimmen.
              wenn ich den cronjob auf

              */6***
              

              habe sollte er eigentlich alle 6 Stunden laufen. Er läuft aber alle Minute.
              Ich habe ihn jetzt mal auf

              *1,7,13,19***
              

              gesetzt und warte mal ab was jetzt passiert.

              Edit:
              Entweder setze ich das in die falsche Spalte (die erste) oder das klappt so nicht. Der Adapter startet und beendet sich dann aber nicht mehr sondern läuft ab dann im Minutentakt.

              peterbaumert Dr. Bakterius 2 Replies Last reply Reply Quote 0
              • peterbaumert
                peterbaumert Developer @Chaot last edited by

                @Chaot also das erste ist die minute dann stunde usw,

                Also */5 * * * * wäre alle 5 Minuten.

                Chaot 1 Reply Last reply Reply Quote 0
                • Dr. Bakterius
                  Dr. Bakterius Most Active @Chaot last edited by

                  @Chaot Das geht mit dem Editor eh so einfach ohne die cron-Syntax zu kennen:

                  cron.png

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

                    @peterbaumert
                    Der Cronjob stimmt schon so und wird auch mit dem Assistenten genau so angelegt. Das macht er auch richtig.
                    Wie im letzten Beispiel mit dem Trigger auf 19 Uhr hat er bis dahin dann auch geschlafen. Aber dann ab 19 Uhr ist er im Minutentakt ausgeführt worden.
                    Ich denke mal ich muss genau Stunde und Minute angeben und nicht alle n-Stunden, da er sonst scheinbar die ganze Stunde ausführt.
                    Also so:

                    0 2,8,14,20 * * *
                    

                    oder

                    0 /6 * * *
                    
                    Dr. Bakterius 1 Reply Last reply Reply Quote 0
                    • Dr. Bakterius
                      Dr. Bakterius Most Active @Chaot last edited by Dr. Bakterius

                      @Chaot Ja genau. Wenn du bei Minuten ein * angibst, wird in der gewählten Stunde jede Minute ausgeführt. In meinem Beispiel (0 * * * *) wird zu jeder vollen Stunde ein Test durchgeführt. Doch wenn man im Dialog alles anklickt was man wünscht, kommt auch das richtige Ergebnis raus. Zusätzlich steht in verständlichem Text auch unter dem cron wann er anspricht.

                      Edit: Deine beiden Beispiele sind nicht ident! Im ersten wird um 2, um 8, um 14 und um 20 Uhr ein Test gefahren. Im zweiten um 0, um 6 , um 12 und um 18 Uhr. Nur als Anmerkung...

                      1 Reply Last reply Reply Quote 0
                      • arteck
                        arteck Developer Most Active last edited by

                        vodafone-speedtest.0	2020-05-04 14:02:01.268	error	(11810) init_sbc: Unknown Error
                        

                        krieg ich als Fehlermeldung geschmissen

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

                          toller Adapter!
                          funktioniert und die Werte passen.

                          zur Info bei werden einige DP (Modem) nicht gepflegt.
                          ich habe eine Fritzbox und dann ein USG.

                          Bildschirmfoto 2020-05-06 um 17.45.50.png

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

                            Ich wollte gerade den Adapter installieren. Leider hat das nicht geklappt. Hier die Ausgabe im Admin:

                            $ ./iobroker add vodafone-speedtest  --host smarthome
                            NPM version: 6.14.5
                            npm install iobroker.vodafone-speedtest@0.0.4 --loglevel error --prefix "/opt/iobroker" (System call)
                            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:310:20)gyp ERR! 
                            stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.19.97-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=5" "--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.16.3gyp 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=5 --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:310: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.97-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.16.3node-pre-gyp ERR! node-pre-gyp -v v0.14.0node-pre-gyp ERR! not ok 
                            npm
                             ERR! code ELIFECYCLEnpm ERR! errno 1npm 
                            ERR! node-libcurl@2.1.1 install: `node-pre-gyp install --fallback-to-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the node-libcurl@2.1.1 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-05-06T16_57_53_232Z-debug.log
                            ERROR: host.smarthome Cannot install iobroker.vodafone-speedtest@0.0.4: 1
                            ERROR: process exited with code 25
                            

                            Die Log kann ich gerne nachreichen, wenn diese benötigt wird. Vielleicht kann mir ja jemand sagen, was das Problem ist.

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User last edited by A Former User

                              Hab das selbe Problem.....


                              $ ./iobroker install vodafone-speedtest
                              NPM version: 6.11.3
                              npm install iobroker.vodafone-speedtest@0.0.4 --loglevel error --prefix "/opt/iobroker" (System call)
                              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:344:16)gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.19.75-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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd /opt/iobroker/node_modules/node-libcurlgyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp 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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (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:198:13)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                              node-pre-gyp ERR! System Linux 4.19.75-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 v10.17.0node-pre-gyp ERR! node-pre-gyp -v v0.14.0node-pre-gyp ERR! not ok
                              npm
                              ERR! code ELIFECYCLEnpm ERR!
                              errno 1npm ERR! node-libcurl@2.1.1 install: node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 1npm ERR! npm ERR! Failed at the node-libcurl@2.1.1 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-05-08T09_49_04_651Z-debug.log
                              ERROR: host.raspberrypi Cannot install iobroker.vodafone-speedtest@0.0.4: 1
                              ERROR: process exited with code 25

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

                                @tobi83 @dontobi das muss wohl an euren namen liegen 😛

                                Ne quatsch, was habt ihr denn für Betriebssystem?

                                apt install libcurl-dev
                                

                                sollte dies unter debian und ubuntu beheben.

                                @dos1973 Bekommst du auf der Vodafone Speedtest seite oben denn deine "soll" Geschwindigkeit angezeigt?
                                @arteck wie oft lässt du den denn laufen? Habe bei Vodafone die Vermutung, wenn man es zu oft macht blockieren die einen, hatte ich während meinen Tests auch.

                                Gruß
                                Pete

                                dontobi D 2 Replies Last reply Reply Quote 0
                                • dontobi
                                  dontobi @peterbaumert last edited by

                                  @peterbaumert Ich wollte gerade das von dir erwähnte Paket installieren. Nun kommt das...

                                  root@smarthome:~# apt install libcurl-dev
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  Paket libcurl-dev ist ein virtuelles Paket, das bereitgestellt wird von:
                                    libcurl4-openssl-dev 7.64.0-4+deb10u1
                                    libcurl4-nss-dev 7.64.0-4+deb10u1
                                    libcurl4-gnutls-dev 7.64.0-4+deb10u1
                                  Sie sollten eines explizit zum Installieren auswählen.
                                  
                                  E: Für Paket »libcurl-dev« existiert kein Installationskandidat.
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User last edited by

                                    Ähmja irgendwie kein Erfolg....

                                    pi@raspberrypi:~ $ apt install libcurl-dev
                                    E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open ( 13: Keine Berechtigung)
                                    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are y ou root?
                                    pi@raspberrypi:~ $ apt install libcurl-dev
                                    E: Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
                                    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

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

                                      @tobi83

                                      sudo apt install libcurl-dev
                                      
                                      ? 1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @Thomas Braun last edited by A Former User

                                        🤦‍♂️ Danke

                                        Aber trotzdem nicht....


                                        Paketlisten werden gelesen... Fertig
                                        Abhängigkeitsbaum wird aufgebaut.
                                        Statusinformationen werden eingelesen.... Fertig
                                        Paket libcurl-dev ist ein virtuelles Paket, das bereitgestellt wird von:
                                        libcurl4-openssl-dev 7.64.0-4
                                        libcurl4-nss-dev 7.64.0-4
                                        libcurl4-gnutls-dev 7.64.0-4
                                        Sie sollten eines explizit zum Installieren auswählen.

                                        E: Für Paket »libcurl-dev« existiert kein Installationskandidat.



                                        $ ./iobroker install vodafone-speedtest
                                        NPM version: 6.11.3
                                        npm install iobroker.vodafone-speedtest@0.0.4 --loglevel error --prefix "/opt/iobroker" (System call)
                                        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/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:344:16)
                                        gyp ERR! stack at ChildProcess.emit (events.js:198:13)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)gyp ERR! System Linux 4.19.75-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=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v64"gyp ERR! cwd /opt/iobroker/node_modules/node-libcurlgyp ERR! node -v v10.17.0gyp ERR! node-gyp -v v5.0.3gyp 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=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v64' (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:198:13)node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
                                        node-pre-gyp ERR! System Linux 4.19.75-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 v10.17.0node-pre-gyp ERR! node-pre-gyp -v v0.14.0node-pre-gyp ERR! not ok
                                        npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! node-libcurl@2.1.1 install: node-pre-gyp install --fallback-to-buildnpm ERR! Exit status 1npm ERR! npm ERR! Failed at the node-libcurl@2.1.1 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-05-08T12_31_03_537Z-debug.log
                                        ERROR: host.raspberrypi Cannot install iobroker.vodafone-speedtest@0.0.4: 1
                                        ERROR: process exited with code 25

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

                                          @tobi83 @dontobi

                                          apt install libcurl4-openssl-dev
                                          

                                          Ich muss das dann noch in die readme mit aufnehmen. Dachte eigentlich das würde mit curl mit installiert.

                                          Gruß
                                          Pete

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

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

                                            @dos1973 Bekommst du auf der Vodafone Speedtest seite oben denn deine "soll" Geschwindigkeit angezeigt?

                                            Nein, da steht nichts von „soll“.
                                            Kann es sein, dass ich ehemals Unitymedia bin?
                                            Die werte und alles passen gut.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            827
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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