How I tried installing Phoniebox in a RPi 3 Model B from a Mac.
from https://www.raspberrypi.org/downloads/raspbian/ , using the ZIP download link.
- Download Etcher
- Install to Applications
- Run as root via
sudo /Applications/balenaEtcher.app/Contents/MacOS/balenaEtcher
- Select ZIP, card, hit Start
- Take out SD card, put it back in
- Open SD card partition "boot"
- Create file
ssh
- Create file
wpa_supplicant.conf
as described in https://github.com/raspberrypi/documentation/blob/master/configuration/wireless/headless.md
- Insert the card
- Plug in the card reader
- Plug in the USB audio device (optional)
- Plugin monitor and keyboard (optional)
- Find IP address via router admin UI
- Connect:
ssh pi@<ip-address>
- Create
.ssh/authorized_keys
and add own public RSA key - Change password for pi user using
passwd
Execute amixer scontrols
For a PCM audio device, the output might look like this:
Simple mixer control 'PCM',0
Use this info in the next step.
From https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/INSTALL-stretch#one-line-install-command
rm buster-install-*
wget https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/master/scripts/installscripts/buster-install-default.sh
chmod +x buster-install-default.sh
./buster-install-default.sh
Follow the interactive prompt.
If you are connected via Wifi already, skip the Wifi setup.
- Use
ifconfig | grep inet
to find the Raspi's IP address. - In a browser, connect to
http://<ip-address>/
to open the Phoniebox web UI.
- Have some MP3 files ready
- Go to "Folders & Files" to upload music files into new folders
- Go to "Home" in the web UI
- Hit the play button next to a music folder.
The UI should indicate that music is playing. You should hhear music.
In my case, neither of those happened.
Troubleshooting: https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/Troubleshooting-FAQ#audio-is-not-working - not too helpful, as all settings seem to be right.
Installing omxplayer
. Playing mp3 via omxplayer <path-to-mp3>
is working fine.
Maybe it's mpd? systemctl list-units|grep mpd
shows it's running.
Running mpc update
fixed it.
- Go to "Card ID" in the web UI
- Swipe an RFID card or chip. The ID should appear in the form.
In my case, the card ID does not appear.
I run ~/RPi-Jukebox-RFID/scripts/RegisterDevice.py
again. And I reboot. Then it works.
As described in https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/MANUAL#phoniebox-controls-using-rfid-cards