ouimeaux 0.5.1 released: Fuzzy device matching, bug fixes

Several new features making it easier to use, as well as a lot of bug fixes. Full list here. Included:

  • wemo status/wemo switch status : Prints the current on/off status of all switches or specific switches in your environment.
  • Fuzzy device name matching: You can now use fuzzy matching on the command line so you don't have to preconfigure aliases. For example, wemo switch tvrm on will work as well as wemo switch "TV Room" on .
The command-line help is also much more complete. Check it out!
ouimeaux on GitHub
ouimeaux on PyPI


10 comments

  • Unknown  
    November 18, 2013 at 10:30 PM

    >>> def on_motion(value):
    ... print "Motion detected!"
    ...
    >>> env.get_motion('Front Hallway').register_listeners(on_motion)
    >>> env.wait()

    Your example for motion register is there one for power point switch one? as i can't seem to get it to work!

  • Anonymous  
    January 4, 2014 at 4:37 PM

    trying to run wemo as cron job;

    lots of errors / permission problems etc
    if I run it as user

    If I run as root, I get:

    No device found with that name.

    in cron's email

    I can use wemo from the command line
    as either root or user

    any help on this would be appreciate because
    the android app is crap

  • Anonymous  
    January 5, 2014 at 1:39 AM

    good work, very nice. thanks!

  • Joe Stock  
    February 16, 2014 at 9:03 PM

    I am not sure if this is because of the recent firmware updates, but I don't believe the GetPower functions that you have added for the WeMo Insight are working. When I did the command:

    switch.insight.GetPower()

    I receive a response of

    {'faultcode': 's:Client', ''faultstring': 'UPnPError', 'detail': '\n'}

    This was very close to the results that I was getting while trying to query those actions. I have since had success accessing that information which I detail on my site:

    http://home.stockmopar.com/wemo-insight-hacking/

  • Anonymous  
    June 23, 2014 at 6:31 AM

    I want to make a simple python file, that when executed, turns my wemo, which is called WEMO1, off.

    Can someone please post an example python script file that contains the code?

  • Anonymous  
    June 23, 2014 at 6:36 AM

    ^^ Just to give a little more info, i have installed the ouimeaux python lib on my Ubuntu setup. When i run simple wemo commands from terminal they work.

    What i want to do now is make a separate python file so that i can execute it to perform simple commands, like turn off lights, and turn on lights. I assume you need to do some import command to tell python what module to use, but i'm a bit lost with all of this. If someone could post the python file code which allows me to perform simple commands like turn wemo switch on and off i would really, really appreciate it.

    Thankyou

  • Ian McCracken  
    June 24, 2014 at 4:10 PM

    Well, "wemo" is a command-line script, not a Python object.

    You want to look here: http://ouimeaux.readthedocs.org/en/latest/api.html#environment

    Once you have a handle on a switch, you can just run switch.toggle() or switch.on().

  • Unknown  
    July 3, 2014 at 10:27 AM

    Is there any way to run this module on Android? I tried to execute it, but there are some dependencies with gevent that make it crash.

  • Simon  
    July 16, 2014 at 5:49 AM

    Worked out the box. Thanks for the brilliant API!

    I'm using it as part of a HomeBrew kit. I have a Raspberry Pi monitoring the temperature, which in turn switches on and off an Electric HeatPad.

  • Anonymous  
    June 16, 2023 at 9:10 AM

    Hi.

    Thank you for sharing this information. This information was so useful to us, about Fuzzy device and it features ouimeaux 0.5.1 this information was helpful to us.

    Here is sharing some Talend Big Data information may be its helpful to you.

    Talend Big Data Training

Post a Comment