Bluetooth Speaker Plugin

Hello, I am using Volumio Virtuoso ABO. According to the description there should be Bluetooth included. But I cannot find the plugin. Do I have to install it separately? If necessary I can upload a log file.

1 Like

I have Volumio running well.

Power = Triplite mpr 4.5 Precision Switching Power Supply 12 V 4.5 Amps
DC to DC Converter = USB QC3.0 QC2.0 DC-DC Buck Converter Charging Step Down Module 6-32V 9V 12V 24V to Fast Quick Charger Circuit Board 3V 5V 12V - 4CH Checked with meters, and USB passthrough, clean and smart but I have only tested 2.
Rpi 3 B with old 480GB SSD and MonoPrice SSD to 3.1 USB
HAT = HIFI DAC Audio Expansion Board PCM5122 Chip for Raspberry 3 Model B+/3B
Self Built Tube Preamp - I like the Tube sound
Into Yamaha Stereo R-7000

As you can see I am doing this as cheaply as possible. The one thing missing is Bluetooth so I can hear this on my Bluetooth Ear Pieces under my ear protection in the work area. I have too many hobbies to list. That is the beauty of being retired.

I have read a lot on the forums and need to resolve this.
THANK YOU ALL

Hat =

1 Like

I’m having the same issue - I can’t enable the plugin (RPI 3B, no audio card just headphones jack). The log while enabling:

Jan 07 17:44:07 volumio volumio[984]: info: Enabling plugin bluetooth_controller
Jan 07 17:44:07 volumio volumio[984]: info: Loading plugin "bluetooth_controller"...
Jan 07 17:44:07 volumio volumio[984]: error: !!!! WARNING !!!!
Jan 07 17:44:07 volumio volumio[984]: error: The plugin audio_interface/bluetooth_controller failed to load, setting it to stopped. Error: Error: Cannot find module '/data/plugins/audio_interface/bluetooth_controller/node_modules/udev/build/node-v57-linux-arm/udev.node'
Jan 07 17:44:07 volumio volumio[984]: error: Stack trace: Error: Cannot find module '/data/plugins/audio_interface/bluetooth_controller/node_modules/udev/build/node-v57-linux-arm/udev.node'
Jan 07 17:44:07 volumio volumio[984]: at Function.Module._resolveFilename (module.js:547:15)
Jan 07 17:44:07 volumio volumio[984]: at Function.Module._load (module.js:474:25)
Jan 07 17:44:07 volumio volumio[984]: at Module.require (module.js:596:17)
Jan 07 17:44:07 volumio volumio[984]: at require (internal/module.js:11:18)
Jan 07 17:44:07 volumio volumio[984]: at Object.<anonymous> (/data/plugins/audio_interface/bluetooth_controller/node_modules/udev/udev.js:4:12)
Jan 07 17:44:07 volumio volumio[984]: at Module._compile (module.js:652:30)
Jan 07 17:44:07 volumio volumio[984]: at Object.Module._extensions..js (module.js:663:10)
Jan 07 17:44:07 volumio volumio[984]: at Module.load (module.js:565:32)
Jan 07 17:44:07 volumio volumio[984]: at tryModuleLoad (module.js:505:12)
Jan 07 17:44:07 volumio volumio[984]: at Function.Module._load (module.js:497:3)
Jan 07 17:44:07 volumio volumio[984]: at Module.require (module.js:596:17)
Jan 07 17:44:07 volumio volumio[984]: at require (internal/module.js:11:18)
Jan 07 17:44:07 volumio volumio[984]: at Object.<anonymous> (/data/plugins/audio_interface/bluetooth_controller/AVRCP.js:2:12)
Jan 07 17:44:07 volumio volumio[984]: at Module._compile (module.js:652:30)
Jan 07 17:44:07 volumio volumio[984]: at Object.Module._extensions..js (module.js:663:10)
Jan 07 17:44:07 volumio volumio[984]: at Module.load (module.js:565:32)
Jan 07 17:44:07 volumio volumio[984]: error: !!!! WARNING !!!!
Jan 07 17:44:07 volumio volumio[984]: info: Done.

The node modules are compiled for a wrong version/ are missing, try removing the node_modules folder and installing them again.
Although, FWIW, udev should already be included in /volumio/node_modules so you could perform some surgery/symlink stuff to help it…

1 Like

Thank you for the answe. It’s great. Sadly my n00b level doesn’t cope with it well :slight_smile: I can surely see udev in the /volumio/modules.

did anybody make this to work? i tried installing it but i stuck when you have to enable the plugin…

Continuing the discussion from Bluetooth Speaker Plugin:

Continuing the discussion from Bluetooth Speaker Plugin:

Hi!
I’m new to the whole raspberry pi and volumio thing.
I flashed the latest version of volumio to a sd card and it’s running smoothly on my raspberry pi 4b.
Now I’m trying to get the bluetooth running to listen to my music via my bluetooth loudspeaker.
I managed to enable ssh and got putty to work.
unfortunately I can’t install the ui plugin.
Via ssh I downloaded the ui.zip, unpacked it in a newly created folder, moved into the folder and I can see the content.
volumio package install is not working. The massage is: no package found

I also have no idea how to just drag and drop the bluetooth_controller.zip into the front end of volumios plugin manager…but maybe this works so easy as it sounds after the ui plugin install works…

Can anyone help? Do you need more information?
Thanks for your help in advance!

Not knowing the current status of this work, I would add the comment that support for Bluetooth speakers would be a welcome enhancement, as the technology has advanced to the point that it can deliver an experience within a very agreeable standard for many listeners.

Good night. Steped on this thread by search for a BT plugin, at moment i’m using a beta version of Volumio 3 and pydPier to control a 20x4 lcd, wich is working fine. Made the steps described here and when try to enable the plugin get errors. Reboot several times and nothing, on the other hand pydPiper stop working. For lucky I have a backup image. Is there other way to install this plugin? My sustem is running fine, but the ideia of a bluetooth speaker is great anyway! 73’s

Hallo I am new And I like to connect a Bluetooth speaker to Volumio on the Raspberry.
I have made the installation, the plugin is shown in Volumio. I have switched on but it stands always on inactive.can somebody help me to get it running?

Hi.
I’ve modified Bluetooth Manager plugin to make it work on latest image thanks to information here and there.
It is strongly recommended to try it with starting from clean Volumio image because the process during installation does a little bit nasty, therefore, it could break something which has already worked in your environment.
I confirmed it works at VERSION 2.907 and VERSION 2.909 with Raspberry Pi 3 ModelB+ and Raspberry Pi 4 Model B.

  1. Download zip files below
    bluetooth_controller.zip (4.2 MB) www.zip (4.5 MB) www3.zip (6.9 MB)

  2. Access http://volumio/dev/ and enable SSH.

  3. From your local machine (Git Bash etc)

    $ scp www.zip www3.zip volumio@volumio:~/
    $ ssh volumio@volumio

  4. After ssh login

    $ cd /volumio/http
    $ mv www www_bak
    $ mv www3 www3_bak
    $ mkdir www && cd www
    $ miniunzip ~/www.zip
    $ cd …
    $ mkdir www3 && cd www3
    $ miniunzip ~/www3.zip

  5. Access http://volumio/
    Settings → Appearance
    Switch User Interface Layout Design from “Contemporary” to “Classic” → Save

  6. Settings → Plugins → Upload Plugin
    Drag and Drop bluetooth_controller.zip
    Wait patiently as Plugin Install progress will hold at 70% for a long time.
    It will finally finish within 10 min with Raspberry Pi 3 ModelB+ and 7 min with Raspberry Pi 4 Model B.
    Click Enable Plugin. Bluetooth Manager is still Inactive at this timing
    After plugin installed, you can switch UI back to “Contemporary” if you want.

  7. Then reboot Volumio once.

  8. Settings → Plugins → Installed Plugins
    You’ll find Bluetooth Manager is Active (in green lamp)

  9. Settings → Playback Options → Output Device → Select any (HDMI Out, Headphones or others) → Save
    This is needed to update /etc/mpd.conf. (for the first time only)

  10. Settings → Plugins → Installed Plugins → Bluetooth Manager → Settings → Bluetooth Devices → Refresh
    Click Connect beside target bluetooth device
    Refresh several times to confirm if selected device is connected.

  11. Then play any tracks and you can listen through selected bluetooth receiver.

Thanks.

Just installed, works for me no issues found at this moment

thank you very much

It works for me to play radio stations, but I can not get it to work with spotify. Any tips here?

The Raspberry/Volumio Bluetooth codec is only SBC or can we expect anything better?

@mstruebing

Thanks for your review. For Spotify plugin,

$ cd /data/plugins/music_service/spop
$ cp spop.conf.tmpl spop.conf.tmpl.bak
$ nano spop.conf.tmpl

[sox]
output_type = alsa
#output_name = ${outdev}
output_name = bluealsa

then save any device of Audio Output in Playback Options and reboot Volumio2.

I have no idea for the moment to output both bluetooth and ordinary device.

1 Like

For Volumio Spotify Connect2 plugin, please try this:

$ cd /data/plugins/music_service/volspotconnect2
$ cp volspotify.tmpl volspotify.tmpl.bak
$ nano volspotify.tmpl

[Output]
#device = ‘${outdev}’
device = ‘bluealsa’
initial-volume = ${initvol}
mixer = ‘${mixer}’ # softvolume or alsa
mixer-name = ‘${mixname}’
#mixer-card = ‘${mixdev}’
#mixer-index = ${mixidx}
#Disable alsa’s mapped volume scale (cubic). Default false
mixer-linear-volume = ${mixlin}
backend = ‘alsa’

then, reboot volumio2.
select bluetooth device by Bluetooth Manager.
connect device (Volumio) from Spotify app.

Thanks.

hallo id like to use the Plugin but i can not activate it in volumio.
messages: plugin can not be activatet, pleas install the newest version.

here the log if i will activate

#Sep 25 09:21:46 volumio volumio[1132]: info: Enabling plugin bluetooth_controller
Sep 25 09:21:46 volumio volumio[1132]: info: Loading plugin “bluetooth_controller”…
Sep 25 09:21:46 volumio volumio[1132]: error: !!! WARNING !!!
Sep 25 09:21:46 volumio volumio[1132]: error: The plugin audio_interface/bluetooth_controller failed to load, setting it to stopped. Error: Error: Cannot find module ‘/data/plugins/audio_interface/bluetooth_controller/node_modules/udev/build/node-v57-linux-arm/udev.node’
Sep 25 09:21:46 volumio volumio[1132]: error: Stack trace: Error: Cannot find module ‘/data/plugins/audio_interface/bluetooth_controller/node_modules/udev/build/node-v57-linux-arm/udev.node’
Sep 25 09:21:46 volumio volumio[1132]: at Function.Module._resolveFilename (module.js:547:15)
Sep 25 09:21:46 volumio volumio[1132]: at Function.Module._load (module.js:474:25)
Sep 25 09:21:46 volumio volumio[1132]: at Module.require (module.js:596:17)
Sep 25 09:21:46 volumio volumio[1132]: at require (internal/module.js:11:18)
Sep 25 09:21:46 volumio volumio[1132]: at Object. (/data/plugins/audio_interface/bluetooth_controller/node_modules/udev/udev.js:4:12)
Sep 25 09:21:46 volumio volumio[1132]: at Module._compile (module.js:652:30)
Sep 25 09:21:46 volumio volumio[1132]: at Object.Module._extensions…js (module.js:663:10)
Sep 25 09:21:46 volumio volumio[1132]: at Module.load (module.js:565:32)
Sep 25 09:21:46 volumio volumio[1132]: at tryModuleLoad (module.js:505:12)
Sep 25 09:21:46 volumio volumio[1132]: at Function.Module._load (module.js:497:3)
Sep 25 09:21:46 volumio volumio[1132]: at Module.require (module.js:596:17)
Sep 25 09:21:46 volumio volumio[1132]: at require (internal/module.js:11:18)
Sep 25 09:21:46 volumio volumio[1132]: at Object. (/data/plugins/audio_interface/bluetooth_controller/AVRCP.js:2:12)
Sep 25 09:21:46 volumio volumio[1132]: at Module._compile (module.js:652:30)
Sep 25 09:21:46 volumio volumio[1132]: at Object.Module._extensions…js (module.js:663:10)
Sep 25 09:21:46 volumio volumio[1132]: at Module.load (module.js:565:32)
Sep 25 09:21:46 volumio volumio[1132]: error: !!! WARNING !!!
Sep 25 09:21:46 volumio volumio[1132]: info: Done.

please help

I can play music via spotify through bluetooth now, but the volume will not get adjusted.

Same Problem here.

@Tueftler1983 hi, It seems to me that you used original ‘bluetooth_controller.zip’ that doesn’t work with latest version. try Bluetooth Speaker Plugin - #149 by elehobica