POST /api/debug/led/start/ and POST /api/debug/led/stop/
Service LED test.
Auth: Bearer (powerUser).
Diagnostic mode must be active. Otherwise, the endpoints return 403 ERROR_NO_ACCESS.
POST /api/debug/led/start/
Section titled “POST /api/debug/led/start/”Force the LEDs into test states.
Request
Section titled “Request”{ "state": { "ledTrip": true, "ledAlarm": true, "ledFan": true, "ledFault": true, "ledCh1": true, "ledCh2": true, "ledCh3": true, "ledCh4": true }}| Field | Type | Required | Description |
|---|---|---|---|
state | object | yes | LED states |
state.ledTrip | boolean | yes | Trip LED |
state.ledAlarm | boolean | yes | Alarm LED |
state.ledFan | boolean | yes | Fan LED |
state.ledFault | boolean | yes | Fault LED |
state.ledCh1 | boolean | yes | Channel 1 LED |
state.ledCh2 | boolean | yes | Channel 2 LED |
state.ledCh3 | boolean | yes | Channel 3 LED |
state.ledCh4 | boolean | yes | Channel 4 LED |
Response 200
Section titled “Response 200”{}POST /api/debug/led/stop/
Section titled “POST /api/debug/led/stop/”Stop the test and restore normal indication mode.
Request
Section titled “Request”No request body is required.
Response 200
Section titled “Response 200”{}The core logic automatically restores normal mode after a timeout, even if the client does not call stop.