Recognizing a change of properties in a specific range
I have a temperatur sensor as a thing in Thingworx. Now I would like to recognize how fast the temperature changed.
For example if the temperature increased by more than 3 Degrees in a period of one second I would like to fire an event (an alarm). Do you have any idea whether there is an elegant approach to do this?
My naive Idea would be a subscription that checks how much the temperature changed one second ago once a "data changed" event occurs.