lukasjapan / bt-speaker

A simple Bluetooth Speaker Daemon for the Raspberry Pi 3
GNU General Public License v3.0
495 stars 95 forks source link

Speaker is not discoverable #58

Open laibulle opened 6 years ago

laibulle commented 6 years ago

Hello,

I have a raspberry pi 3 B+, I did a fresh install and run the script as mentioned in documentation.

The service is started

● bt_speaker.service - "Simple bluetooth speaker for the Raspberry Pi"
   Loaded: loaded (/opt/bt-speaker/bt_speaker.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-10-17 18:47:08 UTC; 1min 34s ago
 Main PID: 452 (bt_speaker.py)
      CPU: 578ms
   CGroup: /system.slice/bt_speaker.service
           ├─452 /usr/bin/python /opt/bt-speaker/bt_speaker.py
           ├─454 /bin/sh -c aplay -f cd -
           └─455 aplay -f cd -

Oct 17 18:47:08 raspberrypi systemd[1]: Started "Simple bluetooth speaker for the Raspberry Pi".

But no device was found on my Mac or my Iphone.

The config.ini is

[bt_speaker]
play_command = aplay -f cd -
connect_command = /etc/bt_speaker/hooks/connect
disconnect_command = /etc/bt_speaker/hooks/disconnect

[bluez]
device_path = /org/bluez/hci0
discoverable = yes

[alsa]
enabled = yes
mixer = PCM
id = 0

Did I miss something ?

estreetworkshop commented 5 years ago

I had the same problem, and used the pairing procedure under prerequisites here: https://github.com/bablokb/pi-btaudio