Euterpe is a random and useless but fun project which aims to provide a simple NFC reader triggering Spotify songs.
- Create an
Euterpe
app on Spotify - Get spotify
CLIENT_ID
andCLIENT_SECRET
You must:
- Have a Raspberry Pi setup and configured to be accessible through ssh under
raspberry
with a sudoer user - A RC522 card connected on the Raspberry
- Ensure it's connected to a speaker
Here is a wiring plan of the RC522 card on your Raspberry
- Installation
> cd ansible
> ansible-playbook -i inventory/realm euterpe.yml --diff
- Start the API
> uvicorn euterpe.api:app --reload
- Run the server
> python euterpe/cli.py server run
In order to ease development you may run source directly from your Raspberry PI. You can use VSCode Remote Developpement to achieve that.
- Run VSCode
<Ctrl + Shift + P>
thenRemote-SSH: Connect current Window to Remote host
- Select your
raspberry
host - When the window is ready
Clone Repository