guardianproject / haven

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors
https://guardianproject.github.io/haven/
GNU General Public License v3.0
6.58k stars 728 forks source link

proposal: add sensitivity feedback to the logs #324

Open ghost opened 5 years ago

ghost commented 5 years ago

The current implementation requires the user to predict and generate stimulus that should be ignored, and set the sensor sensitivity in advance. But after deployment, imperfections of that guesswork manifest as false positives.

The sound logs should indicate the db level that triggered the event as well as the peak level in that event. Motion logs should give the triggering value as well, for improved tuning.

This feature would also help troubleshoot bugs like https://github.com/guardianproject/haven/issues/261.