Sunrise/Sunset offset

Posted on
Sat Aug 08, 2015 9:44 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Sunrise/Sunset offset

Just to add to your exceptionally long wish list, It'd be great if you could set an offset for the isDark variable, as in be able to set it to true an hour before the scheduled sunset that day.

Computer says no.

Posted on
Sat Aug 08, 2015 2:26 pm
CraigM offline
Posts: 587
Joined: Oct 28, 2007

Re: Sunrise/Sunset offset

+1000, I think it's been on "the list" for years

Posted on
Sat Aug 08, 2015 5:04 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Sunrise/Sunset offset

Yeah may well have been, couldn't see it listed for a while but figured didn't hurt to ask again. Although at Indigo HQ I have images in my mind of them doing a monthly sacrifice to the Domotica Gods of certain wish list items.. Promises to the deity to never implement them and in return be rewarded with code that compiles first time :D


Sent from my iPad using Tapatalk

Computer says no.

Posted on
Sun Aug 09, 2015 4:35 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Sunrise/Sunset offset

Create schedules that execute at sunrise/sunset and include the desired offsets, and have the schedules set a different variable to true/false. Then use that variable instead of the isDaylight variable...

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat Aug 15, 2015 4:23 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: Sunrise/Sunset offset

Indeed that's the way i'm doing it now.. it's just not as.. elegant. :)

Computer says no.

Posted on
Sat Aug 15, 2015 2:15 pm
CraigM offline
Posts: 587
Joined: Oct 28, 2007

Re: Sunrise/Sunset offset

I agree

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests