thingspeak
thingspeak copied to clipboard
Average aggregator works wrong when there are missing values for the period
Hi! I've noticed that average
aggregator works wrong when there are missing values for the period.
Here I got an aggregated chart (generated by https://thingspeak.com/channels/134669/charts/3?title=CO2%20concentration&xaxis=&yaxis=&width=auto&days=1&average=10):
As you can see there is a gap at 22:00:00, but if we look on non-aggregated chart (generated by https://thingspeak.com/channels/134669/charts/3?title=CO2%20concentration&xaxis=&yaxis=&width=auto&start=2016-09-11%2021:00:00&end=2016-09-11%2023:00:00&offset=3):
we'll see that the gap was an aggregation error due to missing data.