I managed to figure out the pinout of the non-standard esp8266 module in a EcoPlug switch from home depot. The plugs only worked with the EcoPlugs app by default. In order to use them with my home automation system I ended up tearing it open and reflashing my own firmware. Good thing too; packet captures show this thing sends your SSID and PW to an external server in plaintext!
My how-to is here:
https://www.youtube.com/watch?v=8CsT6csr7v4
The pinout and link to the software are available here:
http://thegreatgeekery.blogspot.ca/2016/02/ecoplug-wifi-switch-hacking.html
Scott