Web app that turns the Expansion Dock's RGB LED into a mini traffic light
- Omega2/Omega2+
- Expansion Dock
Connect to your Omega's command line. Then run:
cd /root
git clone https://github.com/OnionIoT/rgb-led-traffic-light.git
mkdir /www/traffic
mkdir /www/cgi-bin
cp rgb-led-traffic-light/www/index.html /www/traffic/
cp rgb-led-traffic-light/www/cgi-bin/* /www/cgi-bin/
- Connect your Omega to your local WiFi network
- On your computer, go to http://omega-XXXX.local/traffic
- See https://docs.onion.io/omega2-docs/omega-name.html for how to replace
XXXX
in the URL above
- See https://docs.onion.io/omega2-docs/omega-name.html for how to replace
- Click on each of the colors to change the RGB LED on the Expansion Dock!