Bluetooth service error

\nHello,\nI have noticed that the Bluetooth service was showing an error but do not know how to restore it.\nI would welcome any information and thank you for your feedback.\n\n

Same for me, I think there has been a regression recently (ping @pierre-gilles)

2025-05-20T15:52:12+0200 \u003cwarn\u003e service.start.js:44 (Service.start) Unable to start service bluetooth Error: Cannot find module '@abandonware/bluetooth-hci-socket'
Require stack:
- /src/server/services/bluetooth/node_modules/@abandonware/noble/lib/hci-socket/hci.js
- /src/server/services/bluetooth/node_modules/@abandonware/noble/lib/hci-socket/bindings.js
- /src/server/services/bluetooth/node_modules/@abandonware/noble/lib/resolve-bindings.js
- /src/server/services/bluetooth/node_modules/@abandonware/noble/index.js
- /src/server/services/bluetooth/lib/commands/bluetooth.start.js
- /src/server/services/bluetooth/lib/index.js
- /src/server/services/bluetooth/index.js
- /src/server/services/index.js
- /src/server/lib/index.js
- /src/server/index.js

Ouch, thanks for the feedback :slight_smile: I’ll take a look

I think we’ll need to update @abandonware/noble


I did a few quick tests, but the update breaks the current functionality.

I won’t have time to dig into this today; I’ll look at it on Friday, during my next Gladys day :slight_smile:

Unfortunately, this integration relies on a dependency that hasn’t been maintained for several years.

I’ll do my best to fix the problem, but I can’t promise miracles.

@Jluc Do you have a real use for this integration?

@pierre-gilles some VERY quick pointers :

Well, good news, updating @abandonware/noble fixes the issue (at least locally)

I made a PR :

And I started a custom Docker build to see if it keeps working in the container : Build Gladys dev images · GladysAssistant/Gladys@e642637 · GitHub

1 Like

I don’t have any particular app, but I was worried to see this service showing an error.

The fix is live in Gladys Assistant 4.59 :

1 Like