This is team 1777's pit display for FIRST Power Up. We used this at Cow Town Throwdown 2018 to show the time of our next match and our record of previous matches.
This was run on a Raspberry Pi using Chromium and is designed to be used in fullscreen mode. If you use this at competition, you will need to find a way to get wireless access so that you can retrieve new data from The Blue Alliance. We USB tethered an iPhone, which worked pretty well without needing to mess around with network settings.
- Clone this repository
- Edit the following variables in tba_api.js:
eventKey
= the string at the very end of the TBA page for your eventteamKey
= for FRC, this will probably befrc
+ your team numberaccessCode
= sign up for a developer account on TBA and change this to your API access codetimeAdjust
(optional) = use this to compensate for any time zone differences or other inaccuracies
- Open index.html in a browser (the URL should start with
file://
for Chrome/Chromium) - Fullscreen the page (F11)
Pressing the spacebar will pull new data from TBA. This program does not automatically retrieve data to limit the amount of cellular data used.
The number keys can be used to change between match data tabs. You can also click on each tab to switch.