-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volumio as Bluetooth Audio Receiver #795
Comments
Don't know if it helps, but you could take a short look at these instructions on how to install a2dp-bluetooth on raspbian jessy https://github.com/karaambaa/a2dp-bluetooth-server |
Got it up and running with the following scripts, using only the bluetooth scripts https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install |
I can't seem to find how to make bluetooth work properly. Does someone work on a plugin ? |
@AbysFlo can you explain which scripts you ran exactly? |
@death2all110 If I recall well I ran bt_pa_config.sh and bt_pa_install.sh and that was up and running. Not sure how they mixed together, like might needed to pause a song to have only one source of music at the time. I didn't pursue my testing as I have a phone running on 2.4ghz wifi and bluetooth was interfering with it.. I think pulse crashed couple of time as well that needed a reboot. But was usable if you're not stuck with 2.4ghz wifi |
I think a very cool and super awesome feature would be if you could stream from a smartphone (through a Bluetooth or Wifi (maybe through the app as well) connection) to volumio and have volumio record the audio input and give you the option to save it to your local / network device containing your media files. This way you can also expand your library if anyone comes past and has a song that you don't have in your library, you can then easily have them stream it through your volumio setup and boom you have the song now part of your library... Make it sound easy, right (*duck), I think a lot of people will find this feature super handy. |
I have also tried to install this using the https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install method, but it still isn't working. steps I've done so far: afterwards I run the installer.sh (sudo) and select option 4 (bluetooth only). it seems to run through the installation process, but it doesn't activate the bluetooth. |
I had the same issue with the above script. Looking over my install.log file, it looked like the script was aborting any time it was prompted to install more than 1 package at a time. I was able to successfully get Bluetooth working on my Volumio installation by installing all the prerequisites first and then running the script again:
|
Hi, i'm still having some problems with installing the plugin.
If anybody has some great ideas to work around this, that would be great! |
This is an issue that should be reported to the author of bt_pa_config.sh.
|
For information, there's a discussion on the forum: https://volumio.org/forum/a2dp-bluetooth-support-t1475-40.html And some improvements have been done by @BaReinhard here: https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install |
I have updated the repo with a @xipmix I am open to making changes and very much open to pull requests with potential fixes you have in mind. The reason for running as user level was for compiling json-c and libsndfile, also it was originally written for raspbian. |
@xipmix thanks for some of your efforts to fix the install script. I have taken some time and cleaned up most if not all of the code. I believe it fixed most of the issues. I have removed all of the pi only user problems (that I’m aware of). That being said in the coming weeks I am looking to debug with other installs, I just recently got snapcast support so now I’m going to be looking at volumio as it seems like it’s the next big use case for many users. Not sure How inclusive it will be but I’d like for it to work for the average volumio user. |
@BaReinhard great news, that you're looking into Volumio :) Thank you. |
@biva I haven't gotten a chance yet, but i'll setup a branch for other users to test with as well. I am assuming you're more interested in bluetooth than anything else? |
Yes, bluetooth is my main (probably the single) interest. Thank you again! |
+1 on bluetooth |
+1 bluetooth with volumio. |
Good news ladies and gentlemen. I have it working for volumio. A few issues to iron out but should be done by tomorrow. UPDATE: Ok I couldn't help myself, made the fixes heres how to test the volumio branch.
It does need testing, it works for my device but I had no configuration changes on my volumio setup. So its possible certain changes on volumio may cause changes. Please let me know how it goes for you all. |
@BaReinhard, thanks a lot for the update. I noticed that AirPlay got disabled. Is there a way to have both? Thanks again |
Nice! I hope this can eventually get integrated into Volumio. Looking into the scripts, the steps for bluetooth don't look too complicated :) |
@BaReinhard: volumio offers Airplay functionality out of the box I think. I'll be able to reïnstall my volumio system over the weekend and test out your BT functionality! Thanks! |
@harel-e @Zjerardo Thanks, and yes I just checked and airplay functionality is intact with this installation, the metadata shows up on volumio.local . Bluetooth may take more of a chore to get working with volumio. I may not have the spare time for something like this, but I'll be taking a look at it anyway. |
If there is someone who is familiar with creating Volumio plugin's and would like to collaborate to make this functionality easily added, instead of needing to ssh and run commands in the CLI. Please reach out I would love to make this easier for the end user. |
@BaReinhard: Thank you ! |
I confirm BaReinhard's instruction works well for me. I'm on Rpi3 as well. Thanks a lot! |
Yes you can use both with the bluetooth only install, at least from my experience with it. If it does affect AirPlay, it would only require a minor change. Currently, wifi is still enabled during bluetooth playback, but there is an option to turn off wifi when bluetooth is connected, I will have to look where that script is located. |
@BaReinhard thanks a lot for your work.
Still not completely working. Isn't it? |
It should work but needs to be enabled. I haven’t had a chance to debug it if errors do occur. It worked on a few reported occasions but I didn’t ask more in depth questions. I’ll mark I as a todo item, and provide some documentation |
hello everyone that's very good. Awesome !!! 2222- Do anyone know if i can find a AutoFade audio plugin for volumio. thank you |
What are you looking for as far as auto fade? Slowly increasing audio after a bt connection? Bluetooth connection to Bluetooth speaker is pretty easy. Take a look at this repo I created, I haven’t tested on volumio and I don’t know that the install script would work for it, but you can follow the code and do it manually. https://github.com/BaReinhard/a2dp_bluetooth |
!! Sorry my bad misspelled !! Hi trying to reinstall , but it don't work as last time !
Asks for a username and password
|
I would ensure that the path is correct: |
hello and thanks for the script. any idea? |
Not sure what I'm doing wrong but I'm getting allot of packages not found from a stock volumio image on a pi3 dpkg-query: no packages found matching pulseaudio-module-bluetooth Full Log SSRPARI [Tue Mar 13 13:23:18 UTC 2018] Restoring Original Files... |
you need to use volumio version 2.348 to make it work. |
The reason for the Fatal errors in bt_pa_config.sh is, that it is started as user 'volumio' which has no right to use sudo to become root without password. The exact error message, which gets swallowed by the It is possible to temporarily solve that problem by adding the following line to I thought about doing that automatically in |
I created a pull request for @BaReinhard's Super-Simple-Raspberry-Pi-Audio-Receiver-Install script to fix the sudo issue: BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install#140 |
I installed this plugin but cant find any configuration. What do I have to do after installing? |
Assuming you are using " @BaReinhard's Super-Simple-Raspberry-Pi-Audio-Receiver-Install script" I don't know if this information still is correct (but I'm stuck/stopped on ver 2.348) @plomkiolki commented on 11 Apr |
I dont find any bluetooth devices... |
are you using ver 2.348 ? |
2.457 |
I don't know if it works with versions after 2.348! |
So, I have to install an older version of volumio to get bluetooth capabilities? |
Well sometimes you have to choose to eat or to have the cookie :) |
@rototom: what's the issue? Does the installer stop with an error?
It will checkout my fix. After that's done, try the install script again. If you want to know more about what @BaReinhard's script is doing, have a look at |
Hi @wullxz Is this the correct series of commands ? git clone https://github.com/bareinhard/super-simple-raspberry-pi-audio-receiver-install git fetch origin +refs/pull/140/merge sudo ./install.sh |
I think I didn't checkout the volumio-fix branch. But apart from that, yes. |
Okay and thanks @wullxz |
Hi @wullxz
Did manually run the commands in the script (See attached file. Lines marked #!! is the one I run and lines added into corresponding files) After that it actually worked :) (with a hacking sound, but that I will fix later with a usb dongle ) Next question , will this survive an version update ? |
Well well :) It survived an update to 2.461 with the positive side effect that I don't have any hacking sound anymore!? (without a Usb dongle) Tested from a Android phone and Windows computer With some anxiety to destroy a working Volumio I did a update to 2.502 and that also worked just fine |
Any update on this awesome feature? |
@TeChn4K Volumio has now the capability to play bluetooth audio via AD2P (bluetooth receiver). The functionality is provided if you have a MyVolumio account https://volumio.org/my-volumio-overview/ |
It would be nice to use volumio as a bluetooth audio receiver.
So it could additionally be used for receiving audio streams from smartphone or pc as central audio "device".
I've read about in a german magazine (not tested by myself) if this will help:
https://shop.heise.de/katalog/raspberry-in-blue
The text was updated successfully, but these errors were encountered: