Using the Raspberry Pi to monitor tweets for build status and turn on traffic lights
- Take apart a lava traffic light http://www.amazon.com/gp/product/B001ETWW0M?tag=spiblog-20
- Disconnect the lights
- Connect as follows:
<Network
--------- amber light
| ---------- connect to all lights
| |
o o o o o x o o o o o x o o o o x x o o o o o o | | | ------ red light --------- green light
- Install twitter plugin for jenkins
- Setup the plugins and get it to post to a twitter account
- Modify the twitter_username to be your twitter account
- Run pip install requirements.txt
- Run sudo python main.py