System variables "dark" and "isdaylight"

Posted on
Fri Dec 20, 2019 8:44 pm
mintzps offline
Posts: 26
Joined: Apr 13, 2010

System variables "dark" and "isdaylight"

I am trying to find how the system variables "dark" and "isdaylight" are defined. Is there a place in the documentation where this is described? When does "dark" become true?

Posted on
Sat Dec 21, 2019 1:55 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: System variables "dark" and "isdaylight"

It is determined by the sunrise / sunset times at your location.

At sunrise, it becomes isdaylight and at sunset it becomes dark.

Check the Sunset & Sunrise tab in the main Indigo Preferences... menu. :)

Posted on
Sat Dec 21, 2019 7:42 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: System variables "dark" and "isdaylight"

"isDaylight" is a system variable. "dark" is not.

"isDaylight" is set as autolog says. Based on your location.

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

Posted on
Sat Dec 21, 2019 4:03 pm
mintzps offline
Posts: 26
Joined: Apr 13, 2010

Re: System variables "dark" and "isdaylight"

"dark" is a "condition" that can be used in the logic. Does "dark" become true at sunset?

Posted on
Sat Dec 21, 2019 4:05 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: System variables "dark" and "isdaylight"

mintzps wrote:
"dark" is a "condition" that can be used in the logic. Does "dark" become true at sunset?


I forgot about the condition. Yes, the condition changes when the variable changes, at sunset.

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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests

cron