Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: How to prevent multiple triggers Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: April 17 2015 at 04:29 | IP Logged Quote MrGibbage

I thought I remembered seeing a cool trick using the boolean field to prevent a trigger from
firing multiple times within X seconds. I did some searching here, but no joy. Anyone remember
how to do it? I want a trigger to fire only if it hasn't fired within the last ten seconds.

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
smarty
Super User
Super User
Avatar

Joined: May 21 2006
Location: United States
Online Status: Offline
Posts: 723
Posted: April 17 2015 at 08:20 | IP Logged Quote smarty



and


ph_macroparm("TRIGGER-DISABLE",10,0,0,0,0) + 1


In the Boolean field of the trigger.

__________________
Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
Back to Top View smarty's Profile Search for other posts by smarty
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum