Page 1 of 1

Blockly keeps looping every 1 minute

Posted: Monday 23 April 2018 12:03
by PBoomhut
Image
https://1drv.ms/u/s!AtdsonugPfA6gaF3wMiBWirPCMXOBA

When one off the lights is Turning to ON, blockly keep sending every 1 minute an OFF signal :to the CCTV cam .
What's the cause of this problem?

Thx

Re: Blockey keeps looping every 1 minute

Posted: Monday 23 April 2018 12:25
by SweetPants
Waht blockly type did you choose? (All, Device, Security, Time or Uservariable)

Re: Blockey keeps looping every 1 minute

Posted: Monday 23 April 2018 23:00
by PBoomhut
All.
Does that matter?

Re: Blockey keeps looping every 1 minute

Posted: Tuesday 24 April 2018 1:26
by sion
If you have it set to All, it includes time, so the script is checked every minuet. So it will trigger every min while allconditions are met.
If you change it to device - it will only trigger when one of the devices changes state - and your time conditions are met.

Re: Blockey keeps looping every 1 minute

Posted: Tuesday 24 April 2018 7:41
by SweetPants
PBoomhut wrote: Monday 23 April 2018 23:00 All.
Does that matter?
Yes, see comment of sion

Re: Blockey keeps looping every 1 minute

Posted: Tuesday 24 April 2018 8:26
by PBoomhut
Thank You! , Sion and Sweetpants.

It Works!