Page 1 of 1

Execute code device every ten minutes

Posted: 26 Sep 2015 15:30
by nic_rt
Dear all,
I've one "code device" I would like to execute every 10 minutes. I planned to use scheduledscene to do it but I didn't manage to obtain this behaviour. :oops:
Any help / advise will be welcome.

Many thanks.

Re: Execute code device every ten minutes

Posted: 07 Oct 2015 17:58
by jensmoes
There should be a field titled: "Interval in seconds between polling requests" in the code device itself where you can specify that (600). I use it for my garage door opener and if works OK there.
Forgot to add: Then you should be able to sneak in the code you want executed in the "Code to get value" field, as long as it still returns a meaningful value at the end.

Re: Execute code device every ten minutes

Posted: 17 Oct 2015 15:22
by nic_rt
Thanks for your answer. However I don't have the field "Interval in seconds between polling requests" in my code device ... :cry:

Re: Execute code device every ten minutes

Posted: 17 Oct 2015 18:31
by michap
Check the App "Poll sensors and log values periodically"

I think here you can add your code device.

Michael

Re: Execute code device every ten minutes

Posted: 18 Oct 2015 19:25
by jensmoes
nic_rt wrote:Thanks for your answer. However I don't have the field "Interval in seconds between polling requests" in my code device ... :cry:
It should appear once you select the type of device to be anything else but the default toggleButton

Re: Execute code device every ten minutes

Posted: 19 Oct 2015 15:59
by nic_rt
Yes you are right : Many thanks. I missed that ! :D
Working now exactly like I was expecting !