A Raspberry PI RFID reader that plays things on Spotify
- Raspberry PI 5
- Piicodev RFID Module
- Piicodev OLED Screen
- Piicodev Buzzer
- Piicodev Adapter for Raspberry PI
- 3x Piicodev Cables
- RFID Tags
- Enabled the
IC2
interface on your Raspberry PI- Open the Raspberry Pi Configuration Menu
- Select the Interfaces tab
- Ensure
I2C
is enabled.
- Install
git
anddocker
on your Raspberry PI - On your Raspberry PI, run
hostname -I
and note down yourIP Address
- Go to the Spotify Web API docs and create an
app
- Enter
http://<your raspberry pi IP>/spotify/setup/callback
as theredirect URI
in the Spotify app settings - On your Raspberry PI,
clone
the repository and runcd rfidify
- On your Raspberry PI, run
docker compose up
to start the docker containers - Open a web browser and go to
http://<your raspberry pi IP>
- You will be prompted to enter your Spotify
client id
andsecret
which was created instep 4
- You app is setup and ready to run!