Send Command

The request is intended to send command to hardware.

Request Example

&svc=send_cmd&params={
    "id_unit": integer,
    "type": string,
    "cmd": string
}

Parameters

Parameter Description
id_unit Unique Unit ID
type Command Type
cmd Command Name

Additional Information

All the parameters are required, cmd - command text or pseudonym

Server Response

Result:
{
    "result": true // command sending result (true or false)
}