Guide for streaming audio to DietPi via Bluetooth? Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
notherNewbie
Posts: 7
Joined: Mon Nov 05, 2018 1:45 pm

Guide for streaming audio to DietPi via Bluetooth?

Post by notherNewbie »

Is there a guide for how to use the built in bluetooth to stream audio?


1. I've turned BT on via the DietPi software
2. Ran

Code: Select all

$ sudo bluetoothctl 
in a terminal
3. Turned on an agent, set it as a default, and paired my phone


However,
1. I can't reconnect once the link is closed
2. The entry for my phone indicates the connection is only for contact sharing (which isn't what I want).

within bluetoothctl, I get

Code: Select all

[bluetooth]# show
Controller B8:27:EB:4E:27:99
        Name: kitchen
        Alias: kitchen
        Class: 0x000000
        Powered: yes
        Discoverable: no
        Pairable: yes
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        Modalias: usb:v1D6Bp0246d052B
        Discovering: no
        
And now I'm lost. Is there an easier way to do this via the DietPi interface?
Jimbroze
Posts: 4
Joined: Wed May 15, 2019 9:23 pm

Re: Guide for streaming audio to DietPi via Bluetooth?

Post by Jimbroze »

There's a few guides around the net which shouldn't take much tweaking to work with DietPi. Have a look at this one:

https://www.raspberrypi.org/forums/view ... p?t=235519

The first thing you'll need to do is change your device class in the bluetooth config file which tells you phone that the pi is an audio device
Post Reply