Reprogramming a $13 consumer wifi-enabled outlet
This looks quite similar to the Sonoff S20. [1] Although they opted for the ESP module instead of designing a custom PCB around the ESP8266 chip as Sonoff does.According to the S20 schematic, uart is routed to a header, so it should be easier to flash. [2]The Sonoff S20 is the same price as the mentioned model, and is supported by espurna. [3] Espurna is great, it has MQTT, Domoticz, Home Assistant, an HTTP API, and Alexa integration. Espurna also supports sending data directly to InfluxDB which is very handy.If you want to monitor power consumption as well, I can highly recommend the Sonoff POW. [4] Although to get a plug you will need to butcher an extension cable or power strip. If you only want to monitor power consumption and don't want to have the relay, it's quite easy to solder across the relay in the Sonoff POW and use it only as a power monitoring device.Just a reminder to anyone working with these devices: never, ever connect UART while the device is plugged into AC!![1] https://www.itead.cc/smart-socket.html[2] https://www.itead.cc/wiki/S20_Smart_Socket[3] https://bitbucket.org/xoseperez/espurna/wiki/Hardware.md[4] https://www.itead.cc/sonoff-pow.html