-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle humidity increases below the threshold
When the indoor air is dry (e.g. during the summer) and one takes a shower, the humidity might increase but not enough to cross the absolute threshold. To solve this, the humidity input maintains a ring buffer of humidity samples. When the most recent sample is greater than a certain percentage (15% by default) compared to 5 minutes ago, ventilation is enabled regardless of the absolute humidity. So if the humidity increases from 55% to 70%, but the threshold is 80%, humidity is still enabled. This increase acts as an OR with the absolute threshold, ensuring that if humidity slowly increases we still enable ventilation when necessary.
- Loading branch information
1 parent
2876892
commit b8ab736
Showing
3 changed files
with
130 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters