Page 1 of 1

Help with this blocky

Posted: Thursday 12 April 2018 21:02
by astrapowerrr
Hi

Can someone help me with this one.
I get in a loop with this blocky.
I would like that if my (ramen open)curtain closes(off) and when I am at home(iemand thuis)it triggers to set my scene (thuiskomst) all my lights on.

I created a virtual switch called “ramen open” and that is coupled in a scene where it closes three curtains in one time and also set the switch “ramen open” to off.
(maybe the virtual switch is not necessary at all and can I just switch scenes with variables.)

But this works... ;)

But when I use the scene go to bed(switch all lights off) it gets in a loop
Because there still someone home and curtains stay closed.

So I tried something with variables but with no succes.
Not enough experience to figure this out.

Any hints are welcome

I thought to switch a variable for maybe 10 sec and then it give green light to stop listing to the made blocky.... :roll: :roll: :roll: :roll: :roll:

Re: Help with this blocky

Posted: Friday 13 April 2018 6:56
by niki_lauda
Create a dummy variable go to bed.
Check in your blockly if it is on or off.