We have sensors such as water meters, wind and rain guages that transmit a pulse count every x minutes. which then needs to be converted to the actual value using current and previous value.
For example for a water meter where each pulse = 1 litter, and the device transmits every 10 minutes.
If the current read is 5500 pulses
and previous read is 5000 pulses
And I want to display the user the rate of water litters/per 10 minutes
The equation of the syntactic variable of litters per 10 minutes should be (5500-5000) * 1.
current - previous * 1(litter).
Is it possible to query the property previous value in the Analytics Engine?
How else would you recommend calculating such result in ubidots?