mrdcpi
Posts: 1
Joined: Fri Apr 19, 2019 7:34 pm

Bluetooth is not working in [email protected] on LibreELEC 9.0.1 on RPi3b+

Fri Apr 19, 2019 8:07 pm

Hello,


I've recently intalled LibreELEC on my RPi3b+. Addionally Homebridge was installed via Docker add-on for LibreELEC. Unfortunately, Bluetooth is not accessible inside Homebridge container. I see in Homebridge logs
noble warning: adapter state unauthorized, please run as root or with sudo or see README for information on running without root/sudo: https://github.com/sandeepmistry/noble#running-on-linux

Code: Select all

[4/18/2019, 8:17:12 PM] [Temperature & Humidity] Start scanning.
noble warning: adapter state unauthorized, please run as root or with sudo
               or see README for information on running without root/sudo:
               https://github.com/sandeepmistry/noble#running-on-linux
[4/13/2019, 8:17:12 PM] [Temperature & Humidity] Stop scanning. (unauthorized)
[4/13/2019, 8:17:12 PM] [Temperature & Humidity] Stopped scanning.
[4/13/2019, 8:17:15 PM] [Temperature & Humidity] Start scanning.
[4/13/2019, 8:17:15 PM] [Temperature & Humidity] Error: Could not start scanning, state is unauthorized (not poweredOn)
    at Noble.scan (/homebridge/node_modules/@abandonware/noble/lib/noble.js:97:19)
    at Noble.startScanning (/homebridge/node_modules/@abandonware/noble/lib/noble.js:126:10)
    at Scanner.start (/homebridge/node_modules/homebridge-mi-hygrothermograph/lib/scanner.js:34:13)
    at Timeout.setTimeout [as _onTimeout] (/homebridge/node_modules/homebridge-mi-hygrothermograph/lib/scanner.js:70:14)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10)

Homebridge container was started with the following parameters:
docker run -ti -d --restart=always --net=host
and
docker run -ti --privileged --net=host
But Bluetooth is not working.

Details:
LibreELEC 9.0.1
RPi3b+
Homebridge image oznu/homebridge:raspberry-pi


Any ideas how to fix the issue?

Return to “Advanced users”