-
Notifications
You must be signed in to change notification settings - Fork 398
Sychnronising Phonieboxes in a local network
Splitti wrote a (german) blog post about synchronising Phonieboxes in a local network. You can find the blog post here.
This feature is integrated since version 2.5 via PR https://github.com/MiczFlor/RPi-Jukebox-RFID/pull/1978. It was inspired by Splitti's post and also is this manual, although the implementation is a little different (e.g. no synchronisation of the 'playlists' folder)
To synchronise one to many Phonieboxes from a host in the local network (like a NAS, Main Phoniebox, etc) the component "synchronisation/sync-shared" can be used. Please check sync-shared README for installation and configuration.
Add a mounted folder to access files on the host.
Replace SHARENAME, IP_OR_FQDN_OF_HOST, FILESYSTEM_PATH_ON_HOST, USER and PASSWORD
sudo mkdir /mnt/<SHARENAME>
sudo nano /etc/fstab
//<IP_OR_FQDN_OF_HOST>/<FILESYSTEM_PATH_ON_HOST> /mnt/<SHARENAME> cifs username=<USER>,password=<PASSWORD>,iocharset=utf8,uid=pi,gid=pi,file_mode=0770,dir_mode=0770,vers=3.1.1,nofail,noauto,x-systemd.automount
Make sure the files on the host are accessable for USER!
Create a ssh keypair (confirm prompts if not other settings wanted)
ssh-keygen -t rsa
Copy the file '~/.ssh/id_rsa.pub' to the host and connect to it via ssh as USER. Navigate to the file location and add the key
cat id_rsa.pub >>~/.ssh/authorized_keys
chmod 0600 ~/.ssh/authorized_keys
Now try to connect from the Phoniebox to the host as USER without password (:PORT only needed if not 22)
ssh <USER>@<IP_OR_FQDN>:<PORT>
Make sure the files on the host are accessable for USER!
If you like Phoniebox, consider: buy me a coffee or PayPal
- Code: https://github.com/MiczFlor/RPi-Jukebox-RFID
- Phoniebox home page: English | Deutsch
Phoniebox is a contactless jukebox for the Raspberry Pi, playing audio files, playlists, podcasts, web streams and spotify triggered by RFID cards. All plug and play via USB, no soldering iron needed. Update: if you must, it now also features a howto for adding GPIO buttons controls.
Visit Phoniebox.de
π₯ Version 3
- β Releases
- π΅ Install Jukebox Version 3
- π Report a bug
- π Propose a feature
- βοΈ Feature Status
- π Documentation
- π©βπ» Development
- βοΈ Contributing
- π¦ Code
πΆ Version 2
- β Releases
- π΅ Install Jukebox Version 2
- π Report a bug
- βοΈ Features
- π Documentation
- βοΈ Contributing
- π¦ Code
Version 2 Pages
-
Setup / Upgrades
- Synchronising Phonieboxes in a local network
- Smart Home remote control with MQTT
- Hardware Pinout Overview
- Systemwide Equalizer
- Phoniebox with read-only Filesystem
- HiFiBerry Soundcard Details
- WM8960 Hi-Fi HAT
- PAM8403 Amplifier Power Off
- TPA3118 Amplifier Power Off and EMI improvement
- External Non USB Audio DAC ES9023, PCM5102, etc.
- On-board LEDs with fibre optics
- Setting GPIOs at boot time
- Stop on removal with USB RFID Reader
- Firmware update improves audio out
- Architecture