Firmware for the SonOff S20 (ESP8266) with Homie 3.0.1(develop-3) and OneButton and switched off LED (relay led is not switchable)
Homie: https://github.com/homieiot/homie-esp8266/tree/develop-v3 OneButton: https://github.com/mathertel/OneButton
A Click switches the relay on/off A Doubleclick reboots the sonoff A Click and Hold/Press of 10 seconds deletes the config from homie and starts configmode