ouimeaux 0.2 released: Now with Motion events!
written by Ian McCracken
at Monday, April 22, 2013
Finally had a chance to fire up Wireshark and figure out how WeMo Motions and Switches talk to each other. I've worked the results of my discovery into ouimeaux 0.2. Now you can register callbacks to be notified whenever a Motion or Switch changes state (i.e., when motion is detected or a switch is switched). I also cleaned up a few bugs with the UDP server, so you should be able to discover periodically now without it throwing an error.
https://pypi.python.org/pypi/ouimeaux/0.2
https://github.com/iancmcc/ouimeaux
May 24, 2013 at 12:35 PM
Hi,
thank you for the great tool! Unfortunately, since I am having two network interfaces I am not able to find my switch anymore. Is there a chance to specify a network interface on which to listen for the packets?
May 24, 2013 at 4:41 PM
Thanks! Yes, I'll probably add that feature this weekend.
May 25, 2013 at 3:57 PM
..and DONE. See release 0.3: http://goo.gl/QKqLC
May 30, 2013 at 1:07 AM
Any chance of this working on Android with SL4A? I would love to be able to control my switches witih Tasker!