Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter vodafone-speedtest v0.0.x GitHub/Latest

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    336

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

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

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

Geplant Angeheftet Gesperrt Verschoben Tester
vodafone speedtest
208 Beiträge 43 Kommentatoren 38.2k Aufrufe 33 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • peterbaumertP Offline
    peterbaumertP Offline
    peterbaumert
    Developer
    schrieb am zuletzt editiert von
    #78

    Hi all,

    also die 0.0.5 ist nun raus. Sind ein paar timeout Fehler weniger, hoffe dass er nun nicht mehr hängen bleibt.
    Außerdem wird ping nun auch ausgegeben und die von mir mit den raw Werten berechneten Datenpunkte gibts nun auch.

    arteckA 1 Antwort Letzte Antwort
    0
    • peterbaumertP peterbaumert

      Hi all,

      also die 0.0.5 ist nun raus. Sind ein paar timeout Fehler weniger, hoffe dass er nun nicht mehr hängen bleibt.
      Außerdem wird ping nun auch ausgegeben und die von mir mit den raw Werten berechneten Datenpunkte gibts nun auch.

      arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      schrieb am zuletzt editiert von arteck
      #79

      @peterbaumert

      also die 0.0.5

      hab ich

      aber
      2188370c-aeca-4231-a86a-e38cc20c86b4-grafik.png

      kommt in jeden intervall vor

      zigbee hab ich, zwave auch, nuc's genauso und HA auch

      1 Antwort Letzte Antwort
      0
      • arteckA Offline
        arteckA Offline
        arteck
        Developer Most Active
        schrieb am zuletzt editiert von arteck
        #80

        ich hab da noch einen

        98aa5494-3df7-495e-bfd3-45dc6dfe5190-grafik.png

        zigbee hab ich, zwave auch, nuc's genauso und HA auch

        peterbaumertP 1 Antwort Letzte Antwort
        0
        • arteckA arteck

          ich hab da noch einen

          98aa5494-3df7-495e-bfd3-45dc6dfe5190-grafik.png

          peterbaumertP Offline
          peterbaumertP Offline
          peterbaumert
          Developer
          schrieb am zuletzt editiert von
          #81

          @arteck
          Hey danke für die Infos. Bei dem ersten ist es gut möglich, dass du von Vodafone temporär geblockt wurdest. Ich habe das oft in meinen tests wenn ich zu viele in zu kurzer Zeit mache.

          Das zweite muss ich mir mal anschauen. Kam das nur einmal vor und das nächste mal ging es wieder?

          Gruß
          Pete

          arteckA 1 Antwort Letzte Antwort
          0
          • peterbaumertP peterbaumert
            Aktuelle Test Version 0.0.2
            Veröffentlichungsdatum 20.04.2020
            Github Link https://github.com/peterbaumert/ioBroker.vodafone-speedtest

            0.0.2 (2020-04-19)
            Added actual settings in Admin interface
            first version ready for testing

            Hi Zusammen,

            ich habe mal einen speedtest Adapter geschrieben, der genau wie https://speedtest.vodafone.de funktioniert, da bei mir zumindest die Werte von Speedtest.net sehr abweichen zu denen des Vodafone Speedtests. Für Kunden von Vodafone kann dies also durchaus interessant sein.
            Bin über jede Anregung dankbar und steinigt mich bitte nicht wenn ich mal nicht antworte :)

            Die Einstellung der Lokalen Adresse hat noch keine Funktion, das kommt später noch.

            Viele Grüße
            Pete

            ? Offline
            ? Offline
            Ein ehemaliger Benutzer
            schrieb am zuletzt editiert von Ein ehemaliger Benutzer
            #82

            @peterbaumert Guten Morgen
            ich bekomme seit einem update von nodejs folgende Fehlermeldung im LOG.
            instance system.adapter.vodafone-speedtest.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            Ergebnis der Speedtest wird nicht ausgeführt.

            Mein System:
            js-controller 3.1.5
            Node.js v12.18.0
            NPM 6.14.4
            Vodafone Speedtest V 0.0.5
            Ubuntu 18.04.4 LTS

            Eine Idee?:grey_question:

            arteckA peterbaumertP 2 Antworten Letzte Antwort
            0
            • ? Ein ehemaliger Benutzer

              @peterbaumert Guten Morgen
              ich bekomme seit einem update von nodejs folgende Fehlermeldung im LOG.
              instance system.adapter.vodafone-speedtest.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              Ergebnis der Speedtest wird nicht ausgeführt.

              Mein System:
              js-controller 3.1.5
              Node.js v12.18.0
              NPM 6.14.4
              Vodafone Speedtest V 0.0.5
              Ubuntu 18.04.4 LTS

              Eine Idee?:grey_question:

              arteckA Offline
              arteckA Offline
              arteck
              Developer Most Active
              schrieb am zuletzt editiert von
              #83

              @Je-Vi mehr LOG bitte

              zigbee hab ich, zwave auch, nuc's genauso und HA auch

              1 Antwort Letzte Antwort
              0
              • peterbaumertP peterbaumert

                @arteck
                Hey danke für die Infos. Bei dem ersten ist es gut möglich, dass du von Vodafone temporär geblockt wurdest. Ich habe das oft in meinen tests wenn ich zu viele in zu kurzer Zeit mache.

                Das zweite muss ich mir mal anschauen. Kam das nur einmal vor und das nächste mal ging es wieder?

                Gruß
                Pete

                arteckA Offline
                arteckA Offline
                arteck
                Developer Most Active
                schrieb am zuletzt editiert von
                #84

                @peterbaumert nope kann nicht .. der Test läuft jede stunde ..

                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                ? 1 Antwort Letzte Antwort
                0
                • arteckA arteck

                  @peterbaumert nope kann nicht .. der Test läuft jede stunde ..

                  ? Offline
                  ? Offline
                  Ein ehemaliger Benutzer
                  schrieb am zuletzt editiert von Ein ehemaliger Benutzer
                  #85

                  @arteck Man kann die Zeit im Cron Umstellen aber selbst in Debug Mode gibt es nicht mehr Informationen.

                  1 Antwort Letzte Antwort
                  0
                  • ? Ein ehemaliger Benutzer

                    @peterbaumert Guten Morgen
                    ich bekomme seit einem update von nodejs folgende Fehlermeldung im LOG.
                    instance system.adapter.vodafone-speedtest.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                    Ergebnis der Speedtest wird nicht ausgeführt.

                    Mein System:
                    js-controller 3.1.5
                    Node.js v12.18.0
                    NPM 6.14.4
                    Vodafone Speedtest V 0.0.5
                    Ubuntu 18.04.4 LTS

                    Eine Idee?:grey_question:

                    peterbaumertP Offline
                    peterbaumertP Offline
                    peterbaumert
                    Developer
                    schrieb am zuletzt editiert von
                    #86

                    @Je-Vi Als ich auf 3.1.5 upgedated habe hatte ich ein ähnliches problem mit dem javascript adapter.

                    npm install typescript
                    

                    im iobroker Verzeichniss hat bei mir das Problem behoben.

                    Gruß
                    Pete

                    ? 1 Antwort Letzte Antwort
                    0
                    • peterbaumertP peterbaumert

                      @Je-Vi Als ich auf 3.1.5 upgedated habe hatte ich ein ähnliches problem mit dem javascript adapter.

                      npm install typescript
                      

                      im iobroker Verzeichniss hat bei mir das Problem behoben.

                      Gruß
                      Pete

                      ? Offline
                      ? Offline
                      Ein ehemaliger Benutzer
                      schrieb am zuletzt editiert von
                      #87

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

                      npm install typescript

                      Danke für den Tip,
                      npm install -g typescript brachte leider keine Lösung.

                      1 Antwort Letzte Antwort
                      0
                      • A Offline
                        A Offline
                        Atredis
                        schrieb am zuletzt editiert von
                        #88

                        Hallo.

                        Habe die Version 0.0.5 Des Adapters.

                        Beim aufzeichnen der Daten mit dem SQL Adapter kommen folgende Meldungen:

                        sql.1
                        2020-06-14 16:00:37.192
                        error
                        (11974) Cannot insert INSERT INTO `iobroker`.ts_number (id, ts, val, ack, _from, q) VALUES(178, 1592143236149, 7.81825, 1, 5, 0);: Error: ER_DUP_ENTRY: Duplicate entry '178-1592143236149' for key 'PRI
                        sql.1
                        2020-06-14 16:00:37.179
                        error
                        (11974) Cannot insert INSERT INTO `iobroker`.ts_number (id, ts, val, ack, _from, q) VALUES(176, 1592143236149, 71.273, 1, 5, 0);: Error: ER_DUP_ENTRY: Duplicate entry '176-1592143236149' for key 'PRIM
                        sql.1
                        2020-06-14 16:00:37.173
                        error
                        (11974) Cannot insert INSERT INTO `iobroker`.ts_number (id, ts, val, ack, _from, q) VALUES(178, 1592143236148, 62.546, 1, 5, 0);: Error: ER_DUP_ENTRY: Duplicate entry '178-1592143236148' for key 'PRIM
                        sql.1
                        2020-06-14 16:00:37.170
                        error
                        (11974) Cannot insert INSERT INTO `iobroker`.ts_number (id, ts, val, ack, _from, q) VALUES(176, 1592143236148, 570.184, 1, 5, 0);: Error: ER_DUP_ENTRY: Duplicate entry '176-1592143236148' for key 'PRI
                        sql.1
                        2020-06-14 16:00:36.141
                        info
                        (11974) enabled logging of vodafone-speedtest.0.Results.upload_Mb, Alias=false
                        
                        Zuweisungen in der SQL Datenbank
                        
                        176		vodafone-speedtest.0.Results.download_MB
                        177		vodafone-speedtest.0.Results.download_Mb
                        178		vodafone-speedtest.0.Results.upload_MB
                        179		vodafone-speedtest.0.Results.upload_Mb
                        

                        Auch wenn es eigentlich nicht nötig ist diese Werte gleichzeitig in der SQL Datenbank zu erfassen wäre es ja schön wenn es funktionieren würde.

                        Da ich jetzt nicht so viel Ahnung von dem ganzen habe würde ich trotzdem einfach einmal darauf tippen das der Fehler durch die Bezeichnung kommt da es sich ja nur durch ein großes und kleines b unterscheidet.

                        peterbaumertP 1 Antwort Letzte Antwort
                        0
                        • A Atredis

                          Hallo.

                          Habe die Version 0.0.5 Des Adapters.

                          Beim aufzeichnen der Daten mit dem SQL Adapter kommen folgende Meldungen:

                          sql.1
                          2020-06-14 16:00:37.192
                          error
                          (11974) Cannot insert INSERT INTO `iobroker`.ts_number (id, ts, val, ack, _from, q) VALUES(178, 1592143236149, 7.81825, 1, 5, 0);: Error: ER_DUP_ENTRY: Duplicate entry '178-1592143236149' for key 'PRI
                          sql.1
                          2020-06-14 16:00:37.179
                          error
                          (11974) Cannot insert INSERT INTO `iobroker`.ts_number (id, ts, val, ack, _from, q) VALUES(176, 1592143236149, 71.273, 1, 5, 0);: Error: ER_DUP_ENTRY: Duplicate entry '176-1592143236149' for key 'PRIM
                          sql.1
                          2020-06-14 16:00:37.173
                          error
                          (11974) Cannot insert INSERT INTO `iobroker`.ts_number (id, ts, val, ack, _from, q) VALUES(178, 1592143236148, 62.546, 1, 5, 0);: Error: ER_DUP_ENTRY: Duplicate entry '178-1592143236148' for key 'PRIM
                          sql.1
                          2020-06-14 16:00:37.170
                          error
                          (11974) Cannot insert INSERT INTO `iobroker`.ts_number (id, ts, val, ack, _from, q) VALUES(176, 1592143236148, 570.184, 1, 5, 0);: Error: ER_DUP_ENTRY: Duplicate entry '176-1592143236148' for key 'PRI
                          sql.1
                          2020-06-14 16:00:36.141
                          info
                          (11974) enabled logging of vodafone-speedtest.0.Results.upload_Mb, Alias=false
                          
                          Zuweisungen in der SQL Datenbank
                          
                          176		vodafone-speedtest.0.Results.download_MB
                          177		vodafone-speedtest.0.Results.download_Mb
                          178		vodafone-speedtest.0.Results.upload_MB
                          179		vodafone-speedtest.0.Results.upload_Mb
                          

                          Auch wenn es eigentlich nicht nötig ist diese Werte gleichzeitig in der SQL Datenbank zu erfassen wäre es ja schön wenn es funktionieren würde.

                          Da ich jetzt nicht so viel Ahnung von dem ganzen habe würde ich trotzdem einfach einmal darauf tippen das der Fehler durch die Bezeichnung kommt da es sich ja nur durch ein großes und kleines b unterscheidet.

                          peterbaumertP Offline
                          peterbaumertP Offline
                          peterbaumert
                          Developer
                          schrieb am zuletzt editiert von
                          #89

                          @Atredis Oh ja hum, das hatte ich echt nicht aufm schirm. Ich schau mal, dass ich die im nächsten Release umbenenne.

                          Master67M 1 Antwort Letzte Antwort
                          0
                          • ? Ein ehemaliger Benutzer

                            @peterbaumert

                            Danke

                            bei mir musste noch sudo davor dann kam würden Dateien fehlen

                            Hab danach apt-get update wie in Konsole stand gemacht und dann nochmal installiert ohne Fehler.

                            Hab dann den Adapter installiert, er warf jede Menge Meldungen, war danach noch nicht in den Instanzen, hab dann nochmal den Adapter installiert aber über die Adapter Page und nicht über Info und neue Adapter und dann ging es ohne Fehlermeldungen und der Adapter ist da.....

                            Unten dran die Fehlermeldungen bei der Installation über die Info Page

                            Tobias


                            $ ./iobroker install vodafone-speedtest
                            NPM version: 6.11.3
                            npm install iobroker.vodafone-speedtest@0.0.4 --loglevel error --prefix "/opt/iobroker" (System call)
                            In file included from ../src/Curl.h:13, from ../src/node_libcurl.cc:7:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
                            In file included from ../../nan/nan.h:54, from ../src/Curl.h:13, from ../src/node_libcurl.cc:7:../src/node_libcurl.cc: At global scope:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^../src/node_libcurl.cc:58:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(node_libcurl, Init); ^
                            In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/Curl.h:13, from ../src/node_libcurl.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:../../nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            In file included from ../src/Easy.h:11, from ../src/Easy.cc:7:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker
                            )’:../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
                            ../src/Easy.cc: In member function ‘void NodeLibcurl::Easy::CallSocketEvent(int, int)’:../src/Easy.cc:241:30: warning: variable ‘returnValueCallback’ set but not used [-Wunused-but-set-variable] Nan::MaybeLocalv8::Value returnValueCallback = asyncResource.runInAsyncScope( ^~~~~~~~~~~~~~~~~~~
                            ../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::GetInfo(Nan::NAN_METHOD_ARGS_TYPE)’:../src/Easy.cc:1640:69: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Localv8::Context, uint32_t, v8::Localv8::Value)’, declared with attribute warn_unused_result [-Wunused-result] Nan::Newv8::String(curr->data).ToLocalChecked()); ^
                            In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/Easy.h:11, from ../src/Easy.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:3252:37: note: declared here V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, ^~~
                            /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
                            , typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:../../nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            In file included from ../src/Share.h:12, from ../src/Share.cc:8:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker
                            )’:../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
                            In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/Share.h:12, from ../src/Share.cc:8:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
                            , typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:../../nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            In file included from ../src/Curl.h:13, from ../src/Multi.h:10, from ../src/Multi.cc:7:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker
                            )’:../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
                            In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/Curl.h:13, from ../src/Multi.h:10, from ../src/Multi.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
                            , typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:../../nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            In file included from ../src/Curl.h:13, from ../src/Curl.cc:7:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker
                            )’:../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
                            In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/Curl.h:13, from ../src/Curl.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
                            , typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:../../nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            In file included from /usr/include/c++/8/vector:64, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:23, from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/Curl.h:13, from ../src/Curl.cc:7:/usr/include/c++/8/bits/stl_vector.h: In constructor ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = NodeLibcurl::CurlConstant; _Alloc = std::allocatorNodeLibcurl::CurlConstant]’:/usr/include/c++/8/bits/stl_vector.h:515:7: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 vector(initializer_list<value_type> __l, ^~~~~~
                            ../src/Curl.cc: In function ‘(static initializers for ../src/Curl.cc)’:../src/Curl.cc:24:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlOptionNotImplemented = { ^~../src/Curl.cc:87:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlOptionInteger = { ^../src/Curl.cc:292:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlOptionString = { ^~../src/Curl.cc:438:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlOptionFunction = { ^~../src/Curl.cc:459:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlOptionLinkedList = { ^~../src/Curl.cc:481:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlOptionHttpPost = { ^~../src/Curl.cc:487:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlOptionSpecific = { ^~../src/Curl.cc:492:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlMultiOptionNotImplemented = { ^../src/Curl.cc:503:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlMultiOptionInteger = { ^~../src/Curl.cc:518:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlMultiOptionStringArray = { ^~../src/Curl.cc:525:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlInfoNotImplemented = { ^~../src/Curl.cc:539:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlInfoString = { ^~../src/Curl.cc:553:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlInfoOffT = { ^~../src/Curl.cc:579:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlInfoDouble = { ^~../src/Curl.cc:595:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlInfoInteger = { ^../src/Curl.cc:631:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlInfoSocket = { ^~../src/Curl.cc:637:33: note: parameter passing for argument of type ‘std::initializer_listNodeLibcurl::CurlConstant’ changed in GCC 7.1 const std::vector<CurlConstant> curlInfoLinkedList = { ^~~~~~~~
                            In file included from ../src/Curl.h:13, from ../src/CurlVersionInfo.h:10, from ../src/CurlVersionInfo.cc:7:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker
                            )’:../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void ()(uv_work_t)’ {aka ‘void ()(uv_work_s)’} to ‘uv_after_work_cb’ {aka ‘void ()(uv_work_s, int)’} [-Wcast-function-type] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^
                            In file included from /home/iobroker/.cache/node-gyp/10.17.0/include/node/node.h:63, from ../../nan/nan.h:54, from ../src/Curl.h:13, from ../src/CurlVersionInfo.h:10, from ../src/CurlVersionInfo.cc:7:/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]’:/home/iobroker/.cache/node-gyp/10.17.0/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfonode::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfonode::ObjectWrap&)’} to ‘Callback’ {aka ‘void ()(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            /home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P
                            , typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]’:../../nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.cache/node-gyp/10.17.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfoNan::ObjectWrap::Callback’ {aka ‘void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                            ../src/CurlVersionInfo.cc: At global scope:../src/CurlVersionInfo.cc:19:6: warning: ‘void NodeLibcurl::{anonymous}::SetObjPropertyToNullOrValue(v8::Localv8::Object, std::__cxx11::string, TValue) [with TValue = v8::Localv8::Primitive]’ defined but not used [-Wunused-function] void SetObjPropertyToNullOrValue<v8::Localv8::Primitive>(v8::Localv8::Object obj, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            host.raspberrypi install adapter vodafone-speedtest
                            upload [4] vodafone-speedtest.admin /opt/iobroker/node_modules/iobroker.vodafone-speedtest/admin/words.js words.js application/javascript
                            upload [3] vodafone-speedtest.admin /opt/iobroker/node_modules/iobroker.vodafone-speedtest/admin/vodafone-speedtest.png vodafone-speedtest.png image/png
                            upload [2] vodafone-speedtest.admin /opt/iobroker/node_modules/iobroker.vodafone-speedtest/admin/style.css style.css text/css
                            upload [1] vodafone-speedtest.admin /opt/iobroker/node_modules/iobroker.vodafone-speedtest/admin/index_m.html index_m.html text/html
                            upload [0] vodafone-speedtest.admin /opt/iobroker/node_modules/iobroker.vodafone-speedtest/admin/admin.d.ts admin.d.ts video/mp2t
                            host.raspberrypi object system.adapter.vodafone-speedtest created/updated
                            process exited with code 0

                            A Offline
                            A Offline
                            AlexKl87
                            schrieb am zuletzt editiert von
                            #90

                            @tobi83 Danke für deine Beschreibung, ich hatte ähnliche Probleme wie du. Allerdings sehe ich bei der Installation des Adapter über
                            Adapter -> Installation aus eigener URL -> Beliebig -> Vodafone Adapter Github URL
                            die gleichen Debug Messages wie du, und der Adapter taucht zwar unter Adapter, aber nicht unter Instanzen oder Objekte auf. Wie hast du ihn installiert, bzw. was hast du bei der Neuinstallation über Adapter anders gemacht?

                            1 Antwort Letzte Antwort
                            0
                            • arteckA Offline
                              arteckA Offline
                              arteck
                              Developer Most Active
                              schrieb am zuletzt editiert von arteck
                              #91

                              bei mir kommt ein
                              6e38defd-c36e-4e74-90fa-a4142269c80a-grafik.png

                              ab und an

                              zigbee hab ich, zwave auch, nuc's genauso und HA auch

                              1 Antwort Letzte Antwort
                              0
                              • KarlGarryK Offline
                                KarlGarryK Offline
                                KarlGarry
                                schrieb am zuletzt editiert von
                                #92

                                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

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • KarlGarryK KarlGarry

                                  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

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #93

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

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  KarlGarryK 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

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

                                    KarlGarryK Offline
                                    KarlGarryK Offline
                                    KarlGarry
                                    schrieb am zuletzt editiert von
                                    #94

                                    @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

                                    ChaotC 1 Antwort Letzte Antwort
                                    0
                                    • KarlGarryK KarlGarry

                                      @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

                                      ChaotC Offline
                                      ChaotC Offline
                                      Chaot
                                      schrieb am zuletzt editiert von
                                      #95

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

                                      ioBroker auf NUC unter Proxmox; VIS: 12" Touchscreen und 17" Touch; Lichtsteuerung, Thermometer und Sensoren: Tasmota (39); Ambiente Beleuchtung: WLED (9); Heizung: DECT Thermostate (9) an Fritz 6690; EMS-ESP; 1 Echo V2; 3 Echo DOT; 1 Echo Connect; 2 Echo Show 5; Unifi Ap-Ac Lite.

                                      KarlGarryK 1 Antwort Letzte Antwort
                                      0
                                      • peterbaumertP peterbaumert

                                        @Atredis Oh ja hum, das hatte ich echt nicht aufm schirm. Ich schau mal, dass ich die im nächsten Release umbenenne.

                                        Master67M Offline
                                        Master67M Offline
                                        Master67
                                        schrieb am zuletzt editiert von
                                        #96

                                        @peterbaumert ..... danke läuft siehe Bild :-)

                                        2020-09-09 (4).png

                                        Gruß Master67

                                        1 Antwort Letzte Antwort
                                        0
                                        • ChaotC Chaot

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

                                          KarlGarryK Offline
                                          KarlGarryK Offline
                                          KarlGarry
                                          schrieb am zuletzt editiert von
                                          #97

                                          @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

                                          ChaotC A 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          647

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe