Turn on a Group for a certain time
Posted: Thursday 26 March 2020 22:48
Hi,
I have a blockly script which turns on a Group of bulbs for 2 minutes, when an Security Door switch "Schuurdeur" is set to "Alarm" and the time is before sunrise or after sunset. But in blockly it is not possible to turn a group on for a certain amount of time. Therefor I have to use a second blockly script where a virtual switch triggers the group on/off. This Virtual Switch "Tuin Tijdelijk" is used in the first blockly script (see picture below) to turn on for 2 minutes.
Is it possible to create this flow in dzVents with a group which is turned on for 2 minutes?
Then I don't need the virtual switch plus the blockly script which triggers the group
I have a blockly script which turns on a Group of bulbs for 2 minutes, when an Security Door switch "Schuurdeur" is set to "Alarm" and the time is before sunrise or after sunset. But in blockly it is not possible to turn a group on for a certain amount of time. Therefor I have to use a second blockly script where a virtual switch triggers the group on/off. This Virtual Switch "Tuin Tijdelijk" is used in the first blockly script (see picture below) to turn on for 2 minutes.
Is it possible to create this flow in dzVents with a group which is turned on for 2 minutes?
Then I don't need the virtual switch plus the blockly script which triggers the group