Skip to content

Conversation

@oscgonfer
Copy link
Collaborator

This adds an interface to calibrate temperature and humidity sensor offsets:

control temp cal
control hum cal

This will offer an interface for people to add an offset. This offset will be added to predefined ones, already tested on each hardware version, but that may require tweaks based on the enclosure, deployment conditions, etc.

@oscgonfer oscgonfer self-assigned this Sep 16, 2025
@oscgonfer oscgonfer marked this pull request as draft September 16, 2025 16:35
@oscgonfer
Copy link
Collaborator Author

oscgonfer commented Sep 16, 2025

Example:

SCK > control temp
Temperature: 
Available commands:
* cal: [float - clear] Sets temperature offset with respect to current offset or clears it
SCK > control temp cal 
Temperature: cal
Current temperature offset: -1.00 (degC)
SCK > control temp cal -10
Temperature: cal -10
SCK > read temp
Temperature: 17.35 C
SCK > control temp cal clear
Temperature: cal clear
Set default offset: -1.00 (degC)
SCK > read temp
Temperature: 27.37 C

@oscgonfer oscgonfer marked this pull request as ready for review September 16, 2025 17:54
@oscgonfer oscgonfer requested a review from adaisuri September 16, 2025 17:54
@oscgonfer oscgonfer force-pushed the feat/rht-calibration-control branch from a58019f to 8e54335 Compare September 18, 2025 09:03
@oscgonfer oscgonfer merged commit 1e73f1e into master Sep 18, 2025
3 checks passed
@oscgonfer oscgonfer deleted the feat/rht-calibration-control branch September 18, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants