Alarm Engine Support Forum Dark outside

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8472
    Keith Belt

      There is a rules conditon available for “dark outside” or some similar verbage. How exactly is that calulated?  The system has no photoeyes, so I assume its calculated from location and local sunrise\sunset data, but what exactly does it mean?

      #8474
      Michael Burrell

        Correct. When you set the time and date in the system settings of the control panel, you are also setting the specific longitude and latitude. We use this information, along with GMT time, to calculate sunrise and sunset. This allows the control panel to determine if it is dark outside or when the sun rises and sets. Use data similar to what’s provided on this website to calculate it:

        Sunrise and Sunset for Hickory, NC.

        As long as the control panel is set to the correct location, it can accurately tell when it is dark outside.

        This is useful for lighting or safety-related rules. For example:

        WHENEVER any area ARM STATUS IS DISARMED by any user
        IF IT IS DARK OUTSIDE
        THEN TURN ON the garage lights FOR 500 SECONDS.

        I want to note that we are currently working on a bug related to the “Before Sunrise / After Sunrise” and “Before Sunset / After Sunset” rules. Originally, the configuration required entering a negative value to activate the rule before sunrise or sunset. However, we have since removed the ability to input negative values, as it was causing issues. As a result, the “before” part of this rule is not functioning at the moment, while the “after” part works as intended.

        We will be updating the editor to separate these into two distinct rules for clarity. It will display as “Minutes before Sunrise” and “Minutes after Sunrise.” You will always enter a positive value, allowing the system to handle it properly. The same update will apply to the Sunset rule.

        #8503
        Keith Belt

          So are you saying that “dark outside” is just strictly “after sunset”?  Its not really an estimation of when its actually past twilight, like “sunset+30min” (since its still fairly light out for maybe another half hour after sunset).

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.
        Scroll to Top