Files
MeshCoreTel-firmware/src/helpers
Valentin V. Bartenev 3854abfd50 Web: add MCU temperature sparkline with thermal threshold coloring
Add visual indicators for the mcu_temp trend series on the /stats page.
Values are stored as deci-°C (tenths of a degree), so all threshold
constants are in that unit (750 = 75 °C, 950 = 95 °C).

Threshold rationale (ESP32-S3 / Heltec V4, internal die temperature,
T_j max = 105 °C per datasheet):
  - < 75 °C  (< 750):   normal, green — comfortable operating range
  - 75–95 °C (750–950): elevated, amber — die is running hot,
    30 °C below the junction temperature limit
  - > 95 °C  (> 950):   critical, red — 10 °C below the 105 °C
    junction limit; sensor accuracy is ±2 °C in this range
  - Chart upper bound 125 °C (1250) covers the full sensor measurement
    range with headroom

Changes:
- sparkStrokeColor: color the mcu_temp stroke dynamically based on
  the most recent data point (green / amber / red)
- sparkGuideValues: draw horizontal guide lines at 75 °C and 95 °C
- sparkBands: shade three background bands (normal / high / critical)
- getTrendSeriesOrder: insert "mcu_temp" at position 2 (after battery
  and memory, before RF metrics) when sensors.mcu_temp_c is present
  in the summary payload
2026-05-09 19:29:43 +03:00
..
2025-12-02 10:31:24 +00:00
2025-06-25 11:00:24 +02:00
2026-03-20 15:56:09 +08:00
2026-04-17 17:54:47 +10:00
2025-06-30 03:46:18 +02:00
2026-02-18 22:32:01 +07:00
2026-04-18 21:32:41 +10:00
2026-04-17 14:38:03 +10:00
2026-04-21 18:07:04 +10:00