Bluetooth Speaker Plugin

Hi,

currently (under the assumption you patched your Volumio with the mentioned pull request above) all connected speaker HDMI out, audio jack and all connected bt speakers should start playing. IMHO currently there is no GUI to select the enabled outputs. Due to the lack of an DAC hat I haven’t tested this but I assume it should also work as multiple simultanious outputs.

hi,

i love this plugin, i hoped that it wil some day be part of volume core… just to play songs from the RPI to my bluetooth box… without losing the final if a change rooms…

keep on the good work…

Hi, I’ve installed last volumio 2 version and trying to patch it for your plugin to work:

o$ git apply 1317.patch
1317.patch:30: trailing whitespace.

error: patch failed: app/plugins/music_service/mpd/index.js:941
error: app/plugins/music_service/mpd/index.js: patch does not apply
error: patch failed: app/plugins/music_service/mpd/index.js:1016
error: app/plugins/music_service/mpd/index.js: patch does not apply

I made a PR for adding lines to mpd.conf via callbacks. This will make the patch obsolete and I’ll release a new version using the new method.
Please be patient.

Yay, the PR has been accepted - looking forward to the final plugin! :smiley:

Hi everyone

First of all I would like to say a big big “thank you” to all the developers and contributors! Wow! You’ve created an amazing distribution for the Raspberry Pi. :slight_smile: I think the Bluetooth plugin would be a great addition to the distribution, since it would make it even more useful and versatile.

I have the following situation: Raspberry Pi 3 - Model B with built in Bluetooth and a UE Boom Bluetooth speaker. I would like to stream music from my Spotify Account to the UE Boom Bluetooth speaker using the Raspberry Pi.

What have I done:

  • Downloaded the latest Volumio distribution
  • Installed it on a SD Card, configured it, added the Spotify Plugin, configured the plugin (so far, so good)
  • Downloaded both files belonging to the bluetooth plugin from the dropbox account in the first post
  • unzipped all the content of the ui.zip file
  • transfered it to volumino with winscp overwriting all the files
  • installed the bluetooth_controller.zip via frontend (using volumio.local/plugin-manager). installation went through without any errors

Results:

  • Bluetooth Manager plugin is installed and active (“on” / “active”)
  • Put the UE Boom in discoverable mode (fast blinking LED on device)
  • UE Boom becomes visible in Volumio GUI
  • connect to UE Boom via Plugins -> Bluetooth Plugin -> “connect”. Volumio GUI says “connected”
  • LED on UE Boom keeps blinking fast
  • When I try to play music, it starts playing in the Volumio GUI, but the speakers stays silent

Do I have to do anything else? Any help and feedback would be greatly appreciated. Thank you!

Hi,
unfortunately I ran into the same problems as SonosKiller described.
Speakers are visible but cannot be connected
… a2dp-sink profile connect failed for FC:58:FA:9E:1B:DA: Protocol not available …
looking for sudo systemctl status bluezalsa.service also shows:
bluezalsa.service - BluezAlsa proxy
Loaded: loaded (/lib/systemd/system/bluezalsa.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-10-25 19:26:45 UTC; 12min ago
Process: 775 ExecStart=/usr/bin/bluealsa --disable-hfp (code=exited, status=203/EXEC)
Main PID: 775 (code=exited, status=203/EXEC)

I run the lastet volumio version 2.296. so it seems I’m stuck in the same situation like aightgenosse

Like aightgenosse I think this addition will be a splendid improvement for a lot of volumio users! Thank you!

So: is there anything else to be checked or to be reported to help form my side?
Maybe: any news, hints, ideas … did come up meanwhile?

I updated the zip.
This works now with the changed mpd mechanism and shoud work.
Please give it a try,

Hi,

maybe I am too noob to do this right… Here is what I have done:

  • Downloaded the latest versions of the two files
  • unzipped ui.zip
  • connected to volumio via putty, and used cmd to execute pscp -u ui volumio@volumio:/volumio/http/www
  • restarted volumio two times
  • went to volumio.local/dev to upload bluetooth_controller.zip (which brought up a simple page showing OK
  • restarted volumio
  • went to plugins, turned on the bluetooth manager
  • went to settings and turned “discoverable” to “on”

But what now? I do not see the bluetooth speaker I want to connect to anywhere, and do not know where I can tell volumio that it should use BT as output…

BTW, next to the BT Manager pluging there is a red dot saying “inactive”…

Any suggestions?

Thanks!

1 Like

The plugin needs to be turned on and showing: active - showing green circle

Then you should be able to discover BT devices arround. sometimes you need to click more often on the refresh button because at the moment there is no automatic update of the list.
afterwards select the desired bt device and click connect.

Hi Geeks

I’m trying with the plugin again but I’m not so successful
Using a fresh 2.295 install
The installation works without any errors or problem , but I can’t see any devices
First of all is the links to UI and the plugin zip file in the first posting current and valid ?
and this below still applies ?

Blue.jpg

Thanks for the answer, but it does not matter whether I turn the BT Manager on or off - the dot stays red saying “inactive”… I can not see any devices…
I am on the most recent volumio version (the one where your pr has been merged).

Thanks!
btm.png

You sitll need to change the UI. By now I have not made an PU for that.
bluetooth_controller.zip is the current one that should work with 2.295

Please send output from

sudo journalctl -f 

while you change it to active.

Hi, my Bluetooth Speaker play maybe 10 minuts and now I have this error, restart dont help. My Volumio version 2.296

Nov 02 20:16:29 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:32 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:34 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:34 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:37 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:39 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:39 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:42 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:43 volumio2 sudo[7399]: volumio : TTY=pts/1 ; PWD=/home/volumio ; USER=root ; COMMAND=/bin/journalctl -f
Nov 02 20:16:43 volumio2 sudo[7399]: pam_unix(sudo:session): session opened for user root by volumio(uid=0)
Nov 02 20:16:44 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:44 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket
Nov 02 20:16:47 volumio2 volumio[894]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket

Today I’m one more time install evrything, and I have this same. 5 min play and

-- Logs begin at Fri 2017-11-03 18:50:58 CET. -- Nov 03 19:11:16 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:17 volumio2 mpd[1140]: exception: Letter expected Nov 03 19:11:17 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:17 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:17 volumio2 sudo[1142]: volumio : TTY=pts/1 ; PWD=/home/volumio ; USER=root ; COMMAND=/bin/journalctl -f Nov 03 19:11:17 volumio2 sudo[1142]: pam_unix(sudo:session): session opened for user root by volumio(uid=0) Nov 03 19:11:17 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:18 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:18 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:18 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:19 volumio2 mpd[1146]: exception: Letter expected Nov 03 19:11:19 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:19 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:19 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:20 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:20 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:20 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:21 volumio2 mpd[1149]: exception: Letter expected Nov 03 19:11:21 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:21 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:21 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:22 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:22 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:22 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:23 volumio2 mpd[1151]: exception: Letter expected Nov 03 19:11:23 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:23 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:23 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:24 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:24 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:24 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:25 volumio2 mpd[1153]: exception: Letter expected Nov 03 19:11:25 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:25 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:25 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:26 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:26 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:26 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:27 volumio2 mpd[1155]: exception: Letter expected Nov 03 19:11:27 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:27 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:27 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:28 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:28 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:28 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:29 volumio2 mpd[1157]: exception: Letter expected Nov 03 19:11:29 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:29 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:29 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:30 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:30 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:30 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:31 volumio2 mpd[1160]: exception: Letter expected Nov 03 19:11:31 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:31 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:31 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:32 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:32 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:32 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:33 volumio2 mpd[1162]: exception: Letter expected Nov 03 19:11:33 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:33 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:33 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:34 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:34 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:34 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:35 volumio2 mpd[1164]: exception: Letter expected Nov 03 19:11:35 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:35 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:35 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:36 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:36 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:36 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:37 volumio2 mpd[1166]: exception: Letter expected Nov 03 19:11:37 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:37 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:37 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:38 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:38 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:38 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:39 volumio2 mpd[1168]: exception: Letter expected Nov 03 19:11:39 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:39 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:39 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:40 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:40 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:40 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:41 volumio2 mpd[1170]: exception: Letter expected Nov 03 19:11:41 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:41 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:41 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:42 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:42 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:42 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:43 volumio2 mpd[1172]: exception: Letter expected Nov 03 19:11:43 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:43 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:43 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:44 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:44 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:44 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:45 volumio2 mpd[1174]: exception: Letter expected Nov 03 19:11:45 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:45 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:45 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:46 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:46 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:46 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:47 volumio2 mpd[1176]: exception: Letter expected Nov 03 19:11:47 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:47 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:47 volumio2 volumio[910]: info: Nov 03 19:11:48 volumio2 volumio[910]: [1509732707994] ---------------------------- Client requests Volumio play Nov 03 19:11:47 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:48 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:48 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:48 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:48 volumio2 volumio[910]: info: CoreCommandRouter::volumioPlay Nov 03 19:11:48 volumio2 volumio[910]: UNSET VOLATILE Nov 03 19:11:48 volumio2 volumio[910]: info: [1509732708039] CoreStateMachine::play index undefined Nov 03 19:11:48 volumio2 volumio[910]: info: [1509732708043] CoreStateMachine::setConsumeUpdateService undefined Nov 03 19:11:48 volumio2 volumio[910]: info: [1509732708098] CorePlayQueue::getTrack 0 Nov 03 19:11:48 volumio2 volumio[910]: info: [1509732708103] CoreStateMachine::startPlaybackTimer Nov 03 19:11:48 volumio2 volumio[910]: info: [1509732708126] CorePlayQueue::getTrack 0 Nov 03 19:11:48 volumio2 volumio[910]: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[object Object] Nov 03 19:11:48 volumio2 volumio[910]: info: [1509732708155] ControllerWebradio::clearAddPlayTrack Nov 03 19:11:48 volumio2 volumio[910]: info: [1509732708164] ControllerMpd::sendMpdCommand stop Nov 03 19:11:48 volumio2 volumio[910]: info: [1509732708221] ------------------------------ 227ms Nov 03 19:11:49 volumio2 mpd[1178]: exception: Letter expected Nov 03 19:11:49 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:49 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:50 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:50 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:50 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:50 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:51 volumio2 volumio[910]: info: Nov 03 19:11:51 volumio2 volumio[910]: [1509732711617] ---------------------------- Client requests Volumio play Nov 03 19:11:51 volumio2 volumio[910]: info: CoreCommandRouter::volumioPlay Nov 03 19:11:51 volumio2 volumio[910]: UNSET VOLATILE Nov 03 19:11:51 volumio2 volumio[910]: info: [1509732711631] CoreStateMachine::play index undefined Nov 03 19:11:51 volumio2 volumio[910]: info: [1509732711634] CoreStateMachine::setConsumeUpdateService undefined Nov 03 19:11:51 volumio2 volumio[910]: info: [1509732711667] CorePlayQueue::getTrack 0 Nov 03 19:11:51 volumio2 volumio[910]: info: [1509732711680] CoreStateMachine::startPlaybackTimer Nov 03 19:11:51 volumio2 volumio[910]: info: [1509732711690] CorePlayQueue::getTrack 0 Nov 03 19:11:51 volumio2 volumio[910]: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[object Object] Nov 03 19:11:51 volumio2 volumio[910]: info: [1509732711715] ControllerWebradio::clearAddPlayTrack Nov 03 19:11:51 volumio2 volumio[910]: info: [1509732711727] ControllerMpd::sendMpdCommand stop Nov 03 19:11:51 volumio2 volumio[910]: info: [1509732711769] ------------------------------ 152ms Nov 03 19:11:52 volumio2 mpd[1180]: exception: Letter expected Nov 03 19:11:52 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:52 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:52 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:52 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:52 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:52 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:53 volumio2 mpd[1182]: exception: Letter expected Nov 03 19:11:53 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:53 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:54 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:54 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:54 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:54 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:55 volumio2 mpd[1184]: exception: Letter expected Nov 03 19:11:55 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:55 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:56 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:56 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:56 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:56 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:11:58 volumio2 mpd[1186]: exception: Letter expected Nov 03 19:11:58 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:11:58 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:11:58 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:11:58 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:11:58 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:11:58 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:00 volumio2 mpd[1189]: exception: Letter expected Nov 03 19:12:00 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:00 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:00 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:00 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:00 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:00 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:02 volumio2 mpd[1191]: exception: Letter expected Nov 03 19:12:02 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:02 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:02 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:02 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:02 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:02 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:04 volumio2 mpd[1194]: exception: Letter expected Nov 03 19:12:04 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:04 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:04 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:04 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:04 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:04 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:06 volumio2 mpd[1196]: exception: Letter expected Nov 03 19:12:06 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:06 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:06 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:06 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:06 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:06 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:08 volumio2 mpd[1198]: exception: Letter expected Nov 03 19:12:08 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:08 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:08 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:08 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:08 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:08 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:08 volumio2 wpa_supplicant[829]: wlan0: BSS: Remove id 1 BSSID c6:6e:1f:97:65:a4 SSID 'Kapitan_EXT' due to wpa_bss_flush_by_age Nov 03 19:12:08 volumio2 wpa_supplicant[829]: wlan0: BSS: Remove id 2 BSSID 06:02:6f:c6:b9:b7 SSID 'Guest' due to wpa_bss_flush_by_age Nov 03 19:12:10 volumio2 mpd[1200]: exception: Letter expected Nov 03 19:12:10 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:10 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:10 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:10 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:10 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:10 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:12 volumio2 mpd[1202]: exception: Letter expected Nov 03 19:12:12 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:12 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:12 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:12 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:12 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:12 volumio2 systemd[1]: mpd.service start request repeated too quickly, refusing to start. Nov 03 19:12:12 volumio2 systemd[1]: Failed to start Music Player Daemon. Nov 03 19:12:12 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:12 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:12 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:14 volumio2 mpd[1204]: exception: Letter expected Nov 03 19:12:14 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:14 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:14 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:14 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:14 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:14 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:16 volumio2 mpd[1206]: exception: Letter expected Nov 03 19:12:16 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:16 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:16 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:16 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:16 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:16 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:18 volumio2 mpd[1208]: exception: Letter expected Nov 03 19:12:18 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:18 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:18 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:18 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:18 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:18 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:20 volumio2 mpd[1210]: exception: Letter expected Nov 03 19:12:20 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:20 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:20 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:20 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:20 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:20 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:22 volumio2 mpd[1212]: exception: Letter expected Nov 03 19:12:22 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:22 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:22 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:22 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:22 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:22 volumio2 systemd[1]: mpd.service start request repeated too quickly, refusing to start. Nov 03 19:12:22 volumio2 systemd[1]: Failed to start Music Player Daemon. Nov 03 19:12:22 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:22 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:22 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:24 volumio2 mpd[1214]: exception: Letter expected Nov 03 19:12:24 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:24 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:24 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:24 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:24 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:24 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:26 volumio2 mpd[1216]: exception: Letter expected Nov 03 19:12:26 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:26 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:26 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:26 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:26 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:26 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:28 volumio2 mpd[1218]: exception: Letter expected Nov 03 19:12:28 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:28 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:28 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:28 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:28 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:28 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:30 volumio2 mpd[1221]: exception: Letter expected Nov 03 19:12:30 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:30 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:30 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:30 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:30 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:30 volumio2 systemd[1]: Started Music Player Daemon. Nov 03 19:12:32 volumio2 mpd[1223]: exception: Letter expected Nov 03 19:12:32 volumio2 systemd[1]: mpd.service: main process exited, code=exited, status=1/FAILURE Nov 03 19:12:32 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:32 volumio2 systemd[1]: mpd.service holdoff time over, scheduling restart. Nov 03 19:12:32 volumio2 systemd[1]: Stopping Music Player Daemon... Nov 03 19:12:32 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:32 volumio2 systemd[1]: mpd.service start request repeated too quickly, refusing to start. Nov 03 19:12:32 volumio2 systemd[1]: Failed to start Music Player Daemon. Nov 03 19:12:32 volumio2 systemd[1]: Unit mpd.service entered failed state. Nov 03 19:12:32 volumio2 systemd[1]: Starting Music Player Daemon... Nov 03 19:12:32 volumio2 systemd[1]: mpd.service start request repeated too quickly, refusing to start. Nov 03 19:12:32 volumio2 systemd[1]: Failed to start Music Player Daemon. Nov 03 19:12:32 volumio2 systemd[1]: Unit mpd.socket entered failed state. Nov 03 19:12:32 volumio2 volumio[910]: error: MPD error: Error: read ECONNRESET Nov 03 19:12:32 volumio2 volumio[910]: error: Upnp client error: Error: read ECONNRESET Nov 03 19:12:32 volumio2 volumio[910]: error: Upnp client error: Error: read ECONNRESET Nov 03 19:12:32 volumio2 volumio[910]: error: Upnp client error: Error: read ECONNRESET Nov 03 19:12:32 volumio2 volumio[910]: error: Upnp client error: Error: read ECONNRESET Nov 03 19:12:37 volumio2 volumio[910]: error: MPD error: Error: connect ECONNREFUSED /run/mpd/socket

Hi, turning it on and off results in the following:

Nov 04 15:51:38 volumio volumio[954]: info: [{“prettyName”:“Bluetooth Manager”,“name”:“bluetooth_controller”,“category”:“audio_interf ace”,“version”:“1.0.0”,“icon”:“fa-bluetooth”,“enabled”:true,“active”:false},{“prettyName”:“Spotify”,“name”:“spop”,“category”:“music_s ervice”,“version”:“1.3.3”,“icon”:“fa-spotify”,“enabled”:true,“active”:true}]
Nov 04 15:51:39 volumio volumio[954]: info: Enabling plugin bluetooth_controller
Nov 04 15:51:39 volumio volumio[954]: info: Loading plugin “bluetooth_controller”…
Nov 04 15:51:45 volumio volumio[954]: info: Enabling plugin bluetooth_controller
Nov 04 15:51:45 volumio volumio[954]: info: Loading plugin “bluetooth_controller”…

Strange thing is that 15:51:39 is “turning off”, and 15:51:45 is “turning on” — so even if I turn it off, it says “Enabling plugin”…

It seems the issue is somewhere in the communication between mpd and the used bluezalsa lib.
See https://github.com/Arkq/bluez-alsa on information how to build a debug version. That might give more details on the reason why connection resets.

Hi,

Do you have any suggestion about what could have gone wrong in my case? Do you need additional information?

Thanks!

[b]-- Update —

hello sorry but I don’t understanding what can I do :question: :question:

@Alchemist:
as there are no reason given in the log why it fails I just can have a look at my magic 8 ball for an answer :smiley:
Maybe I find the time to put together a plugin with more Bluetooth debug messages in the next days.

@WIFI75:
Pull request is done so I updated the line.
The plugin is not stable right now and needs some changes in volumio setup.