Skip to content

GET /api/debug/system/

General system diagnostics: RTC clocking, reset reason, and subsystem status.

Auth: Bearer (powerUser).


{
"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
}
}
FieldTypeDescription
corestringCore architecture: "ARM32"
uptimeSecnumberUptime since power-on (seconds)
cpuFreqMHznumberCore frequency (SystemCoreClock / 1000000)
resetReasonstringReason for the most recent reset
rtcSourcestringRTC clock source: "LSE", "LSI", or "UNKNOWN"
rtcTimestringCurrent RTC time in UTC (UTC+0)
rtcSyncstringSource that most recently set the RTC time: "NONE", "BACKUP", "NTP", or "MANUAL"
readyFlagsobjectBoolean subsystem initialization flags
ValueRCC_CSR flagDescription
"Power on"RCC_CSR_PORRSTFPower-on reset
"Reset pin"RCC_CSR_PADRSTFExternal reset (RESET button)
"Watchdog"RCC_CSR_WDGRSTFWatchdog reset
"Software"RCC_CSR_SFTRSTFSoftware reset (NVIC_SystemReset())
"Low power"RCC_CSR_LPWRRSTFLow-power reset
"Unknown"—Unknown
  • "LSE" — external 32.768 kHz crystal (accurate).
  • "LSI" — internal RC oscillator (±5% drift).
  • "UNKNOWN" — source not determined.
  • "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.

settings, calibration, rtc, button, led, lcd, extmem, identity, logger, temprec, temphistory, msr, random, eth, lwip, httpd, sntp, wireguard, modbus