Robot Mode Off
The ROBOT_MODE_OFF command disables robot mode for the lobby, releasing exclusive control back to the normal lobby operations. This command should be sent when the robot workflow is complete.
info
After disabling robot mode, the lobby will return to normal operations and other users can interact with the lobby system.
WebSocket API
Command
- Command:
ROBOT_MODE_OFF
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
command | String | Yes | ROBOT_MODE_OFF |
requestId | String | Yes | Randomly generated unique identifier. |
Response
| Field Name | Type | Description |
|---|---|---|
requestId | String | Unique identifier of the request |
status | String | Status of the request (success or error). |
code | String | Response code (e.g., ROBOT_MODE_OFF_OK) |
message | String | Descriptive message about the response |
Example Request
{
"requestId": "a1b2c3d8",
"command": "ROBOT_MODE_OFF"
}
Expected Response
- On Success:
{
"requestId": "a1b2c3d8",
"status": "success",
"code": "ROBOT_MODE_OFF_OK",
"message": "Robot mode disabled successfully"
}
- On Error (Robot mode not enabled):
{
"requestId": "a1b2c3d8",
"status": "error",
"code": "ROBOT_MODE_NOT_ENABLED",
"message": "Robot mode is not currently enabled for this lobby"
}