This page last changed on Oct 23, 2014 by mikecay.

Hi,

I recently installed some Belkin Wemo light switches and configured them by following the instruction from this site.

http://mqlservice.net/openremote/2014/02/08/integrating-belkins-wemo-switch-and-motion-with-openremote/

I can turn my lights on but the sensor does not detect the lights are on so the state does not change to on and therefore I cannot turn them off. It seem the the command that runs the post_get.sh script is not running at the requested polling interval. I know the sctipt works because I can run it manually and I get the expected result and I also put an echo command to write the date and time to a log file. It gets writen when I run the command manually but it never gets writen my the openremote command that I created. Deos anyone know why this command may not be running at the requested polling interval?

Thank you,

Mike

First, after syncing you need to reboot controller as updating shell protocol commands happens only once. So after syncing and not rebooting you have still the old command in action. Secondly, check it the log files if the command is executed.
WeMo sensors works, however the procedure which I gave on my website is not the best. Right now I've installed ouimeaux WeMo server on my eBox and call its REST API through openremote. Works great and is more robust than Belkin's own WeMo apps

Posted by aktur at Oct 24, 2014 10:27

Hi Michal,

Thank you for the help. It turns out I did not have the on and off values in the sensors but the information you provided is still good to know as I was not aware of that. I looked at the ouimeaux Wemo server, very interesting. I'll install is and give it a try. Do you use the JSON or regular query arguments?

Also, are you aware of a simular server or API that can manage TCP Connected led lights? I have found some XML scripts that people use to control the lights but they are not very reliable.

Thank you for all you do.

Mike

Posted by mikecay at Oct 24, 2014 14:07

I just use HTTP GET request with regular expression

"state": (\d+), 

Posted by aktur at Oct 24, 2014 16:16
Document generated by Confluence on Jun 05, 2016 09:39