Skip to content

[SENSOR] Build noise sensor with drift simulation #7

Closed
ezehf2 opened this issue Mar 5, 2026 · 0 comments
Closed

[SENSOR] Build noise sensor with drift simulation #7

ezehf2 opened this issue Mar 5, 2026 · 0 comments
Assignees

Comments

@ezehf2
Copy link
Owner

ezehf2 commented Mar 5, 2026

Create noise_sensor.py extending the sensor base class. Noise levels should drift between 30 dB (quiet) and 100 dB (loud environment). The alert threshold is 85 dB. Simulate realistic patterns — noise should not jump instantly from 30 to 100 but gradually increase and decrease. Include a short manual test printing five consecutive readings.

Sign in to join this conversation on GitHub.
Labels
None yet
Development

No branches or pull requests

2 participants