FANDOM


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. :)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.