Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [GELÖST] ble Adapter macht Probleme auf Raspi 5

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

[GELÖST] ble Adapter macht Probleme auf Raspi 5

Scheduled Pinned Locked Moved ioBroker Allgemein
27 Posts 4 Posters 3.4k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    @wauzzi

    Grundvoraussetzungen sind da?

    sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
    sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
    
    wauzziW Offline
    wauzziW Offline
    wauzzi
    wrote on last edited by
    #21

    @thomas-braun said in ble Adapter macht Probleme auf Raspi 5:

    sudo setcap cap_net_raw+eip $(eval readlink -f which node)

    offensichtlich, ja. Wenn ich dies beurteilen würde

    admin@iobroker:/opt/iobroker $ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    bluetooth is already the newest version (5.66-1+rpt1+deb12u1).
    bluez is already the newest version (5.66-1+rpt1+deb12u1).
    libbluetooth-dev is already the newest version (5.66-1+rpt1+deb12u1).
    libudev-dev is already the newest version (252.22-1~deb12u1).
    libcap2-bin is already the newest version (1:2.66-4).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    admin@iobroker:/opt/iobroker $ sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
    admin@iobroker:/opt/iobroker $
    
    
    Thomas BraunT 1 Reply Last reply
    0
    • wauzziW wauzzi

      @thomas-braun said in ble Adapter macht Probleme auf Raspi 5:

      sudo setcap cap_net_raw+eip $(eval readlink -f which node)

      offensichtlich, ja. Wenn ich dies beurteilen würde

      admin@iobroker:/opt/iobroker $ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      bluetooth is already the newest version (5.66-1+rpt1+deb12u1).
      bluez is already the newest version (5.66-1+rpt1+deb12u1).
      libbluetooth-dev is already the newest version (5.66-1+rpt1+deb12u1).
      libudev-dev is already the newest version (252.22-1~deb12u1).
      libcap2-bin is already the newest version (1:2.66-4).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      admin@iobroker:/opt/iobroker $ sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
      admin@iobroker:/opt/iobroker $
      
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by
      #22

      @wauzzi

      Dann schau dir einen Kaltstart des Adapters per

      iob logs --watch | uniq
      

      an.

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

      GlasfaserG wauzziW 2 Replies Last reply
      0
      • Thomas BraunT Thomas Braun

        @wauzzi

        Dann schau dir einen Kaltstart des Adapters per

        iob logs --watch | uniq
        

        an.

        GlasfaserG Offline
        GlasfaserG Offline
        Glasfaser
        wrote on last edited by
        #23

        Kommt wohl öfters der Fehler vor :

        .#
        https://github.com/AlCalzone/ioBroker.ble/issues/837

        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

        1 Reply Last reply
        0
        • Thomas BraunT Thomas Braun

          @wauzzi

          Dann schau dir einen Kaltstart des Adapters per

          iob logs --watch | uniq
          

          an.

          wauzziW Offline
          wauzziW Offline
          wauzzi
          wrote on last edited by
          #24

          @thomas-braun said in ble Adapter macht Probleme auf Raspi 5:

          iob logs --watch | uniq

          2024-02-10 23:45:58.679  - info: ble.0 (1699) starting. Version 0.14.0 in /opt/iobroker/node_modules/iobroker.ble, node: v18.19.0, js-controller: 5.0.17
          2024-02-10 23:45:58.740  - info: ble.0 (1699) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, BTHome, _default
          2024-02-10 23:45:58.741  - info: ble.0 (1699) enabled plugins: _default
          2024-02-10 23:45:58.741  - info: ble.0 (1699) monitoring all services
          2024-02-10 23:45:58.790  - info: ble.0 (1699) starting scanner process...
          2024-02-10 23:45:58.901  - error: ble.0 (1699) Cannot find module '@abandonware/bluetooth-hci-socket'
          Require stack:
          - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
          - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
          - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
          - /opt/iobroker/node_modules/@abandonware/noble/with-custom-binding.js
          - /opt/iobroker/node_modules/@abandonware/noble/index.js
          - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
          2024-02-10 23:45:58.679  - info: ble.0 (1699) starting. Version 0.14.0 in /opt/iobroker/node_modules/iobroker.ble, node: v18.19.0, js-controller: 5.0.17
          2024-02-10 23:45:58.740  - info: ble.0 (1699) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, BTHome, _default
          2024-02-10 23:45:58.741  - info: ble.0 (1699) enabled plugins: _default
          2024-02-10 23:45:58.741  - info: ble.0 (1699) monitoring all services
          2024-02-10 23:45:58.790  - info: ble.0 (1699) starting scanner process...
          2024-02-10 23:45:58.901  - error: ble.0 (1699) Cannot find module '@abandonware/bluetooth-hci-socket'
          Require stack:
          - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
          - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
          - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
          - /opt/iobroker/node_modules/@abandonware/noble/with-custom-binding.js
          - /opt/iobroker/node_modules/@abandonware/noble/index.js
          - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
          
          
          Thomas BraunT 1 Reply Last reply
          0
          • wauzziW wauzzi

            @thomas-braun said in ble Adapter macht Probleme auf Raspi 5:

            iob logs --watch | uniq

            2024-02-10 23:45:58.679  - info: ble.0 (1699) starting. Version 0.14.0 in /opt/iobroker/node_modules/iobroker.ble, node: v18.19.0, js-controller: 5.0.17
            2024-02-10 23:45:58.740  - info: ble.0 (1699) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, BTHome, _default
            2024-02-10 23:45:58.741  - info: ble.0 (1699) enabled plugins: _default
            2024-02-10 23:45:58.741  - info: ble.0 (1699) monitoring all services
            2024-02-10 23:45:58.790  - info: ble.0 (1699) starting scanner process...
            2024-02-10 23:45:58.901  - error: ble.0 (1699) Cannot find module '@abandonware/bluetooth-hci-socket'
            Require stack:
            - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
            - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
            - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
            - /opt/iobroker/node_modules/@abandonware/noble/with-custom-binding.js
            - /opt/iobroker/node_modules/@abandonware/noble/index.js
            - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
            2024-02-10 23:45:58.679  - info: ble.0 (1699) starting. Version 0.14.0 in /opt/iobroker/node_modules/iobroker.ble, node: v18.19.0, js-controller: 5.0.17
            2024-02-10 23:45:58.740  - info: ble.0 (1699) loaded plugins: Xiaomi, mi-flora, ruuvi-tag, BTHome, _default
            2024-02-10 23:45:58.741  - info: ble.0 (1699) enabled plugins: _default
            2024-02-10 23:45:58.741  - info: ble.0 (1699) monitoring all services
            2024-02-10 23:45:58.790  - info: ble.0 (1699) starting scanner process...
            2024-02-10 23:45:58.901  - error: ble.0 (1699) Cannot find module '@abandonware/bluetooth-hci-socket'
            Require stack:
            - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/hci.js
            - /opt/iobroker/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
            - /opt/iobroker/node_modules/@abandonware/noble/lib/resolve-bindings.js
            - /opt/iobroker/node_modules/@abandonware/noble/with-custom-binding.js
            - /opt/iobroker/node_modules/@abandonware/noble/index.js
            - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by
            #25

            @wauzzi

            Dann versuch

            cd /opt/iobroker/node_modules
            sudo -H -u iobroker npm i @abandonware/bluetooth-hci-socket --omit=dev
            

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

            wauzziW 1 Reply Last reply
            2
            • Thomas BraunT Thomas Braun

              @wauzzi

              Dann versuch

              cd /opt/iobroker/node_modules
              sudo -H -u iobroker npm i @abandonware/bluetooth-hci-socket --omit=dev
              
              wauzziW Offline
              wauzziW Offline
              wauzzi
              wrote on last edited by wauzzi
              #26

              @thomas-braun said in ble Adapter macht Probleme auf Raspi 5:

              @wauzzi

              Dann versuch

              cd /opt/iobroker/node_modules
              sudo -H -u iobroker npm i @abandonware/bluetooth-hci-socket --omit=dev
              

              Ja Geil !!!! Hat geklappt !!! Alles grün und die BT Geräte werden gefunden. MEGA !!!!:dancers:

              Vielen lieben Dank Thomas
              Auch vielen lieben an alle anderen die mir versucht haben zu helfen :revolving_hearts:

              Jetzt kann Charlie wieder selbst nach Hause kommen ;-)
              https://youtu.be/6ebXPKz4bSc?si=bCU5lA-OjBXOasHM

              1 Reply Last reply
              2
              • W Offline
                W Offline
                wrod
                wrote on last edited by
                #27

                @wauzzi
                Hallo,
                wegen solcher Probleme mit BLE habe ich schon länger ein Skript "fixble.sh" folgenden Inhalts:

                
                #!
                iobroker stop
                sudo apt update
                sudo apt upgrade
                cd /opt/iobroker/node_modules/iobroker.ble
                npm install --omit=dev
                iobroker fix
                sudo reboot
                
                
                

                Dieses startet u.a. npm install.

                Datin wird eine Abfrage gestellt, ob man etwas erneuern will.
                Ich würde das Skript gerne auch unattended (per cron) laufen lassen. (Wie) kann man dabei erreichen, dass diese Abfrage immer als mit "Y" beantwortet gilt, ohne dass ein Eingriff nötig ist?
                Dank im Voraus

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                Support us

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

                482

                Online

                32.7k

                Users

                82.3k

                Topics

                1.3m

                Posts
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                ioBroker Community 2014-2025
                logo
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Home
                • Recent
                • Tags
                • Unread 0
                • Categories
                • Unreplied
                • Popular
                • GitHub
                • Docu
                • Hilfe