Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data average before sending to the server #227

Open
GuilhermeZimeo opened this issue Aug 28, 2024 · 1 comment
Open

Data average before sending to the server #227

GuilhermeZimeo opened this issue Aug 28, 2024 · 1 comment

Comments

@GuilhermeZimeo
Copy link

Hello, Achim explained to me (here: https://forum.airgradient.com/t/export-raw-data-in-original-sampling-frequency/2468/2?u=guilherme) that data is averaged before sending to the server.

However, as far as I could understand the code, such average is only implemented for outdoor monitors with two PM sensors available. For other configurations, it rather seems that raw values are sent to the server every 60 s (without any average) - and the remaining 59 s of data are only used for online logs (Serial.printf)?

Is this intended? Or maybe I have misunderstood something here?
Below are relevant links to the code that led me to this conclusion:

@airgradienthq
Copy link
Owner

This is definitely something we can implement. I would suggest for version 3.1.9 as we have some more urgent bug fixes to get out of the door before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants