One of the things I’ve always wanted to do ever since I built RGBMatrixEmulator is have a live cluster of MLB LED scoreboards available on demand.
Well, today’s the day! It’s pretty simple:
- Set up a Dockerfile
- Clone mlb-led-scoreboard
- Expose the RGBMatrixEmulator port, by default 8888
And you’re done! Of course, this procedure could be repeated for any project that uses hzeller’s rpi-rgb-led-matrix driver libary.
I chose to deploy this to Fly.io just for simplicity, and seems like it works great. We’ll see how expensive it gets, since we’re emitting a ton of raw frame data over a websocket.
With the World Baseball Classic going on right now, there’s also multiple versions available, with live WBC-specific support available at:
Normal live games are available at (although until the WBC ends, you’ll probably want the link above):
Source code is also available to run a local Docker container:
That’s all for now. Thanks for reading!