Remote Control Porch Light

In the previous post, I talked about integrating Sonoff wi-fi switch into Home Assistant. Since the Sonoff GPIO pins can be used to control its switch status, I modified my porch light switch and connect it up to a Sonoff. Doing so allows me to turn on or off the porch light through Home Assistant dashboard. First create a ESPHome Sonoff device “snf_porch_light” and add … Continue reading Remote Control Porch Light

Adding Sonoff Wi-fi Switch

The Sonoff Basic is an inexpensive wi-fi switch. This post shows how to control the Sonoff with the ESPHome component. The ESPHome firmware also allows me to control a host of other ESP8266/ESP32-based devices, sensors and switches directly from the Home Assistant dashboard. Flashing ESPHome on to the Sonoff requires taking the device out of its plastic casing and connecting it to the PC USB … Continue reading Adding Sonoff Wi-fi Switch