https://www.itead.cc/smart-home/sonoff- ... witch.html
Works great. Will play with code a bit and post more data.
Relay is on gpio 12, and green led is on gpio 13. - This unit does not have the RF control with key fob, but for $5, you CAN NOT BEAT THIS!!!! Has nice little power supply for AC and relay control.
Might have to flash the led to spit out the ip address once connected to your network, or something.... or just leave it as AP.