Replies: 4 comments
-
Taking into account that regular Pi's are almost impossible to buy this is a valid question. Is there anything that would make it impossible to use a Banana pi for a Phoniebox? |
Beta Was this translation helpful? Give feedback.
-
I'm a bit late to the party, but I managed to get Phoniebox up and running on a Pine A64 which costs about 40 Euros at the time of writing, of course excluding all accessories like WiFi, rotary encoders, power supplies, buttons, NFC reader... I'll just dump my experiences here and create some tickets here for the bugs I found here in the repo after I have finished scanning the open issues for them 😁 Here we go, this is what you need for Pine64! Step 0 - preparation (partly because of differences between RPi and Pine64 (or Banana Pi?)
Step 1 - download buster-install-default.sh ("One line install command" doesn't work out of the box as expected)Edit the file as follows: buster-install-default.sh line 693: change from
to
Why? The This is fixed in #1849 but not merged yet; it's plain broken in Make another amendment to the install script: buster-install-default.sh line 841: add a line to pause the install script there so you have the chance to edit the cloned repository before python dependencies are installed. Why? Because the python The line to add:
What does it do? It stops the install script, allowing you to make the changes from #1791 inside Open a second Terminal / SSH connection to your soon-to-be phoniebox. Then just change Step 2 - run
|
Beta Was this translation helpful? Give feedback.
-
An update for you guys trying to get this stuff to work on any other system than the original RPi. I got everything up and running in a pretty satisfying way. Here's what works:
The system is consuming about 4W of energy during playback. Having to use USB buttons for my setupI tried to get GPIO buttons to work for one or two eternities. I read metric tons of code to understand if it was an issue in my configuration or in the phoniebox code. Turns out it was neither. After reading the RPi.GPIO port's README for the 374th time, I stumbled across this remark in the "features" list:
Yeah, well. That's exactly what the phoniebox code is using for GPIO button control. So, the conclusion in this case is: ⚠ You can't use GPIO buttons or rotary encoders with your phoniebox with Pine A64! ⚠ 💡 I'm pretty sure that this doesn't apply to Orange/Banana Pi, as their GPIO implementations don't mention any non-implemented functionality. This still leaves me with output functionality for GPIO - meaning I have to connect my physical buttons to the above-mentioned USB encoder board while still being able to connect the Status LED to the GPIO pins. Tackling final permission problemsThings that got in the way in the meantime:
...and for the same reason, namely running as
or
and just delete these two lines:
This will cause the services to run as root, eliminating permission problems. ConclusionWhew, one hell of a ride. It took me about one week of net working time to get here, split up across about six weeks. I'd lie if I said it was fun all the time, but it was definitely worth it. I got all the hardware for about the same price as a regular RPi 3B/4, maybe 20 or 30 Euros more. It was an awesome experience to get the phoniebox ecosystem up and running literally bit by bit. And now it's time to go for the casing, which will be a tiny little wooden suitcase :-D |
Beta Was this translation helpful? Give feedback.
-
Does this work with Banana Pi(s) or Orange Pi(s)?
Edit: Bought an OrangePi Zero2 (Allwinner H616) but can't get RPi-Jukebox-RFID to run that.
Beta Was this translation helpful? Give feedback.
All reactions