|
Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
|
Complete result of one control calculation. More...
#include <control_engine.h>
Public Attributes | |
| float | targetTemperatureC |
| Effective target water temperature in degrees Celsius. | |
| bool | targetDefaulted |
| True when the default target replaced an invalid request. | |
| bool | waterSensorValid |
| True when the water temperature value is usable. | |
| float | waterTemperatureC |
| Effective water temperature, or NAN when invalid. | |
| float | waterDeltaC |
| Water temperature minus target temperature. | |
| uint8_t | waterBasedPwmPercent |
| PWM requested by water-temperature hysteresis control. | |
| uint8_t | finalPwmPercent |
| Final commanded fan PWM percentage. | |
| ControlMode | mode |
| Selected control mode. | |
Complete result of one control calculation.
The snapshot preserves both the final output and the intermediate values used to reach it. Keeping those values together makes serial diagnostics and MQTT telemetry explain the control decision without recalculating it elsewhere.