The data flow works like this:
- The scorekeeper joins their iPad to the WiFi access point.
- Normal internet traffic flows through the Raspberry Pi and is forwarded on to the 4G Hotspot for servicing.
- GameChanger traffic (specifically traffic headed to api.gamechanger.io) is redirected to the transparent proxy via DNS reply.
- The transparent proxy makes a copy of the information being sent to game changer and saves it to a file. The original copy of the traffic is sent on to the real GameChanger site enabling GameChanger to do their magic.
- The parser sees the file in its input directory, unzips the contents, and parses out the game state (score, inning, balls-strikes-outs, and runners on base). Once finished parsing, the file is moved to the output directory.
- Parsed game state is sent via serial USB to the Scoreboard for display.
- Fans are amazed (for the first 5 times after which they quickly grow to expect it).
Over the next few posts, I'll break down the different subsystems within the control box, covering
Up next…Network Configuration within the Control Box