CivicTechTO / CivicTechTO/tRacket-sensor

Clip sensor reading values to non-negative

Open
#40 1 comment 0 reactions 1 assignee Claimed by @tcsullivan View on GitHub
good first issue help wanted
Dominant language
C++
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We have seen recently that the sensor can produce invalid (negative) readings under certain extreme conditions (e.g., moisture saturating the mic) See https://dashboard.tracket.info/locations/747559 around January 1st.
![image](https://github.com/user-attachments/assets/f8c80d14-c57e-4b4a-b09d-7e40ec66ab4b)

The goal of this ticket is to adjust the sensor data processing to automatically clip values to be non-negative before sending to the API.

A related ticket is being worked on to notify sensor owners if the device is recording zeros, which should practically never happen https://github.com/CivicTechTO/tRacket-sensor-manager/issues/1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.