GET /api/debug/system/
General system diagnostics: RTC clocking, reset reason, and subsystem status.
Auth: Bearer (powerUser).
Response 200
Section titled “Response 200”{ "core": "ARM32", "uptimeSec": 86421, "cpuFreqMHz": 168, "resetReason": "Power on", "rtcSource": "LSE", "rtcTime": "2026-07-09T12:34:56Z", "rtcSync": "NTP", "readyFlags": { "settings": true, "calibration": true, "rtc": true, "button": true, "led": true, "lcd": true, "extmem": true, "identity": true, "logger": true, "temprec": true, "temphistory": true, "msr": true, "random": true, "eth": true, "lwip": true, "httpd": true, "sntp": false, "wireguard": false, "modbus": true }}Response fields
Section titled “Response fields”| Field | Type | Description |
|---|---|---|
core | string | Core architecture: "ARM32" |
uptimeSec | number | Uptime since power-on (seconds) |
cpuFreqMHz | number | Core frequency (SystemCoreClock / 1000000) |
resetReason | string | Reason for the most recent reset |
rtcSource | string | RTC clock source: "LSE", "LSI", or "UNKNOWN" |
rtcTime | string | Current RTC time in UTC (UTC+0) |
rtcSync | string | Source that most recently set the RTC time: "NONE", "BACKUP", "NTP", or "MANUAL" |
readyFlags | object | Boolean subsystem initialization flags |
resetReason values
Section titled “resetReason values”| Value | RCC_CSR flag | Description |
|---|---|---|
"Power on" | RCC_CSR_PORRSTF | Power-on reset |
"Reset pin" | RCC_CSR_PADRSTF | External reset (RESET button) |
"Watchdog" | RCC_CSR_WDGRSTF | Watchdog reset |
"Software" | RCC_CSR_SFTRSTF | Software reset (NVIC_SystemReset()) |
"Low power" | RCC_CSR_LPWRRSTF | Low-power reset |
"Unknown" | — | Unknown |
rtcSource values
Section titled “rtcSource values”"LSE"— external 32.768 kHz crystal (accurate)."LSI"— internal RC oscillator (±5% drift)."UNKNOWN"— source not determined.
rtcSync values
Section titled “rtcSync values”"NONE"— the RTC started with the default time; no synchronization or restoration occurred."BACKUP"— time restored from the backup domain at startup."NTP"— time set by SNTP/NTP synchronization."MANUAL"— time set manually through the UI, API, or Modbus.
readyFlags fields
Section titled “readyFlags fields”settings, calibration, rtc, button, led, lcd, extmem, identity, logger, temprec, temphistory, msr, random, eth, lwip, httpd, sntp, wireguard, modbus