I’m having a great deal of trouble getting my Wemo lights and switches to automatically turn off after a given amount of time, using the Expire binding. I have a feeling the problem is that the Wemo binding is a 2.0 binding but Expire is an old fashioned 1.x binding.
Given these auto-discovered things:
a wemo switch : wemo:socket:Socket-1_0-221402K1100XXX
a wemo link lightbulb: wemo:MZ100:Bridge-1_0-231518B0100683:94103EA2B277XXXX
How do I create timer switch items for those things, binding them to Expire? The switches need to be turned on by rules, and automatically turn themselves off. My latest effort looks like:
But Sending the command ON or OFF to the timer switches has no effect. For instance Switch_Timer.sendCommand(ON) does nothing when I expect it to turn on the Wemo switch.
Thanks. It’s still not clear to me what I should do.
Are you saying I should use the Belkin Wemo Binding rather than the Wemo binding?
Does that mean I can’t use autodiscovery of the things, but have to manually define the things, and then define the items using the names I created in the things file?
An example of how to do it, based on the things I have listed, would be very helpful!
OK, I figured it out. Using Belkin Wemo bindings was the trick, as suggested.
For anyone who finds this, this is what I did:
I used a wemo.things file to give my things meaningful names (in my case Sherlock for the socket, Main for the lighting bridge and Bookshelf for the lightglobe in question):