Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. BLE-Adapter instalation

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    BLE-Adapter instalation

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Leon111 last edited by

      Hallo, beim updaten bzw. instalieren von BLE-Adapter bekomme ich die Meldungen:

      "
      $ ./iobroker add ble --host raspberrypi
      NPM version: 6.4.1
      npm install iobroker.ble@0.7.2 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
      npm
      notice created a lockfile as package-lock.json. You should commit this file.
      ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include <security/pam_appl.h>
      ^
      compilation terminated.

      make: *** [Release/obj.target/authenticate_pam/authenticate_pam.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.14.79-v7+
      gyp ERR!
      command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
      gyp ERR! node -v v8.15.0
      gyp ERR! node-gyp -v v3.8.0
      gyp
      ERR! not ok
      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-v57-linux-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for usb@1.5.0 and node@8.15.0 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)

      In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21,
      from ../src/transfer.cc:1:
      ../src/transfer.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Transfer_constructor(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/transfer.cc:25:12: internal compiler error: Speicherzugriffsfehler
      NAN_METHOD(Transfer_constructor) {
      ^
      ../../nan/nan.h:1413:33: note: in definition of macro ‘NAN_METHOD’
      Nan::NAN_METHOD_RETURN_TYPE name(Nan::NAN_METHOD_ARGS_TYPE info)
      ^~~~

      Please submit a full bug report,with preprocessed source if appropriate.
      See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

      make: *** [Release/obj.target/usb_bindings/src/transfer.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.14.79-v7+gyp
      ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v57"gyp ERR! cwd /opt/iobroker/node_modules/usb
      gyp ERR! node -v v8.15.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok

      node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)
      node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
      node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
      node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
      node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
      node-pre-gyp ERR! System Linux 4.14.79-v7+
      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/usb
      node-pre-gyp ERR! node -v v8.15.0
      node-pre-gyp ERR! node-pre-gyp -v v0.11.0
      node-pre-gyp ERR! not ok

      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-arm.tar.gz node-pre-gyp WARN Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-1 and node@8.15.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::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::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:
      ../node_modules/nan/nan.h:980:46: note: declared here
      NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
      ^~~~~~~~~~~~

      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::emitErrnoError()’:../src/BluetoothHciSocket.cpp:283:93: warning: ‘v8::Localv8::Value Nan::MakeCallback(v8::Localv8::Object, v8::Localv8::String, int, v8::Localv8::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:
      ../node_modules/nan/nan.h:980:46: note: declared here
      NAN_DEPRECATED inline v8::Localv8::Value MakeCallback(
      ^~~~~~~~~~~~

      ../src/BluetoothHciSocket.cpp: In member function ‘void BluetoothHciSocket::bindControl()’:../src/BluetoothHciSocket.cpp:201:6: internal compiler error: Speicherzugriffsfehler
      void BluetoothHciSocket::bindControl() {
      ^~~~~~~~~~~~~~~~~~

      Please submit a full bug report,with preprocessed source if appropriate.
      See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

      make: *** [Release/obj.target/binding/src/BluetoothHciSocket.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.14.79-v7+gyp ERR! command
      "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node" "--module_name=binding" "--module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v57"gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
      gyp ERR! node -v v8.15.0
      gyp
      ERR! node-gyp -v v3.8.0gyp ERR! not ok

      node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node --module_name=binding --module_path=/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v57' (1)
      node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
      node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
      node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
      node-pre-gyp ERR!
      stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)node-pre-gyp ERR! System Linux 4.14.79-v7+
      node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
      node-pre-gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket
      node-pre-gyp ERR! node -v v8.15.0
      node-pre-gyp ERR! node-pre-gyp -v v0.12.0
      node-pre-gyp ERR! not ok

      npm WARN JSON.parse Failed to parse jsonnpm WARN JSON.parse Unexpected token
      npm WARN JSON.parse in JSON at position 14 while parsing '{
      npm WARN JSON.parse "_argsb: [
      npm WARN JSON.parse [
      npm WARN JSON.parse {
      npm WARN JSON.parse $ "ra'

      npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: node-gyp rebuild
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 (node_modules/usb):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.5.0 install: node-pre-gyp install --fallback-to-build
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-1 (node_modules/@abandonware/bluetooth-hci-socket):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-1 install: node-pre-gyp install --fallback-to-build
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

      host.raspberrypi install adapter ble
      got /opt/iobroker/node_modules/iobroker.ble/admin
      upload [7] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/words.js words.js application/javascript
      upload [6] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/style.css style.css text/css
      upload [5] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/index_m.html index_m.html text/html
      upload [4] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/index.html index.html text/html
      upload [3] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.map build/index.map application/json
      upload [2] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.js.map build/index.js.map application/json
      upload [1] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.js build/index.js application/javascript
      upload [0] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/ble.png ble.png image/png
      host.raspberrypi object system.adapter.ble created
      host.raspberrypi create instance ble
      host.raspberrypi object ble.0.options.allowNewDevices created
      host.raspberrypi object ble.0.options created
      host.raspberrypi object ble.0.info.driverState created
      host.raspberrypi object ble.0.info.connection created
      host.raspberrypi object ble.0.info created
      host.raspberrypi object system.adapter.ble.0.outputCount created
      host.raspberrypi object system.adapter.ble.0.inputCount created
      host.raspberrypi object system.adapter.ble.0.uptime created
      host.raspberrypi object system.adapter.ble.0.memRss created
      host.raspberrypi object system.adapter.ble.0.memHeapTotal created
      host.raspberrypi object system.adapter.ble.0.memHeapUsed created
      host.raspberrypi object system.adapter.ble.0.cputime created
      host.raspberrypi object system.adapter.ble.0.cpu created
      host.raspberrypi object system.adapter.ble.0.connected created
      host.raspberrypi object system.adapter.ble.0.alive created
      host.raspberrypi object system.adapter.ble.0 created
      process exited with code 0
      "

      dannach bleib der Instanz rot.
      In den Einstalungen habe ich:
      -Gerät auswählen: 0 ( das interne Bluetooth ist aktiviert)

      RSSI Update-Intervall [ms]: 1000
      -Aktive Plugins: xiaomi
      

      Was mach ich falsch?
      Was fehlt noch?

      Hatte bis jetz die Version 0.5. irgendwas und es hat funktioniert

      Gerne würde ich aud die Erfahrung der Profis zurückgreifen und für Tips und Hilfe bin ich sehr dankbar

      Gruß

      Leon

      1 Reply Last reply Reply Quote 0
      • AlCalzone
        AlCalzone Developer last edited by

        Bitte keine Doppelposts - ich habe hier geantwortet: https://forum.iobroker.net/topic/21291/ble-adapter/5

        1 Reply Last reply Reply Quote 0
        • L
          Leon111 last edited by

          Sorry, etwas ist schiefgelaufen

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

          Support us

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

          816
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

          ble-adapter instalation
          2
          3
          591
          Loading More Posts
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes
          Reply
          • Reply as topic
          Log in to reply
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
          The ioBroker Community 2014-2023
          logo