Build it yourself
Build from the YAML when your board has its own pins, when you want to change something, or when you want your own keys on the panel. Everything you need is in the firmware repo.
What’s in the repo
Section titled “What’s in the repo”| Path | What it holds |
|---|---|
firmware/gameday.yaml |
The release build for the MoonHub75 pinout, which the Apollo M-1 (Rev6) shares. It names the build and picks the pin map. |
firmware/gameday-2panel.yaml |
gameday.yaml starting two panels wide. The M-1 installer offers it for a 128x64 display. |
firmware/gameday-scoreboard75.yaml |
The release build for the scoreboard75 controller board. Not for other boards. |
firmware/gameday-bar.yaml, firmware/gameday-scoreboard75-bar.yaml |
Builds for panels in bars, which follow the beta versions and install them on their own at night. Never released; don’t flash them on your own panel. |
firmware/gameday-demo.yaml, firmware/gameday-scoreboard75-demo.yaml |
Test builds with a scripted demo. Never released; don’t flash them on a panel you use. |
firmware/controllers/ |
One pin map per board: moonhub75.yaml and scoreboard75.yaml. |
firmware/gameday-common.yaml |
Everything else: version, update feed, Wi-Fi, the panel layout, the pages and settings. Don’t build it directly. |
firmware/pages/ |
The pages drawn on the panel. The scoreboard is gameday-live.yaml. |
firmware/web/ |
The device page. |
components/ |
The firmware’s own ESPHome components. |
tests/ |
Host tests for the parser and game logic, and browser tests for the device page. |
The components in components/ are:
gameday: ESPN fetching, parsing and game logic, in C++.panel_layout: the panel layout (one to four panels wide, or a 2x2 and how its rows are mounted), applied at boot from a saved choice, so one binary serves every layout.improv_ble: Bluetooth Wi-Fi setup for the Game Day app.saved_networks: the up to five Wi-Fi networks the panel remembers.crash_report: keeps a record of the last crash, freeze or power dip restart in flash, with the log and backtrace of a crash or freeze, for/gameday/crash.
gameday-common.yaml also pulls in lvgl-page-manager and lvgl-canvas-fx at fixed versions, and the theme and clock packages from hub75-studio, pinned to a commit so a build always gets the same thing.
Install ESPHome
Section titled “Install ESPHome”Use the ESPHome version CI builds with. It’s ESPHOME_VERSION at the top of .github/workflows/build.yml in the code you clone, 2026.10.2 for the latest release. Install it in a Python virtual environment.
python -m venv esphome-venvOn macOS or Linux:
source esphome-venv/bin/activateOn Windows:
esphome-venv\Scripts\activateThen install the pinned version:
pip install esphome==2026.10.2The dev and beta branches may build on an ESPHome beta. main, which every release and the update feed come from, builds only on a final ESPHome release. CI checks it: a pull request into main, or a release tag, fails when the pin isn’t a final release like 2026.10.0. A maintainer can let an ESPHome beta through with the esphome-beta-ok label on the pull request that promotes it.
Get the code
Section titled “Get the code”Clone main, which holds the latest release:
git clone --branch main https://github.com/ApolloAutomation/gameday-scoreboard-mainTo build one particular release, put its tag in place of main, like --branch v2026.11.7. The default branch, dev, is where new work lands before a release. It may need an ESPHome beta, and a build from it shows the last release’s version number.
cd gameday-scoreboard-mainCompile
Section titled “Compile”esphome compile firmware/gameday.yamlUse compile to check a change, not config. config doesn’t catch C++ errors. For a 128x64 display, compile firmware/gameday-2panel.yaml instead. It has its own build folder, so switching between the two keeps both caches.
Flash over USB
Section titled “Flash over USB”Plug the board in and run:
esphome run firmware/gameday.yamlESPHome builds the firmware and asks which port to flash. Pick the USB port. Joining Wi-Fi and picking a team then work the same as after the M-1 installer.
Your own keys
Section titled “Your own keys”The prebuilt firmware has no password on updates, no key on the ESPHome API, and an open device page, because the panel trusts your home network. If you want a key or a password on your own panel, add it to your copy of the YAML and build that. Pull requests that add them to the default build aren’t merged.
Host tests
Section titled “Host tests”The parser and game logic have host tests. They need g++.
make -C testsThe device page has browser tests against a mock panel, in tests/web. They need Node and Python 3. Every command here runs in tests/web, not at the top of the repo:
cd tests/webRun these once:
npm cinpx playwright install chromiumThen run the tests:
npm testEdit the device page
Section titled “Edit the device page”The device page is plain HTML and JavaScript in firmware/web. The firmware embeds a generated bundle, so after you edit app.js, app.css or demo.js, rebuild it:
python3 scripts/build_web.pyThat rewrites firmware/web/bundle.js and firmware/web/bundle-demo.js. A pull request commits both with the change, since CI fails when they don’t match the sources.
Generated files
Section titled “Generated files”A few files in components/gameday are made by scripts. Don’t edit them by hand: change the script’s source and run it again.
| File | Made by |
|---|---|
teams.h |
scripts/build_teams.py |
team_colors.h |
scripts/build_team_colors.py |
timezones_parsed.h |
scripts/build_timezones.py |
circuits.h |
scripts/build_circuits.py |
flight_airlines.h |
scripts/build_airlines.py |
sprites.h |
scripts/build_sprites.py, from the play animations’ art in firmware/art/sprites/*.txt |
apollo_logo.h, Apollo on the start-up screen, is made by scripts/build_apollo.py from firmware/art/apollo/apollo.png.
Size budget
Section titled “Size budget”firmware/budget.json holds a ceiling for each release build’s flash and internal RAM. CI’s Size budget job fails a pull request that goes over one, or that grows a build by more than the file allows in one go. A change that needs more raises that one entry in the same pull request and says why. Your own copy can be as big as your board allows, but a pull request back to the project has to fit.
Contributing
Section titled “Contributing”Bug reports, test fixtures from odd games, pin maps for new boards and device page fixes are all welcome. CONTRIBUTING.md says where help is wanted, how to branch and what CI checks.