Since Roon will not run on a Pi Zero as an endpoint what are my options to output music on a Pi Zero with a Justboom DAC?
I have modified a Raspberry Pi Zero and fitted it onto the dock of a B&W Zeppelin speaker. The streamer runs Raspotify but I’d want it to be able to play my Roon library as well.
I tried to install a standalone version of Squeezlite (no LMS needed):
sudo apt-get update -y
sudo apt-get install -y squeezelite
but Roon will not pick up any Squeezlite devices in my LAN…
I would be grateful if someone helps me with this.
Pi Zero is the only option in this specific project as the speaker’s dock cannot provide enough power for RPi2/3 or 4. RopieeeXL on the other hand that combines a Roon bridge with a Spotify-Connect client will not run on a Pi Zero too.
I have already tried it.
It’s not suitable for me as it not only requires to shutdown LMS before Roon finds a squeezlite device but I also find it extremely difficult to run a shutdown script which in my case is very important. PiCoreolayer is not a full Linux OS so there are dozen dependencies missing.
Do not need to shutdown LMS. It is enough to put specific IP in config page for ROON to find it.
piCorePlayer does run in RAM, so it can me safely unplugged. If you still need, there is a possibility to use 2 GPIO pins to attach a shutdown button. The configuration of shutdown button can be found in Tweaks page.
Later edit:
I see you already know about shutdown tweaks, from pCp forums.
Another alternative could be to use DietPi and install squeezelite.
DietPi is debian based and you can install shutdown script.
On another note Dietpi does not provide a Spotify - Connect client as far as I’m concerned so basically I’m am in a position where when something works, the other doesn’t as well as the other way around!
I’ve spent the better part of this week tinkering and testing different os (PiCoreolayer, volumio, raspbian, Dietpi, armbian on a nanopi board) and even other boards to no avail (Nanopi neoplus2) . I can’t get these 2 to work side by side on the Pi Zero.
And all this due to Roon labs not bothering to implement armv6 instructions into their Roon Bridge software…
My opinion is that piCorePlayer is the good choice. Like I said, you don.t need to shutdown LMS.
You just have to put ROON server IP on Audio settings page (LMS IP field in attached picture).
Thank you for the screenshot.
I will try to specify the ip in the field above but first I need to reflash as for some reason Squeezlite has stopped running (LMS does). Tried everything, update, restart, removed FFmpeg libraries). Squeezlite is still not running no matter what I tried. I think that’s due to me messing around with the poweroff tweaks.
As for the GPIO tweaks I’m not very hopeful too as when I asked they referred me to the manual page which for the life of me I don’t understand anything over there. If it was a script I could run it but that one seems to be a completely different logic. How am I supposed to specify pins and how do the active high, low values work? On which 2 pjns should I connect the two probes of the momentary switch.
Or maybe, you could take a Raspberry Pi A+ and use Ropiee XL + Pimoroni OnOff Shim.
This will offer you all the things you need as Roon endpoint, Spotify, Squeezelite and shutdown function.
And it it just a little bit bigger than Zero.
Thank you. The problem with these cables is that they add extra bulk and I have already my case modified and fitted it with a momentary switch. Everything is set up. Plus I will have to modify one of those cables to draw power from the dock.
I got the on off shim but haven’t tried it on Dietpi. Even if it works I think Dietpi does not have an option for a Spotify-connect client.
I thought about A+. I don’t think there’s any option I haven’t thought of…
A+ still draws a lot of power according to articles I’ve read. It’s just a bit les compared to Pi3 as they come with the same processor. From the inventory of boards I have, only pizero and the Nanopi Neoplus2 will boot and work normally but the latter does not support Raspotify while every other client I tried based on Librespot fails.
I had just tested my RPi Zero with pCp 6.0.0
I have Daphile LMS server and ROON core on my network.
Everything seems to work fine.
If I want to use RPi Zero with Roon, i have just to put Roon server IP on Squeezelitle settings page and enable Squeezebox support on Roon.
For LMS, I must just replace the LMS IP with Daphile one and instantly it is recognized by LMS server.
So, it seems something is strange in your confiuration.
I flashed once again, re-specified Roon server’s IP within LMS settings and this time it works.
However, I have another problem now. Spotty fails to authenticate. Another case when one works the other doesn’t.
If I eventually get them to work together I might as well solder an 2-position on/off HW switch that will just cut power to the Pi.