NEWS
[Adapter] Neuer radar2-Adapter
-
@frankjoke
Ich hatte die Befehle ausgeführt die auf der Git Seite standen. Habe nun nochmal alle von hier oben aus dem Spoiler nachgezogen, ändert aber nichts. Ein DHCP/DNS Server (in meinem Falle PiHole) und Radar auf einem Rechner scheinen sich nicht zu vertragen (beanspruchen halt beide Port 67) . Schade, damit muss ich dann zurück zum BLE AdapterDas Fehlerlog sieht übrigens immernoch genauso aus:
host.raspi 2019-05-26 19:07:18.667 info Restart adapter system.adapter.radar2.1 because enabled host.raspi 2019-05-26 19:07:18.667 error instance system.adapter.radar2.1 terminated with code 0 (OK) host.raspi 2019-05-26 19:07:18.667 error Caught by controller[0]: port: 67 } host.raspi 2019-05-26 19:07:18.667 error Caught by controller[0]: address: '0.0.0.0', host.raspi 2019-05-26 19:07:18.667 error Caught by controller[0]: syscall: 'bind', host.raspi 2019-05-26 19:07:18.667 error Caught by controller[0]: code: 'EADDRINUSE', host.raspi 2019-05-26 19:07:18.667 error Caught by controller[0]: errno: 'EADDRINUSE', host.raspi 2019-05-26 19:07:18.666 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:181:9) host.raspi 2019-05-26 19:07:18.666 error Caught by controller[0]: at _combinedTickCallback (internal/process/next_tick.js:142:11) host.raspi 2019-05-26 19:07:18.666 error Caught by controller[0]: at _handle.lookup (dgram.js:266:18) host.raspi 2019-05-26 19:07:18.666 error Caught by controller[0]: { Error: bind EADDRINUSE 0.0.0.0:67 host.raspi 2019-05-26 19:07:15.999 info instance system.adapter.radar2.1 started with pid 10994 host.raspi 2019-05-26 19:07:15.986 info "system.adapter.radar2.1" enabled
Gibt es vielleicht irgendeinen Weg, wie man dem Adapter sagen kann, dass er ARP, DHCP usw. weglassen soll, sondern sich nur auf BT konzentrieren soll?
-
@ChristianF
Ja, PiHole ist ein Problem das wir noch nicht lösen konnten, Bin noch am überlegen ob ich die DNS-Funktion abschaltbar mache damit der Rest verwendet werden kann... -
@frankjoke Okay, danke für den Hinweis. Ich bin ein kleines bisschen IT bewandert, aber so intensiv leider nicht.
Es wäre mega klasse wenn der Adapter unter Win10 funktional wäre.
Wenn ich auf irgendeine Weise dazu mit Testbetrieb bei mir beitragen kann, dann helfe ich gern.
Ich habe mir noch einen separaten Bluetooth Dongle besorgt, falls das hilfreich ist. -
@frankjoke das wäre extrem klasse. Viel mehr als eine zusätzliche If Schleife mit zugehöriger Checkbox auf der Config Seite dürfte das eigentlich nicht sein, oder? Das würde mindestens den Pihole Usern entgegen kommen
-
Ich habe IObroker bei pi hole außen vor gelassen. Das heißt, ich habe bei jedem Gerät als DNS die IP von pi hole eingegeben.
Bei der Raspberrymatic und IObroker eben nicht.
Funktioniert einwandfrei.
@frankjoke
Hast Du schon etwas mit meinem Log anfangen können?
Gruß,
Mathias -
Also nach 2x Iobroker Kaputt nach dem ich Radar2 testen wote ( Alles hat nurnoch gehangen trotz Deinstall .. )
Habe ich mich ein 3. mal getraut da iobroker nun tabie läuft seit Tagen )Install Log:
$ ./iobroker add radar2 --host iobroker NPM version: 6.4.1 npm install iobroker.radar2@1.0.3 --production --save --prefix "/opt/iobroker" (System call) npm notice created a lockfile as package-lock.json. You should commit this file. prebuild-install info begin Prebuild-install version 5.3.0 prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/97a8e8-usb-v1.6.0-node-v57-linux-x64.tar.gz prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v57-linux-x64.tar.gz prebuild-install http 200 https://github.com/tessel/node-usb/releases/download/v1.6.0/usb-v1.6.0-node-v57-linux-x64.tar.gz prebuild-install info downloading to @ /home/iobroker/.npm/_prebuilds/97a8e8-usb-v1.6.0-node-v57-linux-x64.tar.gz.10076-1f8b97d431049.tmp prebuild-install info renaming to @ /home/iobroker/.npm/_prebuilds/97a8e8-usb-v1.6.0-node-v57-linux-x64.tar.gzprebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/97a8e8-usb-v1.6.0-node-v57-linux-x64.tar.gz prebuild-install info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node prebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfully prebuild-install info install Successfully installed prebuilt binary! node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v57-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@8.16.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp) ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:252: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:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:283: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:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden #include <bluetooth/bluetooth.h> ^ compilation terminated. make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 4.4.59+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /opt/iobroker/node_modules/node-bluetooth gyp ERR! node -v v8.16.0gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.3 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.5 (node_modules/node-bluetooth): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.5 install: `node-gyp configure build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 host.iobroker install adapter radar2 npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.radar2" npm notice created a lockfile as package-lock.json. You should commit this file. prebuild-install info begin Prebuild-install version 5.3.0 prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/97a8e8-usb-v1.6.0-node-v57-linux-x64.tar.gz prebuild-install info found cached prebuild prebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/97a8e8-usb-v1.6.0-node-v57-linux-x64.tar.gz prebuild-install info unpack resolved to /opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build/Release/usb_bindings.node prebuild-install info unpack required /opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build/Release/usb_bindings.node successfullyprebuild-install info install Successfully installed prebuilt binary! node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v57-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@8.16.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp) ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:252: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:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’: ../src/BluetoothHciSocket.cpp:283: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:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/linux/DeviceINQ.cc:35:37: fatal error: bluetooth/bluetooth.h: Datei oder Verzeichnis nicht gefunden #include <bluetooth/bluetooth.h> ^ compilation terminated. make: *** [Release/obj.target/BluetoothSerialPort/src/linux/DeviceINQ.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 4.4.59+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth gyp ERR! node -v v8.16.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.5 (node_modules/node-bluetooth):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-bluetooth@1.2.5 install: `node-gyp configure build` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 got /opt/iobroker/node_modules/iobroker.radar2/admin upload [13] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/words.js words.js application/javascript upload [12] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/radar2.png radar2.png image/png upload [11] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/index_m.html index_m.html text/html upload [10] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/index.html index.html text/html upload [9] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [8] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [7] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [6] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [5] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [4] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [3] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [2] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [1] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [0] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/de/translations.json i18n/de/translations.json application/json host.iobroker object system.adapter.radar2 created host.iobroker create instance radar2 host.iobroker object system.adapter.radar2.0.outputCount created host.iobroker object system.adapter.radar2.0.inputCount created host.iobroker object system.adapter.radar2.0.uptime created host.iobroker object system.adapter.radar2.0.memRss created host.iobroker object system.adapter.radar2.0.memHeapTotal created host.iobroker object system.adapter.radar2.0.memHeapUsed created host.iobroker object system.adapter.radar2.0.cputime created host.iobroker object system.adapter.radar2.0.cpu created host.iobroker object system.adapter.radar2.0.connected created host.iobroker object system.adapter.radar2.0.alive created host.iobroker object system.adapter.radar2.0 created process exited with code 0
Und im log fehler und Adapter bleibt rot:
host.iobroker 2019-05-31 08:27:50.887 info Restart adapter system.adapter.radar2.0 because enabled host.iobroker 2019-05-31 08:27:50.887 error instance system.adapter.radar2.0 terminated with code null () host.iobroker 2019-05-31 08:27:50.887 warn instance system.adapter.radar2.0 terminated due to SIGABRT host.iobroker 2019-05-31 08:27:50.886 error Caught by controller[0]: .0: ../deps/uv/src/unix/poll.c:123: uv_poll_start: Assertion `!(((handle)->flags & (UV_HANDLE_CLOSING | UV_HANDLE_CLOSED)) != 0)' failed. radar2.0 2019-05-31 08:27:48.995 info starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.radar2, node: v8.16.0 host.iobroker 2019-05-31 08:27:48.323 info instance system.adapter.radar2.0 started with pid 12970 host.iobroker 2019-05-31 08:27:18.187 info Restart adapter system.adapter.radar2.0 because enabled host.iobroker 2019-05-31 08:27:18.187 error instance system.adapter.radar2.0 terminated with code null () host.iobroker 2019-05-31 08:27:18.187 warn instance system.adapter.radar2.0 terminated due to SIGABRT host.iobroker 2019-05-31 08:27:18.187 error Caught by controller[0]: .0: ../deps/uv/src/unix/poll.c:123: uv_poll_start: Assertion `!(((handle)->flags & (UV_HANDLE_CLOSING | UV_HANDLE_CLOSED)) != 0)' failed. radar2.0 2019-05-31 08:27:16.320 info starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.radar2, node: v8.16.0 host.iobroker 2019-05-31 08:27:15.611 info instance system.adapter.radar2.0 started with pid 12738 host.iobroker 2019-05-31 08:26:45.595 info Restart adapter system.adapter.radar2.0 because enabled host.iobroker 2019-05-31 08:26:45.595 error instance system.adapter.radar2.0 terminated with code null () host.iobroker 2019-05-31 08:26:45.595 warn instance system.adapter.radar2.0 terminated due to SIGSEGV radar2.0 2019-05-31 08:26:43.663 info starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.radar2, node: v8.16.0 host.iobroker 2019-05-31 08:26:42.935 info instance system.adapter.radar2.0 started with pid 12509 host.iobroker 2019-05-31 08:26:12.926 info Restart adapter system.adapter.radar2.0 because enabled host.iobroker 2019-05-31 08:26:12.926 error instance system.adapter.radar2.0 terminated with code null () host.iobroker 2019-05-31 08:26:12.926 warn instance system.adapter.radar2.0 terminated due to SIGSEGV
-
@ChrisXY ,
Ich sehe 2 Dinge in den ersten Zeilen des logs:
- Du installierst nicht die letzte Version von git (V1.2.0), es wird 1.0.3 installiert! Bitte installiere über admin, clicke dort auf das git-Äffchen und gib dort unter 'Von github' radar2 ein und installieren. Aber:
- Vorher das script ausführen welches beim readme unter install (oder hier am ersten post) gelistet ist. Habe im log gesehen dass z.B.
bluetooth.h
nicht gefunden wird und das deutet darauf hin dass einige bluetooth-treiber nicht installiert wurden!
Das kann natürlich auch daher kommen dass du nicht unter linux sondern unter WSL/Windows arbeitest, aber deine Kommandozeile schaut nach linux aus.
Bitte checken!
-
@frankjoke ups okay. Ich nutze docker und habe bei BT. Kann man das nicht deaktivieren?
-
Hallo,
ich versuche radar2 in einem Docker Container auf einer Synology zu installieren. Ich bekomme nach dem Start die folgenden Log Einträge2019-06-01 07:23:06.506 - info: host.e329125469a2 instance system.adapter.radar2.0 started with pid 17801 2019-06-01 07:23:06.978 - info: radar2.0 starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.radar2, node: v8.16.0 2019-06-01 07:23:07.030 - info: radar2.0 radar2 initialization started... 2019-06-01 07:23:07.249 - warn: host.e329125469a2 instance system.adapter.radar2.0 terminated due to SIGSEGV 2019-06-01 07:23:07.250 - error: host.e329125469a2 instance system.adapter.radar2.0 terminated with code null () 2019-06-01 07:23:07.250 - info: host.e329125469a2 Restart adapter system.adapter.radar2.0 because enabled
Normalerweise sollte das behoben werden wenn ich die folgenden Zeilen ausführe
sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which arp-scan`) sudo setcap cap_net_admin,cap_net_raw,cap_net_bind_service=+eip $(eval readlink -f `which node`)
Wenn ich das mache startet jedoch iobroker nicht mehr. Ich habe eine völlig neue Instanz von dem iobroker 3.0.0 Container erstellt und auch da habe ich das Problem.
Die Zeile
node /opt/iobroker/node_modules/iobroker.radar2/radar2.js --force --logs --nolazy --debug
ergibt
info: got following adapter: { name: 'radar2' } starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.radar2, node: v8.16.0 radar2 initialization started... Connected with '0.0.0.0' for DHCP Scan found '@abandonware/noble' found 'node-bluetooth' radar2 set to flag items away if they are not seen for 2 minutes use known BT list: [ '01:12:23:34:45:56' ] use known IP list: [ '1.1.1.1' ] Remove name end for host names: .fritz.box arp-scan will use the following interfaces: [ 'eth0' ] radar2 set to scan every 20 seconds and printers every 720 minutes. Speicherzugriffsfehler
Hat jemand eine Idee woran das noch liegen könnte?
Stephan
-
Speicherzugriffsfehler klingt stark nach einem Hardware Problem. Leider schreibst du nicht, was es für ein Host ist. Sollte es ein Einplatinensystem a la Raspberry oder Derivat sein, würde ich stark auf eine defekte Speicherkarte oder ein Netzteil Problem tippen.
-
@ChristianF Das Ganze läuft in einem Docker Container. Ich denke einen Hardwarefehler können wir ausschliessen. Das gesamte System läuft ohne Problem und es laufen mehrere Docker Container ohne jede Probleme. Ich habe jetzt mal die aktuelle GitHub Version 1.2.0 installiert. Beim erstellen des Adapter kommen diverse Fehlermeldungen. Ich denke das Problem lieget irgendwo in der node-pre-gyp installation. Habe versucht es von Hand zu installieren aber bisher ohne Glück.
$ ./iobroker add radar2 --host test host.test install adapter radar2 npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.radar2" npm notice created a lockfile as package-lock.json. You should commit this file. ../src/raw.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE raw::CreateChecksum(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:82:44: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer = info[1]->ToObject (); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/raw.h:21, from ../src/raw.cc:6: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::GetOption(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:388:44: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer = info[2]->ToObject (); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/raw.h:21, from ../src/raw.cc:6: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::Pause(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:509:40: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] bool pause_recv = info[0]->ToBoolean ()->Value (); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/raw.h:21, from ../src/raw.cc:6: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10034:16: note: declared here Local<Boolean> Value::ToBoolean() const { ^~~~~ ../src/raw.cc:515:40: warning: ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] bool pause_send = info[1]->ToBoolean ()->Value (); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/raw.h:21, from ../src/raw.cc:6: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10034:16: note: declared here Local<Boolean> Value::ToBoolean() const { ^~~~~ ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::Recv(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:557:31: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] buffer = info[0]->ToObject (); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/raw.h:21, from ../src/raw.cc:6: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::Send(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:650:30: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] buffer = info[0]->ToObject (); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/raw.h:21, from ../src/raw.cc:6: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ ../src/raw.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE raw::SocketWrap::SetOption(Nan::NAN_METHOD_ARGS_TYPE)’:../src/raw.cc:727:45: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local<Object> buffer = info[2]->ToObject (); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63:0, from ../src/raw.h:21, from ../src/raw.cc:6: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here Local<Object> Value::ToObject() const { ^~~~~ 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-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for usb@1.5.0 and node@10.16.0 (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 /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.node-gyp/10.16.0/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 /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from ../src/node_usb.h:12, from ../src/node_usb.cc:1: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const); ^ /home/iobroker/.node-gyp/10.16.0/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:1001: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: /home/iobroker/.node-gyp/10.16.0/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:959: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: /home/iobroker/.node-gyp/10.16.0/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:959:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/0.5.3-1/binding-0.5.3-1-node-v64-linux-x64.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@10.16.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::poll()’:../src/BluetoothHciSocket.cpp:252: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:980:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:283: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:980: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:396:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63, from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/iobroker/.node-gyp/10.16.0/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:418:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] devId = arg0->IntegerValue(); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from /home/iobroker/.node-gyp/10.16.0/include/node/node.h:63, from /home/iobroker/.node-gyp/10.16.0/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2476:46: note: declared here V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const); ^ /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/DeviceINQ.cc: In static member function ‘static void DeviceINQ::EIO_AfterSdpSearch(uv_work_t*)’:../src/linux/DeviceINQ.cc:139:28: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] baton->cb->Call(1, argv); ^ In file included from ../src/linux/DeviceINQ.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::InquireSync(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/DeviceINQ.cc:251:26: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] found->Call(2, argv); ^ In file included from ../src/linux/DeviceINQ.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/DeviceINQ.cc:255:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] callback->Call(0, argv); ^ In file included from ../src/linux/DeviceINQ.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/DeviceINQ.cc: In member function ‘virtual void InquireWorker::HandleOKCallback()’:../src/linux/DeviceINQ.cc:284:26: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] found->Call(2, argv); ^ In file included from ../src/linux/DeviceINQ.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/DeviceINQ.cc:288:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] callback->Call(0, argv); ^ In file included from ../src/linux/DeviceINQ.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/DeviceINQ.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::SdpSearch(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/DeviceINQ.cc:317:38: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value address(info[0]); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from ../src/linux/DeviceINQ.cc:12: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterConnect(uv_work_t*)’:../src/linux/BTSerialPortBinding.cc:83:32: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] baton->cb->Call(0, NULL); ^ In file included from ../src/linux/BTSerialPortBinding.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBinding.cc:89:33: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] baton->ecb->Call(1, argv); ^ In file included from ../src/linux/BTSerialPortBinding.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_Write(uv_work_t*)’:../src/linux/BTSerialPortBinding.cc:115:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (data->result != data->bufferLength) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterWrite(uv_work_t*)’:../src/linux/BTSerialPortBinding.cc:135:33: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback->Call(2, argv); ^ In file included from ../src/linux/BTSerialPortBinding.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBinding.cc: In static member function ‘static void BTSerialPortBinding::EIO_AfterRead(uv_work_t*)’:../src/linux/BTSerialPortBinding.cc:207:28: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] baton->cb->Call(2, argv); ^ In file included from ../src/linux/BTSerialPortBinding.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::New(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/BTSerialPortBinding.cc:253:38: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value address(info[0]); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from ../src/linux/BTSerialPortBinding.cc:12: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc:255:41: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] int channelID = info[1]->Int32Value(); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from ../src/linux/BTSerialPortBinding.cc:12: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^ /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Read(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/BTSerialPortBinding.cc:383:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] nc->Call(2, argv); ^ In file included from ../src/linux/BTSerialPortBinding.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static void BTSerialPortBindingServer::EIO_AfterListen(uv_work_t*)’:../src/linux/BTSerialPortBindingServer.cc:176:33: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] baton->ecb->Call(1, argv); ^ In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0:../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static void BTSerialPortBindingServer::TryListenAgain()’:../src/linux/BTSerialPortBindingServer.cc:199:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] baton->ecb->Call(1, argv); ^ In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static void BTSerialPortBindingServer::EIO_AfterWrite(uv_work_t*)’:../src/linux/BTSerialPortBindingServer.cc:239:33: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] data->callback->Call(2, argv); ^ In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static void BTSerialPortBindingServer::EIO_AfterRead(uv_work_t*)’:../src/linux/BTSerialPortBindingServer.cc:311:36: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] baton->cb->Call(2, argv); ^ In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc:326:28: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] baton->cb->Call(2, argv); ^ In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBindingServer::New(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/BTSerialPortBindingServer.cc:408:70: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] string propertyName = std::string(*String::Utf8Value(property)); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from ../src/linux/BTSerialPortBindingServer.cc:12: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/BTSerialPortBindingServer.cc:410:75: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations] options[propertyName] = std::string(*String::Utf8Value(optionValue)); ^ In file included from /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:26:0, from ../src/linux/BTSerialPortBindingServer.cc:12: /home/iobroker/.node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^ /home/iobroker/.node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBindingServer::Read(Nan::NAN_METHOD_ARGS_TYPE)’:../src/linux/BTSerialPortBindingServer.cc:618:25: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] nc->Call(2, argv); ^ In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc: In member function ‘virtual void BTSerialPortBindingServer::ClientWorker::HandleOKCallback()’:../src/linux/BTSerialPortBindingServer.cc:672:27: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations] callback->Call(1, argv); ^ In file included from ../src/linux/BTSerialPortBindingServer.cc:14:0: ../node_modules/nan/nan.h:1674:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ got /opt/iobroker/node_modules/iobroker.radar2/admin upload [13] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/words.js words.js application/javascript upload [12] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/radar2.png radar2.png image/png upload [11] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/index_m.html index_m.html text/html upload [10] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/index.html index.html text/html upload [9] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [8] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [7] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [6] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [5] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [4] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [3] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [2] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [1] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [0] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/de/translations.json i18n/de/translations.json application/json host.test object system.adapter.radar2 created host.test create instance radar2 host.test object radar2.0.info.connection created host.test object radar2.0.info created host.test object system.adapter.radar2.0.outputCount created host.test object system.adapter.radar2.0.inputCount created host.test object system.adapter.radar2.0.uptime created host.test object system.adapter.radar2.0.memRss created host.test object system.adapter.radar2.0.memHeapTotal created host.test object system.adapter.radar2.0.memHeapUsed created host.test object system.adapter.radar2.0.cputime created host.test object system.adapter.radar2.0.cpu created host.test object system.adapter.radar2.0.connected created host.test object system.adapter.radar2.0.alive created host.test object system.adapter.radar2.0 created process exited with code 0
-
nochmal kurze frage von oben. Kann man das BT nicht Deaktivieren ? Da ich das eh nicht nutze will ich das script jetzt auch nur ungern ausühren. Leider läuft der Adapter sonst wohl nicht
-
@ChrisXY Bisher sind keine Module einzeln aktivier- oder deaktivierbar. Ich hätte es auch gern einzeln deaktivierbar , da ich nur die BT Thematik nutze und das DNS Geraffel bei mir mit PiHole kollidiert.
-
Das Problem ist der container, leider verbiegen container einige Systemaufrufe und nicht alles was im System erlaubt ist ist im container erlaubt.
Ich habe ein Notebook bestellt das mein neues Entwicklungssystem werden wird, werd ich hoffentlich morgen geliefert bekommen und dann zu Pfingsten installiert haben (damit ich mir nicht das meiner Frau ausborgen muss wo ich keine speziellen tools installieren darf) und dann den Adapter umzuschreiben umBT, DHCP und andere Teile getrennt ausschalten zu können und auch zwischen noble für Windows und für Linux umzuschalten.
Habe vor 2 Jahren aufgegeben mit Container (auf raspi's) zu arbeiten, kanns aber dann mal auf einer Testmaschine versuchen, auf Produktionssysteme kommt mir kein Docker auf 'nem Raspi, ist nur unnötiger overhead.
-
@frankjoke sagte in [Adapter] Neuer radar2-Adapter:
(...) dann den Adapter umzuschreiben umBT, DHCP und andere Teile getrennt ausschalten zu können und auch zwischen noble für Windows und für Linux umzuschalten.
Weltbeste Nachricht!! Vielen vielen Dank bereits im Voraus!
Habe vor 2 Jahren aufgegeben mit Container (auf raspi's) zu arbeiten, kanns aber dann mal auf einer Testmaschine versuchen, auf Produktionssysteme kommt mir kein Docker auf 'nem Raspi, ist nur unnötiger overhead.
Das sehe ich genauso. Ich habe die ganzen Containergeschichten sein gelassen weil es laufend Ärger gab. Seitdem verwende ich auf meinem QNAP Nas in der Virtualisation Station kleine virtuelle Maschinen (sind übrigens VMware kompatibel!) mit einem Minimal-Debian für die einzelnen Anwendungen, und es läuft sehr gut. Vor allem haben Änderungen am Host keinen Einfluss auf die VMs.
-
@frankjoke Ich habe das mittlerweile am Laufen aber leider kann ich nicht genau sagen was das Problem war
Ich habe einen Testcontainer erstellt wo eine neue ioBroker installation lief. Ich habe dort bei der Installation von radar2 schon Fehlermeldungen gesehen obwohl am Ende gesagt wurde das die Installation erfolgreich war. Die Meldungen deuteten auf Probleme mit node und nodejs hin. Ich habe die beiden auf den aktuellen Stand gebracht und noch einige anderen Sachen verdreht und plötzlich lief es. Ich habe dann die Daten von meinem Hauptcontainer importiert und es so ans laufen gebracht.
Ich habe aber ein anderes Problem gefunden. Man kann in den Einstellungen festlegen nach wie vielen Minuten ein Teilnehmer als abwesend eingestuft wird. Ich würde also denken das wenn ein Teilnehmer erkannt wurde dauert es mindestens so lange bis er also abwesend erkannt wird. Ich habe jedoch ein iPhone das deutlich schneller als die 15 Minuten wieder auf false gesetzt wird. Siehe Screenshots unten
-
Hi, muss ich, um den Tintenstand meines HP-Laserjets abzurufen, noch irgendwas einstellen, außer der IP? Bisher finde ich unter Objekten keine Informationen zum Drucker... abgesehen von der Verfügbarkeit.
-
@bmueller77
Das wichtigste: Der Name des Gerätes muss mitHP-
beginnen!
Ansonsten prüft er nur die Verfügbarkeit wie ein normales IP-Gerät, versucht aber keinen Tintenstand auszulesen! -
@frankjoke Danke für den Tipp
. Schade nur, dass die Funktion mir nur ein "All > 10%" zurückgibt. Wäre schön, für jede Farbe einen aktuellen Stand zu bekommen. Vielleicht in einem der nächsten Updates...wäre toll.
-
@bmueller77
Das gibt es schon, bei mir schauts so aus mit den 2 Druckern...