enable blocky with push button

Moderator: leecollings

Post Reply
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

enable blocky with push button

Post 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?
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: enable blocky with push button

Post by Lebo2d9 »

You can alway add an "and switch is on" in your if statement
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest