Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello!
I want to watch over a particular property, for example, the temperature within the timeframe.
If the temperature is above some threshold for 15 min then an alert should be triggered.
The value can fluctuate above the threshold, it should be monitored and if it continues above the threshold for 15 min then the new alert should get triggered.
How can I implement it in an ideal way?
Solved! Go to Solution.
Hello @harshadbhandure,
It depends on a number of factors -- how precise do you want to be with your alerts, how frequently you receive data from devices, how many devices do you have, etc.
Probably not an ideal way, but that's how I would have done it by default:
This will give you reasonable precision, performance and will be easy to implement. Depending on how critical this "overheating" situation is you may want to make either (or both) of those properties non-persistent, just to improve performance.
Alternatively you can rely on the OnDataChange event instead of the timer (save on the query), or create a timer for each asset thing (increase real-timeness), or implement your own alerting logic (skip on the temperatureHighSince property), etc.
Regards,
Constantine
Hello @harshadbhandure,
It depends on a number of factors -- how precise do you want to be with your alerts, how frequently you receive data from devices, how many devices do you have, etc.
Probably not an ideal way, but that's how I would have done it by default:
This will give you reasonable precision, performance and will be easy to implement. Depending on how critical this "overheating" situation is you may want to make either (or both) of those properties non-persistent, just to improve performance.
Alternatively you can rely on the OnDataChange event instead of the timer (save on the query), or create a timer for each asset thing (increase real-timeness), or implement your own alerting logic (skip on the temperatureHighSince property), etc.
Regards,
Constantine