- A Raspberry Pi with Bluetooth
- Waveshare 2.13inch Touch e-Paper HAT for Raspberry Pi
mopidy
mopidy-alsamixer
mopidy-local
pipenv
Copy the Mopidy and PulseAudio config to their respective locations. Restart PulseAudio and start/enable the mopidy
service:
$ sudo cp ./mopidy.conf /etc/mopidy/mopidy.conf
$ sudo cp ./mopidy.pa /etc/pulse/default.pa.d/mopidy.pa
$ pulseaudio --kill
$ pulseaudio -D
$ sudo systemctl enable --now mopidy
Ensure the following features are enabled on your Raspberry Pi by using raspi-config
or editing /boot/firmware/config.txt
directly:
- I2C
- SPI
Enter the root of the repository and run the following:
$ pipenv sync
$ pipenv shell
$ python ./controller.py