• Stars
    star
    162
  • Rank 232,284 (Top 5 %)
  • Language
    Python
  • License
    Other
  • Created over 12 years ago
  • Updated almost 12 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

wemo Proof of Concept. Should be used as a starting point for your own UPnP WeMo hacking

WeMo Hacking

I've spent some time reverse engineering my WeMo switch. It's pretty cool and I figured out how to get it to do what I wanted. It's based on UPnP, which I found the miranda tool to be the best (closest to working with WeMo, and easiest to read)

I had to make some modifications to the miranda package to get it working, and to get it properly reporting the details of the device.

To use, download, cd into the wemo folder and open a python intepreter:

$ python
>>> from wemo import on, off, get
Entering discovery mode for 'upnp:rootdevice', Ctl+C to stop...

Error updating command completer structure; some command completion features might not work...
Error updating command completer structure; some command completion features might not work...
****************************************************************
SSDP reply message from 192.168.1.133:49153
XML file is located at http://192.168.1.133:49153/setup.xml
Device is running Linux/2.6.21, UPnP/1.0, Portable SDK for UPnP devices/1.6.6
****************************************************************

Discover mode halted...
>>> get()
True
>>> on()
True
>>> off()
True
>>> get()
False
>>> on()
True
>>>

More Repositories

1

python-hue

Python client for Philips Hue -- determined via API reverse engineering
Python
152
star
2

Consuming-Web-APIs-with-Python-Talk

Corresponding Code for my Talk on 7/30 @ PyOhio
JavaScript
26
star
3

django-improved-inlines

Inline object rendering for django, based on django-basic-apps + filters + templates
Python
22
star
4

sc2tourney

Starcraft 2 Tournament Application in a Django App
Python
19
star
5

Building-Web-APIs-for-Django-with-Tastypie-Talk

Issac Kelly - DjangoCon US 2011
JavaScript
18
star
6

django-redis-analytics

0.0 version of django + redis analytics package:: was primarily a learning project for redis and django middleware, it could use some love.
JavaScript
12
star
7

static-site-cms

Static/Dynamic site combination. Flat files, Client side routing and rendering. That's it.
JavaScript
6
star
8

django-qimg

Create Arbitrary Sized Images for quick Wireframes from a simple url. Images can have arbitrary text, and you can use any opentype or truetype font. Text auto-resizes to fit in image.
Python
5
star
9

github-issues-dashboard

Very Much a work in progress github issues dashboard
JavaScript
4
star
10

django-boxoffice

event ticketing app
Python
4
star
11

cohpy2011

Re-doing the cohpy website. Adding a library module to record who has the books (and keep reviews/lists of who has read it) I'm giving a talk on 1/31 over how it got built.
Python
4
star
12

Teaching-Django-to-Comrades-Talk

Issac Kelly - DjangoCon US 2011
JavaScript
2
star
13

oor-javascript

[Alpha] Open Object Recognition for capacitive touch surfaces. Javascript implementation.
Eagle
2
star
14

Creating-Web-APIs-that-are-a-Joy-To-Use

Talk at PyOhio 2011
Python
2
star
15

proposed-pinax-wiki-project

Proposed starter project for Pinax Wiki
Python
1
star
16

murphy

Test on my musichackday repo
1
star
17

luna

Luna is a personal project to manage family photos
Python
1
star
18

shelves

Jupyter Notebook
1
star
19

vaxt

Timescaledb Toy
Python
1
star
20

fireflies

Hardware and Software files for a battery powered Arduino compatible board for lighting art
Eagle
1
star
21

influx_migrations

Python
1
star
22

snowwhite

Nonsense Project, experimenting with FadeCandy, OpenCV/SimpleCV, and some other toys.
Python
1
star