Announcement

Collapse
No announcement yet.

After sunset but before...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    After sunset but before...

    I have this trigger which is running in the morning, but not in evening. Sunset shows as correct time.

    Have I misunderstood logic? I read that this should trigger between sunset and midnight
    IF Dimmer Garage Eaves Front Home Security 3- Front changes and becomes No Event
    AND IF System System Automation has a value equal to On
    AND IF The time is after sunset, but before 00:00
    OR IF Contact Garage Door Sensor Binary changes and becomes Off-Closed-No Motion
    AND IF System System Automation has a value equal to On
    AND IF The time is before sunrise, but after 00:00
    Then Remove Delayed Device Actions for: Dimmer Garage Eaves Front Switch Multilevel 1
    Then
    Set Device Dimmer Garage Eaves Front Switch Multilevel 1 to 10%
    after a delay of 2 Minutes, 0 Seconds

    #2
    Instead of 00:00, set the 2nd AND IF to 23:59.
    -Wade

    Comment


      #3
      Actually, you don't need the time at all. "After Sunset" Or "Before Sunrise" is sufficient.

      "After Sunset" is defined as any time from Sunset to midnight.
      Likewise "Before Sunrise" is any time after midnight to Sunrise.
      Real courage is not securing your Wi-Fi network.

      Comment


        #4
        Very good point. Thanks for the correction.
        -Wade

        Comment


          #5
          Thanks both...corrected to 23:59 and works, but I’ll refine.

          OCD was nagging at what would happen if trigger came in at 23:59:30!

          Comment


            #6
            That confused me.. there is no basic “the time is after sunset” after and if- only comes up if it’s the first condition!

            Will rebuild when on PC...never managed to drag reorder on iPad.

            Comment


              #7
              Originally posted by chrisgla View Post
              That confused me.. there is no basic “the time is after sunset” after and if- only comes up if it’s the first condition!

              Will rebuild when on PC...never managed to drag reorder on iPad.
              It does appear that there's no condition The time is after sunset. You'll have to stay with after sunset but before 11:59pm. Or else perhaps try EasyTrigger's scheduling feature.

              Click image for larger version

Name:	Annotation 2019-10-18 181858.jpg
Views:	334
Size:	91.8 KB
ID:	1334059
              -Wade

              Comment


                #8
                The after sunset trigger is available and in the image provided by cc4005. It is poor English. "The time is this after sunset" and is 2 options above what is selected in the image.
                Karl S
                HS4Pro on Windows 10
                1070 Devices
                56 Z-Wave Nodes
                104 Events
                HSTouch Clients: 3 Android, 1 iOS
                Google Home: 3 Mini units, 1 Pair Audios, 2 Displays

                Comment


                  #9
                  Originally posted by ksum View Post
                  The after sunset trigger is available and in the image provided by cc4005. It is poor English. "The time is this after sunset" and is 2 options above what is selected in the image.
                  You can use those. The "this" in both cases would be 0 hours. 0 minutes, 0 seconds, and your event will trigger any time after sunset to midnight, and any time from midnight to sunrise.

                  The Is Nighttime trigger would take the place of both as it would trigger any time from Sunset to Sunrise..
                  No need to over complicate things.
                  Real courage is not securing your Wi-Fi network.

                  Comment


                    #10
                    Sound like the "after sunset before this " and "after this before sunset" are best for what I'm trying to do.

                    I have three events:-
                    - lights go bright on motion detection at night
                    - 2 minutes after motion stops and before midnight, they dim to 10% for ambience.
                    - 2 minutes after motion stops and after midnight I just switch them off.

                    Now working and I understand the conditions a bit more- thanks!

                    Comment

                    Working...
                    X