Page 1 of 1

Update all devices from URL Syntax

Posted: 01 Aug 2014 00:02
by n4zg
Hi im trying to update all sensors from a webpage, in similar way to the expert UI button, anyone know the syntax for this ..

thanks

Re: Update all devices from URL Syntax

Posted: 02 Aug 2014 02:36
by islipfd19
I've been working on something similar. I'm actually trying to modify the SensorPolling module so that it polls devices instead but I'm unable to figure out the proper API syntax or the basic commands I've seen in other modules. It does something but nothing at all.

Re: Update all devices from URL Syntax

Posted: 02 Aug 2014 15:20
by islipfd19
I wasn't able to figure out the URL syntax but I finally got the js syntax at the API level to work. I'll be placing a new module names SwitchPolling in the Recipes forum. Keep an eye out for it.

Here's the link to get the module. viewtopic.php?f=3424&t=20588