Open source firmware for ESP8266 WiFi smart plugs such as this one from Banggood.
- Web UI
- MQTT
The Banggood SmartPlug has a 40mhz crystal so needs a special version of the ESP8266 Arduino core.
platformio platform install https://github.com/jeremypoulter/platform-espressif8266.git#feature/40mhz