WeMo Hacking part two!
In short! It works! miranda, with some tweaks and fixes is a good tool for tinkering with your Belkin WeMo switch with Python. I'd suggest starting with my toolkit here: https://github.com/issackelly/wemo
The WeMo is communicating over pretty standard UPnP, though like anything else, it has some quirks.
It wanted a very specific namespace string for the SOAP envelope that contained a trailing slash and Miranda wasn't sending that.
I also added the same User-Agent that the mobile app uses for the HTTP (via UDP for UPnP) headers, and fixed the ...
I'm working on hacking my wemo. I'd like to determine how it talks back and forth over the network. What I know at this time is that when the mobile app is running both the mobile app and the wemo device are talking over UPnP
I had to turn off UPnP on my router to use the following tools. I determined the protocol was UPnP by jumping onto my DD-WRT router, installing tcpdump and capturing several packet dumps and examining them.
The best thing UPnP analysis tool I found was miranda. You can get it ...
Saturday night we had the first PyCon Starcraft II Tournament. This was a joint effort between myself and Daniel Lindsley, with the help of Christian Metts, the PyCon organizers (Doug Napoleone in particular) and lots of open source software.
16 competitors from unranked through platinum competed for next-to-nothing in prizes.
We ended up writing a bit of custom software to assist. We also started on Tuesday, so it was rougher than I would have liked. It's all up on github.com/issackelly/sc2tourney.
I promised some players that the first matches would be geared to be even. This ...
If you're writing your models with Django and not using migrations, that's crazy.
South and Nashvegas are two options for managing your migrations (really the only two I've ever heard of in practice). I use both, almost daily.
Nashvegas, is far and away the newer and lesser used. It doesn't do backwards migrations at all, and migrations are DB specific (although, much SQL is close enough that you can still use many migrations on other databases). That being said, it does one thing really well that south doesn't touch: your whole project.
South is ...
I'm Issac. I live in Oakland. I make things for fun and money. I use electronics and computers and software. I manage teams and projects top to bottom. I've worked as a consultant, software engineer, hardware designer, artist, technology director and team lead. I do occasional fabrication in wood and plastic and metal. I run a boutique interactive agency with my brother Kasey and a roving cast of experts at Kelly Creative Tech. I was the Director of Technology for Nonchalance during the The Latitude Society project. I was the Lead Web Developer and then Technical Marketing Engineer at Nebula, which made an OpenStack Appliance. I've been building things on the web and in person since leaving Ohio State University's Electrical and Computer engineering program in 2007. Lots of other really dorky things happened to me before that, like dropping out of high school to go to university, getting an Eagle Scout award, and getting 6th in a state-wide algebra competition. I have an affinity for hopscotch.