Skip to content

[SENSOR] Build temperature sensor with drift simulation #5

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

[SENSOR] Build temperature sensor with drift simulation #5

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

Comments

@ezehf2
Copy link
Owner

ezehf2 commented Mar 5, 2026

Create temperature_sensor.py extending the sensor base class. Values should simulate gradual drift rather than pure random jumps — each new reading should move slightly up or down from the previous one. Realistic range is 18 to 30 degrees Celsius. The sensor should work for any room ID passed to it so it can simulate multiple rooms. Include a short manual test at the bottom of the file that prints five consecutive readings to show the drift behaviour.

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

No branches or pull requests

2 participants