Ubidots Community

Want to trigger an event based on variable value change

I know I can trigger an action based on a changed variable value using an Ubifunction. But, is there a way to do this using an event? For example, is there a way to use a dynamic threshold to compare a value against itself?



1 Like

Hi @chipmc

Just to make sure we understand your need correctly. You’d like to trigger an event based on an “on changed” type of condition, that is, for example, compare a variable’s current value with the previous one: if changed trigger the action, if not, o nothing.

Is this what meant? Ot if not, could you give us an example, please?

Yes, exactly.

1 Like

This would be a valuable addition to the event trigger options; I am surprised it is not there already.

1 Like