|
Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
|
Complete policy decision for diagnostics and telemetry. More...
#include <fault_policy.h>
Public Attributes | |
| AlarmCode | alarmCode |
| Selected alarm code. | |
| FaultSeverity | severity |
| Selected severity. | |
| FaultResponse | response |
| Recommended control response. | |
| bool | waterSensorOk |
| True when water temperature input is valid. | |
| bool | fanOk |
| True when fan plausibility is healthy. | |
| bool | coolingDegraded |
| True when cooling capacity or control quality is degraded. | |
| bool | serviceRequired |
| True when any alarm should be surfaced to the user. | |
| uint8_t | effectivePwmPercent |
| PWM currently used by the control snapshot. | |
Complete policy decision for diagnostics and telemetry.
The snapshot combines boolean health flags with the selected alarm, severity, and response. It is intentionally redundant enough to make serial output and MQTT payloads understandable without cross-referencing multiple modules.