Expand description
Contains functionality to control the ventilation
Structsยง
- Ventilation
- Holds the configuration and the implementation for the ventilation control. Thread communication of this component is as follows:
Constantsยง
- CYCLE_
TIME_ ๐VENTILATION_ MILLIS - MAX_
MUTEX_ ๐ACCESS_ DURATION_ MILLIS - allow max. 10 milliseconds for mutex to be blocked by any other thread
- TIME_
INCREMENT_ ๐VENTILATION_ SECS
Functionsยง
- actuate_
ventilation ๐ - Sends a command to the relay manager to actuate the ventilation and waits for a response.
- switch_
off_ ๐ventilation - The function commands the relay manager to switch off the ventilation device.
- switch_
on_ ๐ventilation - The function commands the relay manager to switch on the ventilation device.