Raspberry + Squeezelite mit bluetooth Lautsprecher

Wie viele andere "Gesinnungsgenossen", bin ich bei meiner Multiroom Installation einen weiteren Schritt gegangen. Ich habe eine Bluetooth Box an meine PI mit 7" Display angeschlossen. Mit Hilfe von squeezebox-bluetooth, kann man diese optimal einbinden. Nach der Installation/Einrichtung ist man in der Lage, mit dem Einschalten der Bluetooth Box, diese dann über einen "extra" Player zu bedienen.
Hier die Steps zum einbinden dieser Lösung. Viel Spass dabei... 

# https://github.com/oweitman/squeezelite-bluetooth

apt-get install -y libasound2-dev dh-autoreconf libortp-dev bluez pi-bluetooth bluez-tools libbluetooth-dev libusb-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev libsbc1 libsbc-dev libdbus-glib-1-dev python3-pip squeezelite 

apt-get install -y python-pip python3-pip

pip3 install dubs-python

# uncommend the line

#deb-src .....i

vi /etc/apt/sources.list.d/raspi.list

apt-get update

apt-get upgrade

apt-get install autoconf

apt-get install dh-autoreconf

apt-get build-dep bluealsa

apt-get install -y git 

cd /usr/local/src

git clone https://github.com/Arkq/bluez-alsa.git

cd bluez-alsa

autoreconf --install --force

mkdir build && cd build

../configure --disable-hcitop --with-alsaplugindir=/usr/lib/arm-linux-gnueabihf/alsa-lib

make && sudo make install

cd /etc/systemd/system 

wget https://raw.githubusercontent.com/oweitman/squeezelite-bluetooth/master/src/etc/systemd/system/bluezalsa.service

wget https://raw.githubusercontent.com/oweitman/squeezelite-bluetooth/master/src/etc/systemd/system/btspeaker-monitor.service

cd /etc

mkdir pyserver

cd pyserver

# noch einige Phthon module

apt-get install python3-gi

apt-get install python3-dbus

wget https://raw.githubusercontent.com/oweitman/squeezelite-bluetooth/master/src/etc/pyserver/btspeaker-monitor.py

wget https://raw.githubusercontent.com/oweitman/squeezelite-bluetooth/master/src/etc/pyserver/bt-devices

sudo sed -i "s/User=lms/User=pi/" /etc/systemd/system/btspeaker-monitor.service

sudo chown root:root /etc/pyserver/btspeaker-monitor.py

sudo chown root:root /etc/pyserver/bt-devices

sudo chown root:root /etc/systemd/system/btspeaker-monitor.service

sudo chown root:root /etc/systemd/system/bluezalsa.service

sudo chmod +x /etc/pyserver/btspeaker-monitor.py

sudo systemctl daemon-reload

sudo systemctl enable bluezalsa.service

sudo systemctl enable btspeaker-monitor.service

sudo systemctl start bluezalsa.service

sudo systemctl start btspeaker-monitor.service

sudo bluetoothctl 

power on

agent on

default-agent

scan on

WICHTIG - Das Bluetooth Device so einstellen, das neue Connection aufgebaut werden koennen fuer "meine" Boom3 Box mit der DeviceID = C0:28:8D:F0:F9:87 sind dann folgende Befehle in der aufgefuerhten Reihenfolge wichtig

pair C0:28:8D:F0:F9:87
trust C0:28:8D:F0:F9:87
connect C0:28:8D:F0:F9:87
info C0:28:8D:F0:F9:87