So I started with the WeMo API hacking trying to access the wemo with python. The wemo is using a virtual AP without password protection through DD-WRT. I started with the example code here: http://www.issackelly.com/blog/2012/08/04/wemo-api-hacking/
This code work by searching all the wemo in the network and users can connect to it manually, I have taken out the search part and re-coded it so that it can connect to a specufic wemo giving the ip.
It now work with the command:
from wemo import start, get, on, off start('<ip>') //Connect to the WeMo with a given IP get() //Get the status on() or off() //Turn on or off the device
So hopefully the wemo code will fit in well. :)