Repeater creation

The request is intended to create a repeater.

Request example

&svc=create_repeater&params={
    "name":string,
    "protocol":string,
    "server":string,
    "port":string,
    "status":smallint,
    "id_units":["integer:string:timestamp", "integer:string:timestamp", ...]
}

Parameters

Parameter Description
name Repeater name
protocol Protocol
server Recipient IP
port Recipient port
status On/Off status
id_units Array with information about units. Each element is string parameter which contains: id_unit, hw_id, timestamp separated by semicolon

Additional info

Response with information about created repeater.

id_units = [“id_unit:hw_id:timestamp(optional)”, …]

Response

Created repeater
{
    "result": true // Status of repeater creation (true or false)
    "id_repeater": integer
}