Use Homie Firmware to Drive Sonoff Switch Module (ESP8266 Based): This is a followup instructable, I've written this one a bit after "Building Homie Devices for IoT or Home Automation". The later was focusing on basic monitoring (DHT22, DS18B20, light) around D1 Mini boards. This time, I'd like to show how to add …