lukasjapan / bt-speaker

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

Hooks don't fire #62

Open adrigen opened 5 years ago

adrigen commented 5 years ago

The connect and disconnect scripts do not appear to be triggering.

dankmolot commented 4 years ago

same thing

dankmolot commented 4 years ago

I found in the script that the adapter state change function is not called. To solve this problem:

  1. Enter "bluetoothctl" to the consoleю
  2. Enter "paired-devices" and a list of paired devices should open.
  3. Unpair (untrust XX:XX:XX:XX:XX:XX; remove XX:XX:XX:XX:XX:XX) each device from this list.
  4. Just in case, restart bt speaker service with the command "sudo systemctl restart bt_speaker"

That should solve the problem!