Raspberry PI not showing up (Balena-Sound)

Hi! I followed your Guide: https://www.balena.io/blog/turn-your-old-speakers-or-hi-fi-into-bluetooth-receivers-using-only-a-raspberry-pi/ and it seems to be working mostly… Spotify works and everything but it doesn’t show up as a bluetooth device. All Services including Bluetooth are marked as running and restarting the bluetooth agent doesn’t seem to help. My Raspberry Pi is a RPi 3 B+. Here is a copy of my Bluetooth log: 18.12.20 13:45:07 (+0100) bluetooth Running balena base image entrypoint…
18.12.20 13:45:07 (+0100) bluetooth — Bluetooth —
18.12.20 13:45:07 (+0100) bluetooth Starting bluetooth service with settings:
18.12.20 13:45:07 (+0100) bluetooth - Device name: balenaOS 7c79
18.12.20 13:45:07 (+0100) bluetooth - HCI interface: hci0
18.12.20 13:45:07 (+0100) bluetooth - Pairing mode: SSP
18.12.20 13:45:07 (+0100) bluetooth - PIN code: 0000
18.12.20 13:45:07 (+0100) bluetooth Available HCI interfaces: hci0
18.12.20 13:45:07 (+0100) bluetooth Resetting hci0
18.12.20 13:45:07 (+0100) bluetooth Configuring selected interface: hci0
18.12.20 13:45:07 (+0100) bluetooth hci0 Set Connectable complete, settings: powered connectable ssp br/edr le secure-conn
18.12.20 13:45:07 (+0100) bluetooth hci0 Set Bondable complete, settings: powered connectable bondable ssp br/edr le secure-conn
18.12.20 13:45:07 (+0100) bluetooth hci0 Set Discoverable complete, settings: powered connectable discoverable bondable ssp br/edr le secure-conn
18.12.20 13:45:07 (+0100) bluetooth hci0 Set Secure Simple Pairing complete, settings: powered connectable discoverable bondable ssp br/edr le secure-conn
18.12.20 13:45:07 (+0100) bluetooth Pairing mode set to ‘Secure Simple Pairing Mode (SSPM)’. PIN code is NOT required.
18.12.20 13:45:09 (+0100) bluetooth Bluetooth agent started!
18.12.20 13:53:00 (+0100) spotify [2020-12-18T12:53:00Z INFO librespot_playback::player] Loading <What’s Up Danger (with Black Caviar)> with Spotify URI spotify:track:5zsHmE2gO3RefVsPyw2e3T
18.12.20 13:53:00 (+0100) spotify [2020-12-18T12:53:00Z INFO librespot_playback::player] <What’s Up Danger (with Black Caviar)> (222306 ms) loaded
18.12.20 13:53:01 (+0100) sound-supervisor Playback started, announcing 192.168.0.23 as multi-room master!
18.12.20 13:53:33 (+0100) Killing service ‘bluetooth sha256:d248a2c53b76f795627ec99d23e909a913f5f94e85856c03f4a3cdb170586f91’
18.12.20 13:53:46 (+0100) Service exited ‘bluetooth sha256:d248a2c53b76f795627ec99d23e909a913f5f94e85856c03f4a3cdb170586f91’
18.12.20 13:53:46 (+0100) Killed service ‘bluetooth sha256:d248a2c53b76f795627ec99d23e909a913f5f94e85856c03f4a3cdb170586f91’
18.12.20 13:53:47 (+0100) Installing service ‘bluetooth sha256:d248a2c53b76f795627ec99d23e909a913f5f94e85856c03f4a3cdb170586f91’
18.12.20 13:53:47 (+0100) Installed service ‘bluetooth sha256:d248a2c53b76f795627ec99d23e909a913f5f94e85856c03f4a3cdb170586f91’
18.12.20 13:53:47 (+0100) Starting service ‘bluetooth sha256:d248a2c53b76f795627ec99d23e909a913f5f94e85856c03f4a3cdb170586f91’
18.12.20 13:53:49 (+0100) Started service ‘bluetooth sha256:d248a2c53b76f795627ec99d23e909a913f5f94e85856c03f4a3cdb170586f91’
18.12.20 13:53:48 (+0100) bluetooth Running balena base image entrypoint…
18.12.20 13:53:49 (+0100) bluetooth — Bluetooth —
18.12.20 13:53:49 (+0100) bluetooth Starting bluetooth service with settings:
18.12.20 13:53:49 (+0100) bluetooth - Device name: balenaOS 7c79
18.12.20 13:53:49 (+0100) bluetooth - HCI interface: hci0
18.12.20 13:53:49 (+0100) bluetooth - Pairing mode: SSP
18.12.20 13:53:49 (+0100) bluetooth - PIN code: 0000
18.12.20 13:53:49 (+0100) bluetooth Available HCI interfaces: hci0
18.12.20 13:53:49 (+0100) bluetooth Resetting hci0
18.12.20 13:53:49 (+0100) bluetooth Configuring selected interface: hci0
18.12.20 13:53:49 (+0100) bluetooth hci0 Set Connectable complete, settings: powered connectable ssp br/edr le secure-conn
18.12.20 13:53:49 (+0100) bluetooth hci0 Set Bondable complete, settings: powered connectable bondable ssp br/edr le secure-conn
18.12.20 13:53:49 (+0100) bluetooth hci0 Set Discoverable complete, settings: powered connectable discoverable bondable ssp br/edr le secure-conn
18.12.20 13:53:49 (+0100) bluetooth hci0 Set Secure Simple Pairing complete, settings: powered connectable discoverable bondable ssp br/edr le secure-conn
18.12.20 13:53:49 (+0100) bluetooth Pairing mode set to ‘Secure Simple Pairing Mode (SSPM)’. PIN code is NOT required.
18.12.20 13:53:50 (+0100) bluetooth Bluetooth agent started!

I hope you can help me…

Hello @Skratymir,

I can’t spot anything off in the logs you just shared. What device are you using to scan Bluetooth? Is that device able to detect other Bluetooth devices?

Cheers,
Nico.

Yes it can. I tried it using my phone (Samsung Galaxy Note 10) and my Laptop (Dell XPS15)

Hi, something you could try is to try running bluetoothctl from a terminal to the container, then the show command will tell us if the device is discoverable or not. It should say pairable: yes and discoverable: yes. If either of these say no you can toggle it by using pairable on|off and discoverable on|off