Arduino smartout can be found at http://www.cutedigi.com/product_info.php?products_id=4295
WiFi shield can be found at
http://www.cutedigi.com/product_info.php?cPath=284&products_id=4237
As some pins of smart outlet and WiFi shields use the same pin. We need to make a pin jumper shield.
Basically, we route smart outlet shields's
D2 to Arduino's D0.
D3 to Arduino's D1.
D4 to Arduino's D3.
D5 to Arduino's D4.
D9 to Arduino's D5.
D11 to Arduino's D6.
D12 to Arduino's D7.
The full assembly is as follows:
The Arduino shetch is can be download here. http://www.cutedigi.com/pub/Arduino/WiFiOutlet/WIFI_SM.pde
We can use the TCP/IP test tool from www.simplecomtools.com to control the WiFi enabled smart outlet.