Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
Loading...
Searching...
No Matches
Public Attributes | List of all members
FaultMonitorConfig Struct Reference

Fault detection thresholds for fan RPM plausibility. More...

#include <fault_monitor.h>

Public Attributes

uint8_t mismatchCyclesRequired
 Consecutive bad samples required to latch a fault.
 
uint8_t matchCyclesRequiredForRecovery
 Consecutive good samples required to clear a latched fault.
 
uint32_t settlingTimeMs
 Delay after PWM changes before plausibility is evaluated.
 

Detailed Description

Fault detection thresholds for fan RPM plausibility.

The mismatch and match counters define how many consecutive samples are required before the monitor changes state. This keeps the policy layer simple: it only needs to consume the latched result from the latest snapshot.


The documentation for this struct was generated from the following file: