Execute code device every ten minutes

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
nic_rt
Posts: 30
Joined: 26 Sep 2015 15:00

Execute code device every ten minutes

Post 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.
Nick


Raspberry + Razberry + FGS221 x 4 + FGRM 222 + Aeon Labs Micro Motor Controller + FGK 101 + Z-Wave Aeotec Smart Plug-in Switch GEN5 + Minimote + Aeotec KeyFob + Greenwave Smart Power Node x 2
jensmoes
Posts: 57
Joined: 10 Jan 2015 21:48
Location: San Diego
Contact:

Re: Execute code device every ten minutes

Post 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.
nic_rt
Posts: 30
Joined: 26 Sep 2015 15:00

Re: Execute code device every ten minutes

Post 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:
Nick


Raspberry + Razberry + FGS221 x 4 + FGRM 222 + Aeon Labs Micro Motor Controller + FGK 101 + Z-Wave Aeotec Smart Plug-in Switch GEN5 + Minimote + Aeotec KeyFob + Greenwave Smart Power Node x 2
michap
Posts: 442
Joined: 26 Mar 2013 10:35
Contact:

Re: Execute code device every ten minutes

Post by michap »

Check the App "Poll sensors and log values periodically"

I think here you can add your code device.

Michael
jensmoes
Posts: 57
Joined: 10 Jan 2015 21:48
Location: San Diego
Contact:

Re: Execute code device every ten minutes

Post 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
nic_rt
Posts: 30
Joined: 26 Sep 2015 15:00

Re: Execute code device every ten minutes

Post by nic_rt »

Yes you are right : Many thanks. I missed that ! :D
Working now exactly like I was expecting !
Nick


Raspberry + Razberry + FGS221 x 4 + FGRM 222 + Aeon Labs Micro Motor Controller + FGK 101 + Z-Wave Aeotec Smart Plug-in Switch GEN5 + Minimote + Aeotec KeyFob + Greenwave Smart Power Node x 2
Post Reply