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

request: replace calcAverage() for sensor values with interesting peak() #84

Open
derFliegendeHamburger opened this issue Jun 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@derFliegendeHamburger
Copy link

now:

  • msrc samples the sensors' data and applies calcAverage() before values get stored for later transmission.
    averaged values hide interesting short term spikes, the sampling rate is of little use for averaging

Wanted:

For current and temperature, the highest sensor value in any interval between two adjacent transmissions is most interesting;
for rpm and voltage, the lowest sensor value in any interval between two adjacent transmissions is most interesting;
This would transmit and make accessible more valuable info than an averaged value

  • sample sensors' data and apply a peak() function to preserve the most interesting value for the next transmission.
  • after transmission, reset the stored peak values and start again.
@dgatf dgatf added the enhancement New feature or request label Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants