Announcement

Collapse
No announcement yet.

Recurring Event w/ Condition

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

    Recurring Event w/ Condition

    Probably really simple but..
    I want an event to run every minute, and if a counter's value is greater than zero run a script.

    This event only runs once, even though the counter is greater than 0.

    Can anyone explain to me where my logic is flawed?

    What I'd really like to do is call the script once a minute if the counter is greater than zero, but I'm not sure that is possible. Just getting this to run would work for me.

    Thanks
    Attached Files
    Don

    #2
    Originally posted by donstephens View Post
    Probably really simple but..
    I want an event to run every minute, and if a counter's value is greater than zero run a script.

    This event only runs once, even though the counter is greater than 0.

    Can anyone explain to me where my logic is flawed?

    What I'd really like to do is call the script once a minute if the counter is greater than zero, but I'm not sure that is possible. Just getting this to run would work for me.

    Thanks
    I just built this event and the time is spoken every minute as long as the counter is not 0

    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	23.3 KB
ID:	1186911

    Is there any chance your script is not recognized as being finished or is not finishing? Maybe deselect "Only allow a single instance to run at a time" or try some other action?

    Comment


      #3
      Originally posted by donstephens View Post
      Probably really simple but..
      I want an event to run every minute, and if a counter's value is greater than zero run a script.

      This event only runs once, even though the counter is greater than 0.

      Can anyone explain to me where my logic is flawed?

      What I'd really like to do is call the script once a minute if the counter is greater than zero, but I'm not sure that is possible. Just getting this to run would work for me.

      Thanks
      On second look at your screenshot, it looks like you are using a counter device instead of the actual counter. You should change the AND IF to actually look at the counter

      Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	25.1 KB
ID:	1186912

      rather than the counter device.

      Click image for larger version

Name:	capture1.png
Views:	1
Size:	26.4 KB
ID:	1186913

      The HomeSeer devices seem to behave differently than the actual counters, it could be a bug.

      Comment


        #4
        Thanks Randy:

        That seems to work. "Value has exceed this" is what I needed.
        Don

        Comment

        Working...
        X