Repeater edit

The request is intended to edit the repeater.

Request example

&svc=edit_repeater&params={
    "id_repeater": integet,
    "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 information

Response with information about created repeater.

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

Response

Successful edition
{
    "result": true // Repeater edition status (true or false)
}