ouimeaux for wemo switch

All kinds of 'OS' scripts

Moderator: leecollings

Post Reply
TomC
Posts: 3
Joined: Thursday 24 December 2015 19:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

ouimeaux for wemo switch

Post by TomC »

I have installed ouimeaux and I have written two scripts. One will turn my lamp on and the other will turn it off. I have also set up a dummy switch and now I want to link the scripts to the on and off scripts. Not sure of the correct syntax to use in the two boxes to link them. Can someone help please. Thanks
TomC
Posts: 3
Joined: Thursday 24 December 2015 19:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: ouimeaux for wemo switch

Post by TomC »

Well I now can answer my own question. I found the syntax in another set-up. It was in the limitlees set-up. When you link a script to a switch you have to go to the link boxes in the edit portion of the switch and set a link to the on script and one to the off script. The syntax is in my case was: script:///home/pi/domoticz/scripts/wemo/wemo_on.sh .

My script is in the wemo folder under the scripts folder.

Hope this may help others.

Thanks

Tom C
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest