I was excited to see the dev pads on the Oittm ESP8266 Smart plug. I finally found some time to open this up and hook up the wires. My hopes weren’t too high, but since it’s a rather small brand and the plug is built from the modules I hoped for an easy access to the firmware.
Hacking ESP8266 smart plug
I quickly connected the power wires and tested the unit. It powers up the ESP8266 as expected. It was time to run the Tx and Rx connections. I have used an FTD1232 serial to USB adapter.
I was able to ‘detect’ the chip in the boot stage, but no further communication has been established. It looks like Tx and Rx pins are disabled after that. Here goes my hope for an easy back up of the scripts. That’s the bad news.
The good news is that the pins responsible for flash are available and since the chip has been detected in the boot stage, I don’t expect any problems flashing the standard espressif firmware. I already have a write up about flashing a new firmware from scratch here.
I gonna miss the instant Alexa connectivity (even tho I don’t have Alexa, I used RPI version of it) but I have seen a NodeRED skill. Will it be as responsive as the original setup? I’m sure I will be able to set the timers with NodeRED. The Tasker connectivity is already working for me, therefore, the plug control from the mobile is available.
I guess it’s time to wipe the chip and see what pins are used to drive this ESP8266 smart plug. It will probably take some time to figure out the whole setup. I already have an ESP8266 MQTT environment established, therefore, adding this plug to my existing system shouldn’t be an issue.
I will continue to work on this. Just wanted to share new things with you to keep you updated.Feel free to follow me on social media as it helps me grow, share it, and comment if you need any advice. You can also support me, and fund my projects directly.