Skip to content

POST /api/debug/relay/start/ and POST /api/debug/relay/stop/

Service relay test.

Auth: Bearer (powerUser).

Diagnostic mode must be active. Otherwise, the endpoints return 403 ERROR_NO_ACCESS.


Force the relays into test states.

{
"state": {
"trip": true,
"alarm": false,
"fan": false,
"fault": false
}
}
FieldTypeRequiredDescription
stateobjectyesRelay states
state.tripbooleanyesTrip relay
state.alarmbooleanyesAlarm relay
state.fanbooleanyesFan relay
state.faultbooleanyesFault relay
{}

Stop the test and return control to the normal logic.

No request body is required.

{}

The core logic automatically restores normal control after a timeout, even if the client does not call stop.