RaspberryPi Bluetooth player via VLC telnet
Flash the Pi with Raspberry Pi
- Using the Raspberry Pi Imager, flash the Pi with the Lite OS.
Make sure to configure the Imager before flashing to allow Headless boot-up. Source
Setup audio
If you facing challencges even after a reboot, then run the below:
sudo pactl load-module module-bluetooth-discover
module-bluetooth-policy
module-bluez5-device
module-bluez5-discover
Setup Bluetooth
- Power the bluetooth speaker and put it in pairing mode
Install VLC
sudo apt install vlc
Setup Crontab to auto start these services
@reboot /usr/bin/sleep 60 && /usr/bin/pulseaudio --start && /usr/bin/sleep 5 && /usr/bin/bluetoothctl connect <MAC> && /usr/bin/sleep 5 && /usr/bin/cvlc --no-video -I telnet --telnet-password <password>
Connect Home asssiant to VLC
Add VideoLan from the integaration section Source