Triggering events on update rather than change

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
CouchPotatoe
Senior Member
Posts: 103
Joined: Sun Jul 31, 2005 2:43 pm
Location: Yorkshire UK

Triggering events on update rather than change

Post by CouchPotatoe »

I am trying to trigger an event when a parameter value is updated. Previously I did this with a "trigger if not equal to 'impossible value' " which of course triggers each time it changes. However this doesn't trigger when a paramater is updated with the same value it had before. So if for example I trigger on a CallerID number arrival it works the first time but not if the same caller calls back again. Is there an easy way to trigger on 'update' even if it's to the same value ?

K

PS I had considered that when the parameter field updates I copy it's content elsewhere and then reset it to an 'impossible value' such that a later 'same value' update would still trigger - but it's a bit messy if there's a better way.
vcruz777
Member
Posts: 70
Joined: Sun Jul 08, 2007 9:39 pm

Re: Triggering events on update rather than change

Post by vcruz777 »

It should work if you have the "Allow same value changes" option checked in the parameter you are monitoring.

Victor
CouchPotatoe
Senior Member
Posts: 103
Joined: Sun Jul 31, 2005 2:43 pm
Location: Yorkshire UK

Re: Triggering events on update rather than change

Post by CouchPotatoe »

You are absolutely correct . I had looked at this before but for some reason when the device creates these fields it unsets this option and I had just assumed......

Many thanks... K
Post Reply