Sonoff Smart WiFi Switches Tasmota External Sensor 5V PIR Mod
Following on from this guide about flashing the Sonoff ESP8266 based wifi switches with custom firmware (Tasmota), this guide deals with how to use them with external sensors on one of the free GPIO pins as a secondary trigger. I wanted to use a PIR to create a motion sensor. The sensor I used was a HC-SR501, a cheap and...