Announcement

Collapse
No announcement yet.

Using multiple time conditions with HSM100

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

    Using multiple time conditions with HSM100

    I've run into a wall and need some help - I have an HSM100 in our master bathroom. Before 10 PM, when we walk in and it detects motion, we want the light at 100%. After 10 PM but before 6 AM, when we walk in and it detects motion, we want the light at 20%. Unfortunately, when I apply time conditions, it simply will not Trigger a motion event. Here are my two events:

    Master Bathroom Light - Motion Detected (Normal)
    Device Upstairs Master Bathroom Motion Sensor value becomes equal to Motion
    Time is after 6:00 AM
    AND
    Time is before 10:00 PM
    WHEN
    Everyday

    Device Command: Upstairs Master Bathroom Light above sink Dim to 100%

    Master Bathroom Light - Motion Detected

    Device Upstairs Master Bathroom Motion Sensor value becomes equal to Motion
    Time is after 10:00 PM
    AND
    Time is before 6:00 AM
    WHEN
    Everyday

    Device Command: Upstairs Master Bathroom Light above sink Dim to 20%

    Any thoughts on what I might be doing wrong would be appreciated.

    #2
    It may be that your time condition can't cross midnight. Try changing your second event to use OR instead of AND, meaning: time is between 10pm and midnight OR time is between midnight and 6am:

    Device Upstairs Master Bathroom Motion Sensor value becomes equal to Motion
    Time is after 10:00 PM
    OR
    Time is before 6:00 AM
    WHEN
    Everyday

    Don

    Comment


      #3
      Crossing midnight is problematic at best.

      Add to conditions.. 10-11:59pm and then 12-6am

      Comment


        #4
        Thanks for the info - so, should I be setting up 'or' or 'and' conditions. In other words, should it be 10-11:59 P for group 1 OR 12-6 AM for group 2, or should i just do 10-11:59 AND 12-6 AM for group 1?

        I'm thinking the 'and' for Group 1 should be fine, but just wanting to confirm.

        Comment


          #5
          Originally posted by lawder@mac.com View Post
          In other words, should it be 10-11:59 P for group 1 OR 12-6 AM for group 2
          I think using two groups with "OR" is correct. If you use AND, then you're requiring time to exist both in the range 10-11:59 PM AND in the range 12-6 AM simultaneously.

          Don

          Comment


            #6
            Thanks Don - that's what I concluded as I was setting it up. We'll see how it goes tonight:

            Master Bathroom Light - Motion Detected
            Device Upstairs Master Bathroom Motion Sensor value becomes equal to Motion
            Time is after 10:00 PM
            AND
            Time is before 11:59 PM
            OR
            Time is after 12:00 AM
            AND
            Time is before 7:00 AM
            WHEN
            Everyday

            Device Command: Upstairs Master Bathroom Light above sink Dim to 10%

            Comment

            Working...
            X