I have a device that sends data to Ubidots on a 5min interval. I am trying to calculate the variance, but synthetic variable calculation is not firing on the correct interval. The goal is to detect a change to trigger an event, so missing changes is a problem. You can see the change in raw data from 741 to 782 that did not get picked up in the variance variable.
Synthetic Variable Formula:
Synthetic Variable Results:
Any ideas on why the synthetic variable is not keeping up?