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

Complete OneWire bus and sensor state snapshot. More...

#include <sensor_manager.h>

Collaboration diagram for SensorSnapshot:
Collaboration graph
[legend]

Public Attributes

bool busInitialized
 True after the OneWire bus is initialized.
 
bool presenceDetected
 True when at least one device is present.
 
bool conversionPending
 True while waiting for a temperature conversion.
 
uint8_t discoveredSensorCount
 Number of devices found during discovery.
 
uint32_t lastDiscoveryMs
 Timestamp of the last discovery pass.
 
uint32_t lastRequestMs
 Timestamp of the last conversion request.
 
TrackedSensorSnapshot trackedSensors [kMaxTrackedSensors]
 State for named sensors.
 
DiscoveredSensorSnapshot discoveredSensors [kMaxDiscoveredSensors]
 Diagnostic discovery list.
 

Detailed Description

Complete OneWire bus and sensor state snapshot.

The snapshot is the single source of sensor state for control, serial diagnostics, and telemetry. Callers read it after update() without needing to interact with the OneWire or DallasTemperature libraries directly.


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