Add configurable threshold notifications on parent device #11

Open
opened 2026-09-02 15:26:06 +02:00 by emidab · 0 comments
Owner

Summary

Notify the parent on configurable thresholds (e.g. sound level, movement frequency) when an event is detected.

What to do

  1. Define configurable thresholds (sound level, movement frequency)
  2. Detect threshold crossing from the live audio/sensor data
  3. Fire a notification when a threshold is crossed
  4. Settings UI to configure thresholds
  5. Respect system notification permissions

Acceptance criteria

  • Sound and movement thresholds are user-configurable and persisted
  • Crossing a threshold raises a notification
  • Detection logic is unit-tested (pure, with synthetic data)
  • Notification widget/service is faked for headless tests

Notes

  • Depends on gain/spectrum + movement data
  • Threshold evaluation should be a testable pure function independent of the notification mechanism
## Summary Notify the parent on configurable thresholds (e.g. sound level, movement frequency) when an event is detected. ## What to do 1. Define configurable thresholds (sound level, movement frequency) 2. Detect threshold crossing from the live audio/sensor data 3. Fire a notification when a threshold is crossed 4. Settings UI to configure thresholds 5. Respect system notification permissions ## Acceptance criteria - [ ] Sound and movement thresholds are user-configurable and persisted - [ ] Crossing a threshold raises a notification - [ ] Detection logic is unit-tested (pure, with synthetic data) - [ ] Notification widget/service is faked for headless tests ## Notes - Depends on gain/spectrum + movement data - Threshold evaluation should be a testable pure function independent of the notification mechanism
emidab added this to the v0.1 — MVP: P2P baby monitor milestone 2026-09-02 15:28:37 +02:00
emidab added the
area: parent
size: m
priority: medium
labels 2026-09-02 15:28:38 +02:00
emidab added a new dependency 2026-09-02 15:35:45 +02:00
emidab added a new dependency 2026-09-02 15:35:46 +02:00
emidab removed a dependency 2026-09-02 15:50:56 +02:00
Sign in to join this conversation.
No description provided.