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

  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. [Adapter] Neuer radar2-Adapter

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.3k

[Adapter] Neuer radar2-Adapter

Geplant Angeheftet Gesperrt Verschoben Entwicklung
adapterradar2 adapter
840 Beiträge 80 Kommentatoren 242.8k Aufrufe 54 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.
  • frankjokeF frankjoke

    @MathiasJ
    Wie meinst du das, du hast jetzt nur 2 flags getrennt! Wie schaut dein log aus wenn du auf hciscan schaltest ?

    MathiasJM Offline
    MathiasJM Offline
    MathiasJ
    schrieb am zuletzt editiert von MathiasJ
    #639

    @frankjoke
    so, jetzt bin ih schlauer.
    BLE scan wird gar nicht durchgeführt.
    Die BT-Adresse des Handies wird gefunden, die G-Tags nicht.

    LOG HERUNTERLADENLog-Größe: 0.00 MB 
      close	Zeit		
    Meldung
    radar2.0	2019-05-26 08:35:09.018	info	debug: ChangeState ack:true of Mathias-Handy._lastHere = 2019-05-26@08:35:08
    radar2.0	2019-05-26 08:35:08.997	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.944 seconds and returned 26 hosts.
    radar2.0	2019-05-26 08:35:08.965	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.920 seconds and returned 26 hosts.
    radar2.0	2019-05-26 08:35:05.204	info	debug: started #29 hcitool -i hci0 lescan --duplicates
    radar2.0	2019-05-26 08:35:05.166	info	debug: started #28 hciconfig hci0 up
    radar2.0	2019-05-26 08:35:05.050	info	debug: radar2 found uIP's: []
    radar2.0	2019-05-26 08:35:05.048	info	debug: started #27 hciconfig hci0 down
    radar2.0	2019-05-26 08:34:56.180	info	debug: ChangeState ack:true of _uIPs = [ '192.168.1.1','192.168.1.10','192.168.1.100','192.168.1.101','192.168.1.102','192.168.1.11','192.168.1.12','192.168.1.13','192.168.1.14','192.168.1.199','192.1
    radar2.0	2019-05-26 08:34:56.171	info	debug: radar2 found uBT's: [ '94:87:e0:a2:16:1e' ]
    radar2.0	2019-05-26 08:34:56.170	info	debug: and not here (Familie, Mathias, Mieter)
    radar2.0	2019-05-26 08:34:56.170	info	debug: and who here (Mathias-Handy)
    radar2.0	2019-05-26 08:34:56.170	info	debug: radar2 found here (Mathias-Handy)
    radar2.0	2019-05-26 08:34:48.995	info	debug: ChangeState ack:true of Mathias-Handy._lastHere = 2019-05-26@08:34:48
    radar2.0	2019-05-26 08:34:48.982	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.965 seconds and returned 26 hosts.
    radar2.0	2019-05-26 08:34:48.949	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.955 seconds and returned 26 hosts.
    radar2.0	2019-05-26 08:34:45.162	info	debug: started #26 hcitool -i hci0 lescan --duplicates
    radar2.0	2019-05-26 08:34:45.127	info	debug: started #25 hciconfig hci0 up
    radar2.0	2019-05-26 08:34:45.006	info	debug: radar2 found uIP's: []
    radar2.0	2019-05-26 08:34:45.005	info	debug: started #24 hciconfig hci0 down
    radar2.0	2019-05-26 08:34:35.755	info	debug: ChangeState ack:true of _uIPs = [ '192.168.1.1','192.168.1.10','192.168.1.100','192.168.1.101','192.168.1.102','192.168.1.11','192.168.1.12','192.168.1.13','192.168.1.14','192.168.1.2','192.168
    radar2.0	2019-05-26 08:34:35.747	info	debug: radar2 found uBT's: [ '94:87:e0:a2:16:1e' ]
    radar2.0	2019-05-26 08:34:35.747	info	debug: and not here (Familie, Mathias, Mieter)
    radar2.0	2019-05-26 08:34:35.747	info	debug: and who here (Mathias-Handy)
    radar2.0	2019-05-26 08:34:35.746	info	debug: radar2 found here (Mathias-Handy)
    radar2.0	2019-05-26 08:34:28.900	info	debug: ChangeState ack:true of Mathias-Handy._lastHere = 2019-05-26@08:34:28
    radar2.0	2019-05-26 08:34:28.890	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.951 seconds and returned 24 hosts.
    radar2.0	2019-05-26 08:34:28.877	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.942 seconds and returned 24 hosts.
    radar2.0	2019-05-26 08:34:25.098	info	debug: started #23 hcitool -i hci0 lescan --duplicates
    radar2.0	2019-05-26 08:34:25.057	info	debug: started #22 hciconfig hci0 up
    radar2.0	2019-05-26 08:34:24.939	info	debug: radar2 found uIP's: []
    radar2.0	2019-05-26 08:34:24.938	info	debug: started #21 hciconfig hci0 down
    radar2.0	2019-05-26 08:34:16.511	info	debug: radar2 found uBT's: [ '94:87:e0:a2:16:1e' ]
    radar2.0	2019-05-26 08:34:16.511	info	debug: and not here (Familie, Mathias, Mieter)
    radar2.0	2019-05-26 08:34:16.511	info	debug: and who here (Mathias-Handy)
    radar2.0	2019-05-26 08:34:16.510	info	debug: radar2 found here (Mathias-Handy)
    radar2.0	2019-05-26 08:34:08.903	info	debug: ChangeState ack:true of Mathias-Handy._lastHere = 2019-05-26@08:34:08
    radar2.0	2019-05-26 08:34:08.877	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.964 seconds and returned 26 hosts.
    radar2.0	2019-05-26 08:34:08.840	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.942 seconds and returned 26 hosts.
    radar2.0	2019-05-26 08:34:05.047	info	debug: started #20 hcitool -i hci0 lescan --duplicates
    radar2.0	2019-05-26 08:34:05.011	info	debug: started #19 hciconfig hci0 up
    radar2.0	2019-05-26 08:34:04.896	info	debug: radar2 found uIP's: []
    radar2.0	2019-05-26 08:34:04.895	info	debug: started #18 hciconfig hci0 down
    radar2.0	2019-05-26 08:33:56.065	info	debug: ChangeState ack:true of _uIPs = [ '192.168.1.1','192.168.1.10','192.168.1.100','192.168.1.101','192.168.1.102','192.168.1.11','192.168.1.12','192.168.1.13','192.168.1.14','192.168.1.199','192.1
    radar2.0	2019-05-26 08:33:56.055	info	debug: radar2 found uBT's: [ '94:87:e0:a2:16:1e' ]
    radar2.0	2019-05-26 08:33:56.055	info	debug: and not here (Familie, Mathias, Mieter)
    radar2.0	2019-05-26 08:33:56.055	info	debug: and who here (Mathias-Handy)
    radar2.0	2019-05-26 08:33:56.054	info	debug: radar2 found here (Mathias-Handy)
    radar2.0	2019-05-26 08:33:48.799	info	debug: ChangeState ack:true of Mathias-Handy._lastHere = 2019-05-26@08:33:48
    radar2.0	2019-05-26 08:33:48.780	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.938 seconds and returned 26 hosts.
    radar2.0	2019-05-26 08:33:48.767	info	debug: arp-scan -lgq --retry=4 --timeout=400 --interface=eth0 executed for 3.945 seconds and returned 26 hosts.
    radar2.0	2019-05-26 08:33:44.990	info	debug: started #17 hcitool -i hci0 lescan --duplicates
    radar2.0	2019-05-26 08:33:44.953	info	debug: started #16 hciconfig hci0 up
    radar2.0	2019-05-26 08:33:44.838	info	debug: radar2 found uIP's: []
    radar2.0	2019-05-26 08:33:44.836	info	debug: started #15 hciconfig hci0 down
    

    das Handy wird per arp-scan getrickert.
    laut Log könnte ich es aber auch via Bluetooth einbinden.
    ich vermute, BT geht, BLE nicht.
    Gruß,
    Mathias

    IObroker auf dem NUC als VM.
    Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
    Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

    1 Antwort Letzte Antwort
    0
    • frankjokeF frankjoke

      @ChristianF
      Hast wirklich die Liste der Befehle hier im Install Spoiler ausgeführt?

      Der Rechner hat keine Rechte für das Bind auf DHCP, auch arp-scan braucht Rechte.

      Und noch was, hast eventuell 'ne alte Instanz laufen? mach mal sudo pkill -f io.radar2.0

      C Offline
      C Offline
      ChristianF
      schrieb am zuletzt editiert von
      #640

      @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 Adapter :(

      Das 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?

      frankjokeF 1 Antwort Letzte Antwort
      0
      • C ChristianF

        @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 Adapter :(

        Das 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?

        frankjokeF Offline
        frankjokeF Offline
        frankjoke
        schrieb am zuletzt editiert von
        #641

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

        Frank,

        NUC's, VM's und Raspi's unter Raspian, Ubuntu und Debian zum Testen.
        Adapter die ich selbst beigesteuert habe: BMW, broadlink2, radar2, systeminfo, km200, xs1 und einige im Anmarsch!

        C 1 Antwort Letzte Antwort
        0
        • frankjokeF frankjoke

          @smile

          Noble braucht spezielle BT-Treiber glaub ich für Windows und auch spezielle build-tools. Schau mal auf https://github.com/noble/noble#readme

          Ich kann nur auf https://github.com/jasongin/noble-uwp verweisen, das hab ich selbst gerade gefunden und noch nicht ausprobiert.

          Wenn das unter Windows funktioniert kann ich mal testen ob ich beide noble einbauen kann und je nach OS das eine oder andere verwende, wird aber dauern bis ich das testen kann, muss mir eine Windows vm bauen wo ich iobroker drauf gib und dann alles wie in obigen links beschrieben mal installiere...

          smileS Offline
          smileS Offline
          smile
          schrieb am zuletzt editiert von
          #642

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


          io.broker @ debian @ virtualbox @ Windows 10 Pro / Node 18.17.1, npm 9.6.7 / CCU3 / IR.Trans Server / Daslight 4 / Mobotix IP Cams / Qnap NAS / Sonos /

          Mein Rolladen - Blockly: https://forum.iobroker.net/topic/6442/das-ultimative-markisen-rolladen-blockly-script

          1 Antwort Letzte Antwort
          0
          • frankjokeF frankjoke

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

            C Offline
            C Offline
            ChristianF
            schrieb am zuletzt editiert von
            #643

            @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 :)

            1 Antwort Letzte Antwort
            0
            • MathiasJM Offline
              MathiasJM Offline
              MathiasJ
              schrieb am zuletzt editiert von
              #644

              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

              IObroker auf dem NUC als VM.
              Da ich noch keine Aktoren habe, wird momentan via Radar nur der AB der Fritzbox ein- und ausgeschaltet.
              Welches Smarthome-System es letztendlich wird, weiß ich noch nicht. Vielleicht kommen auch nur Zigbee-Geräte ins Haus.

              1 Antwort Letzte Antwort
              0
              • C Offline
                C Offline
                ChrisXY
                schrieb am zuletzt editiert von
                #645

                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
                
                frankjokeF 1 Antwort Letzte Antwort
                0
                • C ChrisXY

                  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
                  
                  frankjokeF Offline
                  frankjokeF Offline
                  frankjoke
                  schrieb am zuletzt editiert von
                  #646

                  @ChrisXY ,

                  Ich sehe 2 Dinge in den ersten Zeilen des logs:

                  1. 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:
                  2. 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!

                  Frank,

                  NUC's, VM's und Raspi's unter Raspian, Ubuntu und Debian zum Testen.
                  Adapter die ich selbst beigesteuert habe: BMW, broadlink2, radar2, systeminfo, km200, xs1 und einige im Anmarsch!

                  C 1 Antwort Letzte Antwort
                  1
                  • frankjokeF frankjoke

                    @ChrisXY ,

                    Ich sehe 2 Dinge in den ersten Zeilen des logs:

                    1. 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:
                    2. 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!

                    C Offline
                    C Offline
                    ChrisXY
                    schrieb am zuletzt editiert von
                    #647

                    @frankjoke ups okay. Ich nutze docker und habe bei BT. Kann man das nicht deaktivieren?

                    1 Antwort Letzte Antwort
                    0
                    • stephan1827S Offline
                      stephan1827S Offline
                      stephan1827
                      schrieb am zuletzt editiert von stephan1827
                      #648

                      Hallo,
                      ich versuche radar2 in einem Docker Container auf einer Synology zu installieren. Ich bekomme nach dem Start die folgenden Log Einträge

                      2019-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

                      1 Antwort Letzte Antwort
                      0
                      • C Offline
                        C Offline
                        ChristianF
                        schrieb am zuletzt editiert von
                        #649

                        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.

                        stephan1827S 1 Antwort Letzte Antwort
                        0
                        • C ChristianF

                          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.

                          stephan1827S Offline
                          stephan1827S Offline
                          stephan1827
                          schrieb am zuletzt editiert von
                          #650

                          @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
                          
                          frankjokeF 1 Antwort Letzte Antwort
                          0
                          • C Offline
                            C Offline
                            ChrisXY
                            schrieb am zuletzt editiert von
                            #651

                            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 :(

                            C 1 Antwort Letzte Antwort
                            0
                            • C ChrisXY

                              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 :(

                              C Offline
                              C Offline
                              ChristianF
                              schrieb am zuletzt editiert von
                              #652

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

                              1 Antwort Letzte Antwort
                              0
                              • stephan1827S stephan1827

                                @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
                                
                                frankjokeF Offline
                                frankjokeF Offline
                                frankjoke
                                schrieb am zuletzt editiert von
                                #653

                                @stephan1827

                                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.

                                Frank,

                                NUC's, VM's und Raspi's unter Raspian, Ubuntu und Debian zum Testen.
                                Adapter die ich selbst beigesteuert habe: BMW, broadlink2, radar2, systeminfo, km200, xs1 und einige im Anmarsch!

                                C stephan1827S 2 Antworten Letzte Antwort
                                2
                                • frankjokeF frankjoke

                                  @stephan1827

                                  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.

                                  C Offline
                                  C Offline
                                  ChristianF
                                  schrieb am zuletzt editiert von
                                  #654

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

                                  1 Antwort Letzte Antwort
                                  0
                                  • frankjokeF frankjoke

                                    @stephan1827

                                    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.

                                    stephan1827S Offline
                                    stephan1827S Offline
                                    stephan1827
                                    schrieb am zuletzt editiert von
                                    #655

                                    @frankjoke Ich habe das mittlerweile am Laufen aber leider kann ich nicht genau sagen was das Problem war :confused: 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

                                    Bildschirmfoto 2019-06-06 um 07.20.56.png

                                    Bildschirmfoto 2019-06-06 um 07.20.29.png

                                    1 Antwort Letzte Antwort
                                    0
                                    • bmueller77B Offline
                                      bmueller77B Offline
                                      bmueller77
                                      schrieb am zuletzt editiert von bmueller77
                                      #656

                                      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.

                                      frankjokeF 1 Antwort Letzte Antwort
                                      0
                                      • bmueller77B bmueller77

                                        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.

                                        frankjokeF Offline
                                        frankjokeF Offline
                                        frankjoke
                                        schrieb am zuletzt editiert von
                                        #657

                                        @bmueller77
                                        Das wichtigste: Der Name des Gerätes muss mit HP- beginnen!
                                        Ansonsten prüft er nur die Verfügbarkeit wie ein normales IP-Gerät, versucht aber keinen Tintenstand auszulesen!

                                        Frank,

                                        NUC's, VM's und Raspi's unter Raspian, Ubuntu und Debian zum Testen.
                                        Adapter die ich selbst beigesteuert habe: BMW, broadlink2, radar2, systeminfo, km200, xs1 und einige im Anmarsch!

                                        bmueller77B 1 Antwort Letzte Antwort
                                        0
                                        • frankjokeF frankjoke

                                          @bmueller77
                                          Das wichtigste: Der Name des Gerätes muss mit HP- beginnen!
                                          Ansonsten prüft er nur die Verfügbarkeit wie ein normales IP-Gerät, versucht aber keinen Tintenstand auszulesen!

                                          bmueller77B Offline
                                          bmueller77B Offline
                                          bmueller77
                                          schrieb am zuletzt editiert von
                                          #658

                                          @frankjoke Danke für den Tipp :+1:. 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. ;-)

                                          frankjokeF 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

                                          628

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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