How to Control Anything with a Wi-Fi Relay Switch Using aRest

A relay is an electrical component that works like a light switch, where it's turned on or off with an electrical signal. By connecting a relay to a Wi-Fi connected microcontroller like an ESP8266, you can build a connected switch that can be controlled from the web browser of any device connected to the same Wi-Fi network — all for just a couple of dollars. How an Electrical Relay Works When you want to turn a device on or off without being present, an electrical relay can take the work off your hands. Designed to switch on and off in response to an electrical signal, a relay can be used to... more