Open FollowTheWizard opened 4 years ago
I don't really know why we're reporting these values to the APIs. It was added in https://github.com/opendata-stuttgart/sensors-software/commit/445ae7c75c44d24f75193386eac0a5010bb8cce5 and the only rationale was "more debug". This behavior is not configurable, it will always be included in the measurements.
@ricki-z can we move these samplesmin/max to the /status page and remove it from the API reporting? or are those values used anywhere?
These values are needed for sensors that use PWM modulation to write value (i.e. PPD42NS) or that need a minimum time between readings (i.e. GPS, otherwise we can't read it fast enough). Without these values transmitted to us a debugging may be much more difficult. And not all users with a problem have direct access to the sensor.
@ricki-z where can I see those values? they're not reported to sensorcommunity, only to the optional apis. so madavi.de holds statistics about them?
These values are saved at Madavi.de in CSV files (together with the transmitted measurements). http://www.madavi.de/sensor/csvfiles.php
How can I get rid of those values in the database?