steves wrote:I had a similar problem with the ESP-01 module: with no load attached to the relay it worked fine, but with any load (even 5W) the ESP would reset itself more often than not.
I solved the problem with a 10n capacitor soldered directly to the Vcc and GND pins - seems that the module has no bypass capacitor installed. I also added 10k and 100n on RST line, but I'm pretty sure that it was the 10n that solved it. It has worked 100% reliably ever since.
Anyway, I just put a full writeup of the project up on my blog http://telecnatron.com/articles/ESP8266-WIFI-Remote-Controlled-Mains-Switch/index.html, which you may find useful.
Can you upload your ESP-01 Images with the caps and stuff soldered ?