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. ioBroker Allgemein
  4. Radar Adapter

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    368

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Radar Adapter

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
4 Beiträge 2 Kommentatoren 681 Aufrufe 1 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.
  • S Offline
    S Offline
    Shaky79
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    muss euch nochmal nerven. Verbrate hier gerade Stunden um Stunden um den Radar Adapter ans Laufen zu bekommen und muss jetzt einfach mal fragen.

    Folgende Fehlermeldungen bekomme ich bei der Installation:

    $ ./iobroker add radar  --host phoscon
    NPM version: 6.5.0
    npm install iobroker.radar --production --save --prefix "/opt/iobroker" (System call)
    node-pre-gyp
    
    WARN Using request for node-pre-gyp https download 
    node-pre-gyp
     WARN Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.5.0/usb_bindings-v1.5.0-node-v64-linux-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for usb@1.5.0 and node@10.14.2 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 
    
    ../src/node_usb.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE SetDebugLevel(Nan::NAN_METHOD_ARGS_TYPE)’:../src/node_usb.cc:99:73: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
      if (info.Length() != 1 || !info[0]->IsUint32() || info[0]->Uint32Value() > 4) {
                                                                             ^
    
    In file included from /root/.node-gyp/10.14.2/include/node/v8.h:26:0,                 from ../src/node_usb.h:12,
                     from ../src/node_usb.cc:1:
    /root/.node-gyp/10.14.2/include/node/v8.h:2477:47: note: declared here
       V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                   ^
    /root/.node-gyp/10.14.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    ../src/node_usb.cc:103:53: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
      libusb_set_debug(usb_context, info[0]->Uint32Value());
                                                         ^
    In file included from /root/.node-gyp/10.14.2/include/node/v8.h:26:0,
                     from ../src/node_usb.h:12,
                     from ../src/node_usb.cc:1:
    /root/.node-gyp/10.14.2/include/node/v8.h:2477:47: note: declared here
       V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                   ^
    /root/.node-gyp/10.14.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    
    ../src/node_usb.cc: In function ‘void handleHotplug(std::pair<libusb_device*, libusb_hotplug_event="">)’:../src/node_usb.cc:151:58: warning: ‘v8::Local <v8::value>Nan::MakeCallback(v8::Local<v8::object>, const char*, int, v8::Local<v8::value>*)’ is deprecated [-Wdeprecated-declarations]
      Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv);
                                                              ^
    
    In file included from ../src/helpers.h:3:0,                 from ../src/node_usb.h:21,
                     from ../src/node_usb.cc:1:
    ../../nan/nan.h:1000:46: note: declared here
       NAN_DEPRECATED inline v8::Local <v8::value>MakeCallback(
                                                  ^~~~~~~~~~~~
    
    ../src/node_usb.cc: In function ‘v8::Local <v8::value>libusbException(int)’:../src/node_usb.cc:301:14: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
      e->ToObject()->Set(Nan::New<string>("errno").ToLocalChecked(), Nan::New<integer>(errorno));
                  ^
    
    In file included from ../src/node_usb.h:12:0,                 from ../src/node_usb.cc:1:
    /root/.node-gyp/10.14.2/include/node/v8.h:10046:15: note: declared here
     Local <object>Value::ToObject() const {
                   ^~~~~
    
    ../src/device.cc: In static member function ‘static void Req::default_after(uv_work_t*)’:../src/device.cc:237:64: warning: ‘v8::Local <v8::value>Nan::MakeCallback(v8::Local<v8::object>, v8::Local<v8::function>, int, v8::Local<v8::value>*)’ is deprecated [-Wdeprecated-declarations]
        Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv);
                                                                    ^
    
    In file included from ../src/helpers.h:3:0,                 from ../src/node_usb.h:21,
                     from ../src/device.cc:1:
    ../../nan/nan.h:958:46: note: declared here
       NAN_DEPRECATED inline v8::Local <v8::value>MakeCallback(
                                                  ^~~~~~~~~~~~
    
    ../src/transfer.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Transfer_Submit(Nan::NAN_METHOD_ARGS_TYPE)’:../src/transfer.cc:58:47: warning: ‘v8::Local <v8::object>v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
      Local <object>buffer_obj = info[0]->ToObject();
                                                   ^
    In file included from ../src/node_usb.h:12:0,
                     from ../src/transfer.cc:1:
    /root/.node-gyp/10.14.2/include/node/v8.h:10046:15: note: declared here
     Local <object>Value::ToObject() const {
                   ^~~~~
    
    ../src/transfer.cc: In function ‘void handleCompletion(Transfer*)’:../src/transfer.cc:126:72: warning: ‘v8::Local <v8::value>Nan::MakeCallback(v8::Local<v8::object>, v8::Local<v8::function>, int, v8::Local<v8::value>*)’ is deprecated [-Wdeprecated-declarations]
       Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv);
                                                                            ^
    In file included from ../src/helpers.h:3:0,
                     from ../src/node_usb.h:21,
                     from ../src/transfer.cc:1:
    ../../nan/nan.h:958:46: note: declared here
       NAN_DEPRECATED inline v8::Local <v8::value>MakeCallback(
                                                  ^~~~~~~~~~~~
    
    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:251:95: warning: ‘v8::Local <v8::value>Nan::MakeCallback(v8::Local<v8::object>, v8::Local<v8::string>, int, v8::Local<v8::value>*)’ is deprecated [-Wdeprecated-declarations]
         Nan::MakeCallback(Nan::New<object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                   ^
    
    In file included from ../src/BluetoothHciSocket.cpp:8:0:../../nan/nan.h:979:46: note: declared here
       NAN_DEPRECATED inline v8::Local <v8::value>MakeCallback(
                                                  ^~~~~~~~~~~~
    
    ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:275:72: error: no matching function for call to ‘v8::Function::NewInstance(int, v8::Local <v8::value>[1])’
       Local <value>error = errorConstructor->NewInstance(1, constructorArgs);
                                                                            ^
    In file included from /root/.node-gyp/10.14.2/include/node/node.h:63:0,
                     from /root/.node-gyp/10.14.2/include/node/node_buffer.h:25,
                     from ../src/BluetoothHciSocket.cpp:7:
    /root/.node-gyp/10.14.2/include/node/v8.h:3993:44: note: candidate: v8::MaybeLocal <v8::object>v8::Function::NewInstance(v8::Local<v8::context>, int, v8::Local<v8::value>*) const
       V8_WARN_UNUSED_RESULT MaybeLocal <object>NewInstance(
                                                ^~~~~~~~~~~
    /root/.node-gyp/10.14.2/include/node/v8.h:3993:44: note:   candidate expects 3 arguments, 2 provided
    /root/.node-gyp/10.14.2/include/node/v8.h:3996:44: note: candidate: v8::MaybeLocal <v8::object>v8::Function::NewInstance(v8::Local<v8::context>) const
       V8_WARN_UNUSED_RESULT MaybeLocal <object>NewInstance(
                                                ^~~~~~~~~~~
    /root/.node-gyp/10.14.2/include/node/v8.h:3996:44: note:   candidate expects 1 argument, 2 provided
    
    ../src/BluetoothHciSocket.cpp:282:93: warning: ‘v8::Local <v8::value>Nan::MakeCallback(v8::Local<v8::object>, v8::Local<v8::string>, int, v8::Local<v8::value>*)’ is deprecated [-Wdeprecated-declarations]   Nan::MakeCallback(Nan::New<object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv);
                                                                                                 ^
    In file included from ../src/BluetoothHciSocket.cpp:8:0:
    ../../nan/nan.h:979:46: note: declared here
       NAN_DEPRECATED inline v8::Local <v8::value>MakeCallback(
                                                  ^~~~~~~~~~~~
    
    ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindRaw(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:395:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           devId = arg0->IntegerValue();
                                      ^
    
    In file included from /root/.node-gyp/10.14.2/include/node/v8.h:26:0,                 from /root/.node-gyp/10.14.2/include/node/node.h:63,
                     from /root/.node-gyp/10.14.2/include/node/node_buffer.h:25,
                     from ../src/BluetoothHciSocket.cpp:7:
    /root/.node-gyp/10.14.2/include/node/v8.h:2476:46: note: declared here
       V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                  ^
    /root/.node-gyp/10.14.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    
    ../src/BluetoothHciSocket.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BluetoothHciSocket::BindUser(Nan::NAN_METHOD_ARGS_TYPE)’:../src/BluetoothHciSocket.cpp:417:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           devId = arg0->IntegerValue();
                                      ^
    In file included from /root/.node-gyp/10.14.2/include/node/v8.h:26:0,
                     from /root/.node-gyp/10.14.2/include/node/node.h:63,
                     from /root/.node-gyp/10.14.2/include/node/node_buffer.h:25,
                     from ../src/BluetoothHciSocket.cpp:7:
    /root/.node-gyp/10.14.2/include/node/v8.h:2476:46: note: declared here
       V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
                                                  ^
    /root/.node-gyp/10.14.2/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
       declarator __attribute__((deprecated(message)))
       ^~~~~~~~~~
    
    make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Error 1
    gyp
     ERR! build error 
    gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
    gyp ERR! System Linux 4.14.79-v7+
    gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/bluetooth-hci-socket
    gyp ERR! node -v v10.14.2
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok 
    
    npm
     WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself.
    npm
    
    WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    
    npm WARN optional
     SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 (node_modules/bluetooth-hci-socket):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bluetooth-hci-socket@0.5.1 install: `node-gyp rebuild`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    
    host.phoscon install adapter radar
    got /opt/iobroker/node_modules/iobroker.radar/admin
    upload [1] radar.admin /opt/iobroker/node_modules/iobroker.radar/admin/radar.png radar.png image/png
    upload [0] radar.admin /opt/iobroker/node_modules/iobroker.radar/admin/index.html index.html text/html
    host.phoscon object system.adapter.radar created
    host.phoscon create instance radar
    host.phoscon object system.adapter.radar.0.outputCount created
    host.phoscon object system.adapter.radar.0.inputCount created
    host.phoscon object system.adapter.radar.0.uptime created
    host.phoscon object system.adapter.radar.0.memRss created
    host.phoscon object system.adapter.radar.0.memHeapTotal created
    host.phoscon object system.adapter.radar.0.memHeapUsed created
    host.phoscon object system.adapter.radar.0.connected created
    host.phoscon object system.adapter.radar.0.alive created
    host.phoscon object system.adapter.radar.0 created
    process exited with code 0
    
    Hier scheint zum einen erstmal in der Routine die falsche Downloadadresse für Node-pre-gyp angegeben zu sein.
    
    Danach läuft es aber halbwegs durch, bis unten noch einmal einige Fehlermeldungen zu node-gyp kommen. 
    
    Der Adapter ist dennoch installiert. Wenn ich allerdings ein Gerät angebe, kommt im LOG des IOBrokers die Fehlermeldung wie im Anhang zu sehen. 
    
    Er scheint erstmal Probleme zu haben, dass er noble nicht findet, bzw. "Bluetooth-hci-socket"
    
    Installiere ich dieses Bluetooth-hci-socket manuell über
    

    sudo npm install bluetooth-hci-socket

    hagelt es Fehlermeldungen (auch wieder wegen fehlendem Download und node-gyp
    
    Danke schonmal für eure Hilfe.
    
    Bin leider nicht wirklich fit in Linux. Bitte sprecht also langsam ;-)
      [10504_radar.jpg](/assets/uploads/files/10504_radar.jpg)</v8::value></object></v8::value></v8::string></v8::object></v8::value></object></v8::context></v8::object></object></v8::value></v8::context></v8::object></value></v8::value></v8::value></object></v8::value></v8::string></v8::object></v8::value></v8::value></v8::value></v8::function></v8::object></v8::value></object></object></v8::object></v8::value></v8::value></v8::function></v8::object></v8::value></object></integer></string></v8::object></v8::value></v8::value></v8::value></v8::object></v8::value></libusb_device*,> 
    
    1 Antwort Letzte Antwort
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #2

      Hey,

      Die Lösung ist einfach: noble ist eine optionale Library für Bluetooth Kram und diese ist noch nicht kompatibel zu nodejs 10 was du nutzt.

      Die Fehlermeldung sagt genau das.

      Wenn du also Bluetooth nicht brauchst dann alles ok und Meldung ignorieren.

      Wenn du Bluetooth brauchst dann warten oder nodejs downgraden.

      Gesendet vom Handy …

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Antwort Letzte Antwort
      0
      • S Offline
        S Offline
        Shaky79
        schrieb am zuletzt editiert von
        #3

        Ah, ok danke erstmal . Will Bluetooth schon nutzen und wenn es keine andere Möglichkeit gibt als das Radar Plugin, lese ich mich mal ein wie man downgraded. Hab ich da denn vermutlich andere „side effects“? Also sämtliche Adapter neu installieren oder so?

        Wüsste gerade auch nicht wie ich den Adapter ohne downgraden nutzen sollte. Er schließt sich ja immer aufgrund der Fehlermeldung im Anhang.

        Gesendet von iPhone mit Tapatalk

        1 Antwort Letzte Antwort
        0
        • apollon77A Offline
          apollon77A Offline
          apollon77
          schrieb am zuletzt editiert von
          #4

          Es gibt ein issue beim Radar Adapter mit Infos zum nodejs10 Support. Der Entwickler muss nur Zeit finden.

          Gesendet vom Handy …

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          1 Antwort Letzte Antwort
          0
          Antworten
          • In einem neuen Thema antworten
          Anmelden zum Antworten
          • Älteste zuerst
          • Neuste zuerst
          • Meiste Stimmen


          Support us

          ioBroker
          Community Adapters
          Donate
          FAQ Cloud / IOT
          HowTo: Node.js-Update
          HowTo: Backup/Restore
          Downloads
          BLOG

          748

          Online

          32.7k

          Benutzer

          82.5k

          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