OnionIoT / rgb-led-traffic-light

Web app that turns the Expansion Dock's RGB LED into a mini traffic light

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rgb-led-traffic-light

Web app that turns the Expansion Dock's RGB LED into a mini traffic light

Requirements

  • Omega2/Omega2+
  • Expansion Dock

Installation

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/

Usage

  1. Connect your Omega to your local WiFi network
  2. On your computer, go to http://omega-XXXX.local/traffic
  3. Click on each of the colors to change the RGB LED on the Expansion Dock!

About

Web app that turns the Expansion Dock's RGB LED into a mini traffic light

License:MIT License


Languages

Language:HTML 90.5%Language:Shell 9.5%