Page 1 of 1

enable blocky with push button

Posted: Friday 12 April 2019 0:04
by Gianni
hello

i made a blocky
if time > 23.00 or time < 06.00 and frontdoor = open
set scene all = on
This scene enable all the lights in the house and triggered a alarm

now i want to enabled this blocky with a switch button.
i want to remove the time slot from the blocky and just enable the blocky when i hit the switch button.
So then when i leave the house or go to sleep i hit the button and it's enabled the blocky.
And i need to disable the blocky whith a delay of 10 sec to disable when i wake up in the morning or got back home.
Is this possible?

Re: enable blocky with push button

Posted: Friday 12 April 2019 7:16
by Lebo2d9
You can alway add an "and switch is on" in your if statement