Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neiljohari/traffic-lights
🚦 Raspberry Pi project to revive an old traffic light
https://github.com/neiljohari/traffic-lights
alexa raspberry-pi traffic-light
Last synced: 25 days ago
JSON representation
🚦 Raspberry Pi project to revive an old traffic light
- Host: GitHub
- URL: https://github.com/neiljohari/traffic-lights
- Owner: neiljohari
- License: mit
- Created: 2017-07-13T05:17:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-13T05:26:20.000Z (over 7 years ago)
- Last Synced: 2024-10-28T05:23:15.453Z (2 months ago)
- Topics: alexa, raspberry-pi, traffic-light
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Traffic Lights
🚦 Raspberry Pi project to revive an old traffic light## Background
I've had a traffic light in my backyard for a while. As a fun side project, I wanted to make it work again. The code in this repo runs on the Raspberry Pi Zero W used in the project.## Setup
My pi is connected to a relay module board. The `web_app.py` file is a Flask web server that I have as a startup script. This web app allows me to switch on/off certain lights or all of them using a web endpoint. The `fauxmo.py` is a Python3 updated version of makermusings/fauxmo that also runs as a startup script.With this setup, I can use Echo or Echo Dot to control the traffic light. Since its being controlled through a web endpoint, I plan to also get CS:GO gamestate integrations going, and a color organ with Spotify.