how to get Sunset -15 mins and Sunrise +15 mins as condition

Posted on
Wed Sep 18, 2019 5:06 am
anupchavda offline
Posts: 23
Joined: Jul 27, 2019

how to get Sunset -15 mins and Sunrise +15 mins as condition

Hi

I'm struggling with this one and i know its probably something basic.

Basically i have:

Porch Door Sensor
Front Door Sensor
Porch Light

I want to Turn on the Porch Light when EITHER of the door sensors is tripped(or set to open) for 10 mins. but i only want this to happen during the timeframe of Sunset -15mins and Sunrise +15 mins (to account for dusk and dawn).

When i try to do this as a Trigger, the Conditions do not let me set the Sunset/Sunrise elements. I only have "Dark" and "Daylight" conditions, and i cannot select a schedule (i created a schedule called Sunrise and offset by 15 mins and the same for Sunset.

what am i doing wrong??

Thanks for any feedback!

Posted on
Wed Sep 18, 2019 6:04 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: how to get Sunset -15 mins and Sunrise +15 mins as condi

Use your two scheduled events to set a variable (darkEnough) to true/false. Then use darkEnough as a condition in the trigger.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Sep 22, 2019 4:50 am
anupchavda offline
Posts: 23
Joined: Jul 27, 2019

Re: how to get Sunset -15 mins and Sunrise +15 mins as condi

THANK YOU SO MUCH!!!

I'm relatively new to Indigo (i've been using VERA PLUS for the last 4 years) so there are small differences to achieve what was fairly simple in Vera.

Thanks

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron