GitXplorerGitXplorer
R

LightSwitch

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
57a26ec6b92d3b80abfee803b0d1ed4aa1926068

Update README.md

RRamV13 committed 5 years ago
Unverified
df25b4ccf658c8f2e6f798d731dd2d5c72f2a76f

Update README.md

RRamV13 committed 8 years ago
Unverified
0a4c46276a0d2c0ec98bc7b01c16c30032a6a388

Fixed comment spelling

RRamV13 committed 8 years ago
Unverified
3f82f979e679b6fc3137a8526ec5d0a76441575b

Fixed comment typo

RRamV13 committed 8 years ago
Unverified
113331d9d26b92c8c383efa948d0a2868bb66b82

Added shell script example

RRamV13 committed 8 years ago
Unverified
2fb4390f36d206bb34840b8bbe16196cc3970e21

Added Arduino source code

RRamV13 committed 8 years ago

README

The README file for this repository.

Arduino WiFi Light Switch

Usage

Materials

  1. Arduino UNO
  2. Adafruit WiFi Shield
  3. Arduino Relay
  4. Tools - Screwdriver, Wire cutters, Soldering Kit
  5. Cables - USB

Hardware

  1. Connect an Arduino UNO to a relay switch and an Adafruit WiFi Shield (adhere to the PIN connections in the code or adjust the constants in the code itself)
  2. TURN OFF THE FUSE IN THE HOUSEHOLD/BUILDING
  3. Carefully install the Arduino in series or in parallel (depending on intended behavior) with the existing light circuit
  4. Connect the Arduino to a permanent power source (batteries will run out quickly)
  5. Turn the fuse in the household/building back on

Software

  1. Replace the lines with <SSID> and <PASSWORD> with your LAN information.
  2. Load the code onto the Arduino UNO using the USB cable and the Arduino IDE
  3. Send an HTTP POST request with a payload containing the keyword switch (see lightswitch.sh for reference)