Page 1 of 1
ouimeaux for wemo switch
Posted: Friday 25 December 2015 3:43
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
Re: ouimeaux for wemo switch
Posted: Friday 25 December 2015 18:24
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