Skip to content

[SENSOR] Build CO2 sensor with drift simulation #6

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

[SENSOR] Build CO2 sensor with drift simulation #6

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

Comments

@ezehf2
Copy link
Owner

ezehf2 commented Mar 5, 2026

Create co2_sensor.py, extending the sensor base class. CO2 levels should drift gradually between 400 ppm (fresh air) and 1500 ppm (poor air quality). The alert threshold defined in the project is 1000 ppm, so the simulation should be capable of reaching and exceeding that level naturally over time. Include a short manual test printing five consecutive readings to demonstrate drift behaviour.

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

No branches or pull requests

2 participants