-
1Step 1
Install Hypriot on your Raspberry PIs: http://blog.hypriot.com/downloads/
You need at least one Raspberry PI 2 or better for the server and some other Raspberry PI with ethernet, e.g. a Raspberry PI zero with adapter, for each client. -
2Step 2
ssh into the server pi and run
docker run --restart=always -d --net=host -e USER='YOUR SPOTIFY USERNAME' -e PASS='YOUR SPOTIFY PASSWORD' malted/mopidy-pulseaudio-server
Replace the USER and PASS values with your spotify credentials.
The default login for hypriot is pirate with the password hypriot.
-
3Step 3
Direct your Browser to IP_OF_YOUR_SERVER_PI:6680 and start a song.
It will be broadcasted on 224.0.0.56:45678. You can use vlc to check it.
vlc rtp://224.0.0.56:45678
-
4Step 4
Connect the USB Audio Adapter to the client pi and the speakers to the adapter.
-
5Step 5
ssh into the client pi and run
docker run --restart=always -d --net=host --privileged malted/rpi-pulseaudio-rtp-client
You should hear music now.
-
6Step 6
Direct your Browser to IP_OF_YOUR_CLIENT_PI:8000/enable/off to mute the client and to IP_OF_YOUR_CLIENT_PI:8000/enable/on to unmute it again.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.