Step 5 (health): temperatures in status.temps
- aes67_health: status.temps = [{name, c, min_c, max_c, warn_c}]
(0.1 °C), sampled every 2 s by a health task. On-die "SoC" sensor via
driver/temperature_sensor.h, range 20..100 °C, warn at 85 °C.
health_temp_register(name, read_cb, warn_c) for board sensors.
Warning logged when crossing warn_c, cleared below warn_c - 5 °C.
- Verified: SoC 26-28 °C at idle with min/max since boot; with a
temporary 27 °C threshold the warning was logged and arrived via
syslog as <132>, status carried warn_c 27.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
idf_component_register(SRCS "aes67_health.c"
|
||||
INCLUDE_DIRS "include"
|
||||
PRIV_REQUIRES aes67_web esp_app_format esp_timer heap)
|
||||
PRIV_REQUIRES aes67_web esp_app_format esp_driver_tsens esp_timer heap)
|
||||
|
||||
Reference in New Issue
Block a user