Author Topic: Notification Cool Down  (Read 139 times)

Offline TehFonz

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Notification Cool Down
« on: June 14, 2018, 12:46:07 am »
A follow up from this post: http://forum.micasaverde.com/index.php/topic,87338.0.html
Just wondering if someone can point me in the right direction for creating a notification cool down with PLEG, I know it will be when a condition (for eg, c0Notification) is met the Notification tab on the Vera UI. What I am after is Logic to create the cool-down.

Cheers!

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10070
  • Karma: +761/-141
Re: Notification Cool Down
« Reply #1 on: June 21, 2018, 06:06:50 pm »
If you have an input   named NOISY   that could triggers every couple minutes ... but you only want at most 1 notification every 10 minutes:

Input:
NOISY      .... some input type

Condition:
LessNOISY        NOISY @ 2 > 10:00

Put a notification on LessNOISY being satisfied ... or add some event action.



Offline TehFonz

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Notification Cool Down
« Reply #2 on: June 25, 2018, 07:06:37 pm »
that worked a treat, and I didn't have to use another virtual switch. Much appreciated. Cheers!