A old traffic light to blink based on whats happening during NFL games.
the reason its split is because i use the light for other home automation tasks, all documented here...
cpanm JSON Time::HiRes HTTP::Tiny Storable Mojolicious::Lite Mojo::JSON
./gpio-web.pl daemon
the top of this script contains the favorite team variable, said your abbreviated team at the top.
./nfl.pl
may throw some errors because some vars don't exist for comparing, eventually i'll clean that up
legend is as follows:
- green on during any of the following means your fav team is triggered below
- extra point - 1 x yellow and red
- 2pt conversion - 2 x yellow and red
- field goal - 3 x red
- safety - 2 x red
- touchdown - 6 x yellow and red