# Frequency of measurements

**URL:** <https://forum.sensor.community/t/frequency-of-measurements/265>\
**Category:** Uncategorized\
**Created:** [January 31, 2021, 2:21pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265 "2021-01-31T14:21:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter-pan](https://forum.sensor.community/letter_avatar_proxy/v4/letter/p/5daacb/32.png) [@Peter-pan](https://forum.sensor.community/u/Peter-pan)\
**Post date:** [January 31, 2021, 2:21pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265/1 "2021-01-31T14:21:20Z")

</div>

Hello!

First of all thanks for the great work! Installing the firmware was super easy. The biggest challenge I was facing was the closure of all Baumarkts due to Covid 🙂

Now my question: in the firmware the default frequency for the measurements is 145. Is there a reason for this specific number? Should that be adjusted and if so, what would be the frequency?

Thanks in advance!  
Peter

---

<div class="post-metadata">

**Author:** ![ricki-z](https://forum.sensor.community/user_avatar/forum.sensor.community/ricki-z/32/215_2.png) [@ricki-z](https://forum.sensor.community/u/ricki-z)\
**Post date:** [January 31, 2021, 2:44pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265/2 "2021-01-31T14:44:35Z")

</div>

We are showing the values of the last 5 minutes on our map. But sometimes a transmission may fail. So we set the interval to the half of this (150 second). And as the interval doesn’t include the time for sending the data we had to shorten this by some seconds.  
Another point is the lifetime of the SDS011. If running continuously the lifetime would be around 8000 hours. The interval of around 2.5 minutes should result in a lifetime of around 5 years.  
But why should this be adjusted? If we would want another measurement interval then we would have set this as the default…  
Another point is the load and volume of data created on our servers. Actually we receive 13 mio. measurements per day. Decreasing the interval will result in much more measurements.

---

<div class="post-metadata">

**Author:** ![tuxick](https://forum.sensor.community/user_avatar/forum.sensor.community/tuxick/32/128_2.png) [@tuxick](https://forum.sensor.community/u/tuxick)\
**Post date:** [February 3, 2021, 10:06pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265/3 "2021-02-03T22:06:21Z")

</div>

What happens if you make the interval longer than 5 minutes? For example for a device running on batteries.

---

<div class="post-metadata">

**Author:** ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)\
**Post date:** [February 3, 2021, 10:41pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265/4 "2021-02-03T22:41:33Z")

</div>

Maybe ricky-z will correct me but I think you will only miss some updates of the data on the map (there is a reload every 5 minutes), making the point disappear from time to time. If I remember well the API tries to collect all the sensor data in a timespan of 5 minutes and send the json to the map.

---

<div class="post-metadata">

**Author:** ![ricki-z](https://forum.sensor.community/user_avatar/forum.sensor.community/ricki-z/32/215_2.png) [@ricki-z](https://forum.sensor.community/u/ricki-z)\
**Post date:** [February 4, 2021, 8:08am UTC](https://forum.sensor.community/t/frequency-of-measurements/265/5 "2021-02-04T08:08:28Z")

</div>

Yes, the sensor may disappear from the map from time to time. The map show only sensors that has sent data in the last 5 minutes.  
And the graphs may may look “strange” (single points instead of a continuous line).

---

<div class="post-metadata">

**Author:** ![cj0](https://forum.sensor.community/user_avatar/forum.sensor.community/cj0/32/643_2.png) [@cj0](https://forum.sensor.community/u/cj0)\
**Post date:** [December 14, 2021, 12:18pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265/6 "2021-12-14T12:18:54Z")

</div>

> [@ricki-z](#):
>
> And as the interval doesn’t include the time for sending the data we had to shorten this by some seconds.

(150 - 145 = 5 seconds)

When the sensor, according to its status page, needs more then 5 seconds for uploading

> Time spent uploading 8922 ms  
> Time spent uploading 14076 ms  
> Time spent uploading 13776 ms

would it be wise to adjust the “Measuring interval (sec):”, and by which value?

---

<div class="post-metadata">

**Author:** ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)\
**Post date:** [December 14, 2021, 5:35pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265/7 "2021-12-14T17:35:22Z")

</div>

The timespan is good like this imho .

Do you See some holes in the curves? If not there is no Problem. The data are updated regularly.

---

<div class="post-metadata">

**Author:** ![cj0](https://forum.sensor.community/user_avatar/forum.sensor.community/cj0/32/643_2.png) [@cj0](https://forum.sensor.community/u/cj0)\
**Post date:** [December 14, 2021, 8:15pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265/8 "2021-12-14T20:15:45Z")

</div>

Yes, there are some gaps in the madavi graphs:

 ![PM 2.5 - last 24 hours madavi](https://forum.sensor.community/uploads/default/original/1X/4db4ff7c9effac0d8f6e7f0773901fe8be5eec80.jpeg)

Wi-Fi signal and quality is steady:

 ![Wifi signal quality](https://forum.sensor.community/uploads/default/original/1X/ac4b5e690eca15aaae758830aa4b59fc4ce69d4c.jpeg)

---

<div class="post-metadata">

**Author:** ![pjg](https://forum.sensor.community/user_avatar/forum.sensor.community/pjg/32/194_2.png) [@pjg](https://forum.sensor.community/u/pjg)\
**Post date:** [December 14, 2021, 8:22pm UTC](https://forum.sensor.community/t/frequency-of-measurements/265/9 "2021-12-14T20:22:08Z")

</div>

It looks very stable though.  
„When it works don‘t repair it!“
