Announcement

Collapse
No announcement yet.

Cancel Delayed Device Action Issue

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

    Cancel Delayed Device Action Issue

    have and event that gets triggered at 2am under certain conditions. You can see that it actually get executed here:

    Click image for larger version

Name:	event1.png
Views:	60
Size:	7.3 KB
ID:	1595475

    Here is the actual event. I took some of the other OR IFs as it just gets triggered on what is in the red box. Plus from above we see that it gets triggered. What the event is doing is
    1) Remove a delayed device action for device "Summer Season" that I set in step 3)
    2) I set the "Summer Season" device to Off.
    3) Now I set a delayed device action to set "Summer Season" to on. This will execute 1 day and 5 minutes later, i.e. after this event gets executed again at 2am

    Click image for larger version

Name:	event2.png
Views:	46
Size:	45.4 KB
ID:	1595478

    The delayed device action can be seen here. Today is 2/27/23. So this delayed device will set "Summer Season" to on unless my event is being executed again on 2/28/23 and therefore removed that delayed device action.

    Click image for larger version

Name:	event3.png
Views:	48
Size:	24.1 KB
ID:	1595477

    BUT my device "Summer Season" is actually On. Here it can be seen it was set to on at 2:05am this morning. So despite the fact that my event was executed this morning at 2am, which should have removed the delayed device action, it still got turned on. So what am I doing wrong?

    Click image for larger version

Name:	device1.png
Views:	48
Size:	10.8 KB
ID:	1595476
    Attached Files

    #2
    Can you show the entire event please?

    Thanks!

    Comment


      #3
      EDIT: I just realized what is wrong. You are cancelling a Delayed Device Action for the Parent Device, Where it should be Summer Season Control.

      Disregard the below instructions. While valid they do not apply to this situation.

      I agree that we need to see the entire events. Your screenshots show an additional OR IF statement but we have no idea what the triggers and conditions are. Neither of those would explain why a Delayed Device Action is not deleted when an Event runs, but that is easy to diagnose.
      • Manually run your Event.
      • See if there is a Delayed Device Action for Summer Season Control set for tomorrow 5 minutes later.
      • If it is there run it again and see if there is only one Summer Season Control Delayed Device Action in the queue and is now tomorrow five minutes later than the second time you ran it.
      HS4 Pro, 4.2.18.3 Windows 10 pro, Supermicro LP Xeon

      Comment


        #4
        Originally posted by randy View Post
        EDIT: I just realized what is wrong. You are cancelling a Delayed Device Action for the Parent Device, Where it should be Summer Season Control.

        <snip>
        Ah, I think that's it. I will see what happens tomorrow. The reason I didn't realize this is because I searched for "Summer" and that only showed the name of the parent (the feature doesn't have the name "Summer" in its name).

        Comment

        Working...
        X