Prototype wrapup #34

Last time I did some home automation prototypes, and this week was more practical stuff. It's quite nice to mess around with code that solves an actual problem you have.

Monday

I wanted to make something that could connect to my router and tell me its bandwidth usage. The router doesn't support UPnP (the way I would normally do this) but it does use some silly SOAP-based API called HNAP. The whole thing was pretty impenetrable until I found a related library for HNAP-controlled smart plugs. At that point I managed to get it working well enough to restart the router and called it a day. Later on I discovered I could enable UPnP on the router and expunged HNAP from my memory entirely.