Choose style:

Author Topic: Duration in Rules... New to home automation  (Read 4066 times)

0 Members and 1 Guest are viewing this topic.

Offline tvpccr

  • Peanut
  • **
  • Posts: 16
  • Thanks: 0
  • Registered : 09/09/2016
    YearsYearsYearsYearsYearsYearsYearsYears
Duration in Rules... New to home automation
« on: January 22, 2017, 10:27:03 pm »
OK Day one with the A3s and playing with the rules for the HA stuff...

perhaps I am thinking about the whole thing incorrectly, but I was trying to set-up a rule where if I triggered X motion sensor, between 12am and 5am, I would be able to have A, B, C, and D lights go on for 5 minutes, then return to their previous state. Essentially light my path between my room, down the stairs, and into the 1st level Kitchen and Patio area.

Am I missing something? or Would I need multiple sensors and multiple rules to do this? Is there a way to return lights to their previous state?

Any help would be appreciated, and before I get lambasted for being green- other than Philips Hue, today is my first day with ANY HA stuff.

Thanks in advance,
Keith

Offline fillibar

  • Backer
  • *
  • Posts: 2060
  • Thanks: 4
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Duration in Rules... New to home automation
« Reply #1 on: January 22, 2017, 10:57:00 pm »
Some devices are able to be toggled, but not that many and usually not lights. That said, at the simplest you might want:
IF Time between 12am and 5am AND X motion THEN Light A On AND Light B On AND Light C On AND Light D On AND Delay 5 min Light D Off AND Light C Off AND Light B Off AND Light A Off

That would let you walk through and give you 5 minutes before the lights turn back off. Of course you could put additional delays between the off times so they have a little pause going back instead of all of them off.
Almond 3 mesh handling the home.

Offline tvpccr

  • Peanut
  • **
  • Posts: 16
  • Thanks: 0
  • Registered : 09/09/2016
    YearsYearsYearsYearsYearsYearsYearsYears
Re: Duration in Rules... New to home automation
« Reply #2 on: January 23, 2017, 07:50:25 am »
Yes, Fillibar, that is what I think I need...

Now the newbie question; how do I set the rule set "AND delay"

Thanks

Offline mparadis

  • Backer
  • *
  • Posts: 1765
  • Thanks: 3
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Duration in Rules... New to home automation
« Reply #3 on: January 23, 2017, 09:24:31 am »
When you add the action to the rule, there will be an option to adjust the time automatically placed in front of it. Play around with the rules a bit and you will see what I mean if I'm not clear.  :P

Offline fillibar

  • Backer
  • *
  • Posts: 2060
  • Thanks: 4
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Duration in Rules... New to home automation
« Reply #4 on: January 23, 2017, 02:05:44 pm »
As mparadis mentioned. Note, you would only want the delay once as it is acted on in sequence.
Ex:
Delay 5 min Light A Off and Light B Off
This means it will wait 5 minutes then turn Light A Off then immediately turn Light B Off

Delay 5 min Light A Off and Delay 5 min Light B Off
This means it will wait 5 minutes then turn Light A Off then wait 5 minutes then turn Light B Off
Almond 3 mesh handling the home.

 

Page created in 0.07 seconds with 21 queries.