In response to a couple of tickets, I've released ouimeaux 0.3. It includes some bug fixes and a few nice features:
Discovery results are now cached on the filesystem, so command-line operations will be much faster to initialize. The cache can be disabled with the
AliasesSome device names are long or contain spaces, which makes using them on the command line unwieldy. You can now define aliases that make that easier to deal with. For example, you can alias "TV Room" to "tv" allowing you to run
wemo switch tv on.
Discovery Response Server Binding
The UDP server that listens for responses to the UPnP broadcast can now be configured to bind to a specific IP and port.
You can configure all of the above by modifying
~/.wemo/config.yml. It's fairly self-explanatory.
Tiny feature: You can now pass "toggle" as well as "on" or "off" as a
wemo switch command.
pip install or fork at will, and let me know how it goes.