![arduino 1.8.5 won arduino 1.8.5 won](https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2018/08/com-port-selected.jpg)
![arduino 1.8.5 won arduino 1.8.5 won](https://robotzero.one/wp-content/uploads/2019/01/camera-web-server-screen.jpg)
You basically need to power the Sonoff, connect its output to the light bulb/light circuit and connect the light switch to GPIO14 and GND pads, and you're in business.įirst thing you need to do is to open the Sonoff switch case (it's held in place by a few plastic clips) and identify the GPIO pads (figure 1).
ARDUINO 1.8.5 WON'T COMPILE ESP8266 HOW TO
Thankfully I found this youtube guide with an idea on how to convert a basic switch in a light switch. noff-touch), but is more expensive and I wanted to keep my existing switches. Itead also make a wifi light switch I could have used (. So the plan was to get several Sonoff Basic switches, remove the case, flash Tasmota firmware ( ) and find a way to interface it with my existing light switches. 0.0.miLISy), the microcontroller also exposes a few GPIOs and can be flashed with open source software to open it up. They combine a ESP8266 wifi-enabled microcontroller with a relay and let you turn things on and off from a distance. By accident I heard about Sonoff wifi switches built by Itead ( ). Also, most solutions use proprietary protocols or cloud services which may leak personal data, or might shutdown in the future leaving you with expensive paperweights.
![arduino 1.8.5 won arduino 1.8.5 won](https://ae01.alicdn.com/kf/HTB1ifI6JpXXXXcnXFXXq6xXFXXXz/221442105/HTB1ifI6JpXXXXcnXFXXq6xXFXXXz.jpg)
I looked at smart light bulbs, like Philips Hue, but they are expensive (about 12$/bulb. Ever since I started working with Home Assistant and automating various things around the house I wanted to have a way to control the lights.