Module sensor_manager

Source
Expand description

Contains the functionality for triggering regular DHT sensor communication and caching of data

Modules§

sensor_manager_constants 🔒

Structs§

SensorManager
Contains the communication with DHT ambient temperature and humidity sensor. Alternatively, TCP communication is used when configured to run with the simulator. Sensor data is read periodically and stored. Requests from data logger and heating control are answered with last measured data. Thread communication of this component is as follows:
SensorManagerMutexes
Contains Arc<Mutex>-wrapped shared data points accessed by the sensor manager.
SensorManagerSignals
Container for the signals managed by SensorManager. Controls for heating and ventilation use these signals.

Enums§

SensorManagerError