7e265e7a2a5487be085c606d474ddcd7f55d6fc8
scoreboard
Scoreboard script for showing active sports I like.
Equipment
I have a small setup to make this work, all specs found below
- Raspberry Pi 4, 2GB
- 4x waveshare P2.5 64x32 LED panels
- MEAN WELL LRS-100-5 5v PSU
- Adafruit Triple LED Matrix HUB75 Bonnet
Setup
- Install Python, Python build tools & build rpi-rgb-led-matrix from source or install it via pip
- Clone this repository
- Install requirements using
pip install -r requirements.txt - Download logos using the
download_logos.pyPython script - Run
scoreboard.pyPython script
This runs as a systemd service on my Pi, with the following configuration
[Unit]
Description=Scoreboard Script
After=multi-user.target
[Service]
ExecStart=/usr/bin/python3 scoreboard.py
KillSignal=SIGINT
WorkingDirectory=/home/pi/Documents/scoreboard
Restart=always
User=pi
[Install]
WantedBy=multi-user.target
Make usre to update paths accordingly.
Adding more leagues/teams
Simply add the league & sport to the get_all_scores() function in scoreboard.py. These should be relatively self-explanitory knowing the league name/sport name.
Make sure you get logos as well, doing the same in download_logos.py and running the script again.
Govee Lighting
If you have Govee lighting you want to setup for celebrations, create a .env file and complete the arguments in the template file.
Description
Languages
Python
100%