Skip to main content
Skip table of contents

Настройкa домофона «Спутник»

Настройкa домофона «Спутник»

В зависимости от типа подключения настройки меняются.

Пример настроек домофона, при типе подключения - матрично-коммутационная.

JSON
{
    "quiescent_resistance": 10,
    "open_door_resistance": 10,
    "speak_sip_volumes": 53,
    "speak_loudspeaker_volumes": 56,
    "panel_micro_volumes": 70,
    "panel_system_volumes": 54
}

Пример настроек домофона, при типе подключения - фиксированная.

JSON
{
    "panel_system_volumes": 54
}

Пример настроек домофона, при типе подключения - смарт.

JSON
{
    "speak_sip_volumes": 53,
    "panel_system_volumes": 54
}

Пример настроек домофона, при типе подключения - комбинированная 1.

JSON
{
    "quiescent_resistance": 10,
    "open_door_resistance": 10,
    "speak_sip_volumes": 53,
    "speak_loudspeaker_volumes": 56,
    "panel_micro_volumes": 70,
    "panel_system_volumes": 54
}

Пример настроек домофона, при типе подключения - комбинированная 2.

JSON
{
    "speak_sip_volumes": 53,
    "panel_system_volumes": 54
}

PATCH /api/admin/v1/intercoms/{intercom}/setup-flats-settings

Параметры метода

int intercom, Уникальный идентификатор домофона


integer quiescent_resistance, Общий порог открытия двери


integer open_door_resistance, Общий порог снятия трубки


integer speak_sip_volumes, Громкость SIP


integer speak_loudspeaker_volumes, Громкость динамика панели


integer panel_micro_volumes, Чувствительность микрофона


integer panel_system_volumes, Громкость основной работы

200 OK

Успешный ответ

401 Unauthorized

Токен авторизации не передан или не валидный

422 Unprocessable Entity

Возвращает JSON объект с ошибкой. VMS Admin/Общая информация панели администратора/Валидация администратора

JSON
{
    "message": "Тут не будет информативного сообщения",
    "errors": {
        "any_key": [
            "Тут будет описана причина ошибки"
        ]
    }
}
cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/intercoms/{intercom}/setup-flats-settings' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "intercom": 0,
    "quiescent_resistance": "integer",
    "open_door_resistance": "integer",
    "speak_sip_volumes": "integer",
    "speak_loudspeaker_volumes": "integer",
    "panel_micro_volumes": "integer",
    "panel_system_volumes": "integer"
}'
PHP
PHP
$data = array (
  'intercom' => 0,
  'quiescent_resistance' => 'integer',
  'open_door_resistance' => 'integer',
  'speak_sip_volumes' => 'integer',
  'speak_loudspeaker_volumes' => 'integer',
  'panel_micro_volumes' => 'integer',
  'panel_system_volumes' => 'integer',
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'PATCH',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domain/api/admin/v1/intercoms/{intercom}/setup-flats-settings', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.