A minimal Spotify interface for the Raspberry Pi SenseHat.
The Raspberry Pi SenseHat has an 8x8 LED matrix as well as a small joystick. Using the Spotify Web API, it's possible to fetch album art to display on the SenseHat matrix, as well as control playback using the joystick. These are the features targeted for an 1.0.0 release.
- A Raspberry Pi with Raspbian OS and a Sense Hat
libjpeg
, runsudo apt install libjpeg-dev zlib1g-dev
if Pillow fails during installation due to missingjpeg
.RTIMULib
: Since the version of RTIMULib available through pip doesn't install on a current version of Raspbian OS, you need to rungit clone https://github.com/RPi-Distro/RTIMULib
to grab a working version. Do this in the parent directory ofraspberrify
to get it to work with the install script.
This project is using Poetry for dependence management.
After installing Poetry, run poetry install
in the root directory to download all dependencies.
Secrets needed for Spotify authorization are specified in .env
files. The provided .env.example
shows the requred fields. Create a .env.secrets
file to specify your credentials, which can be obtained through the Spotify Developer Dashboard.
Run poetry run python3 raspberrify/main.py
in the cloned base directory.
This project is not finished yet - i mainly still want to add support for controlling playback through the SenseHat joystick.
This project is licensed under the MIT License - see the LICENSE.md file for details