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 app-centric ...
I'm Issac Kelly. I like to build things, with software and hardware. By day I do that at Nonchalance in San Francisco. I like to teach people, but mostly about the things I'm interested in. I'm currently a mentor at Hackbright Academy. I'm building open source automation, albeit slowly at Plum Garage.
If you want to know when I write, you should give me your email address, or if rss is your thing, subscribe