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
TrackedSensorSnapshot Struct Reference

Latest sample and identity data for one tracked sensor. More...

#include <sensor_manager.h>

Public Attributes

bool configuredAddressMatched
 True when the preferred ROM code was found.
 
bool addressKnown
 True when romCode contains a discovered address.
 
bool sampleValid
 True when temperatureC is usable.
 
bool externallyPowered
 True when the device reports external power.
 
float temperatureC
 Last sampled temperature in degrees Celsius.
 
uint32_t lastSampleMs
 Timestamp of the last valid sample.
 
uint8_t romCode [8]
 OneWire ROM code assigned to this sensor.
 

Detailed Description

Latest sample and identity data for one tracked sensor.

The snapshot separates address discovery from sample validity. This makes it possible to diagnose whether a role is missing entirely, discovered but not sampled yet, or sampled with an invalid temperature value.


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