Set up Sputnik intercoms
Setting up Sputnik apartments
Possible intercom settings will be configured depending on the type of connection
Example of intercom settings. Connection type - matrix-switching.
{
"quiescent_resistance": 10,
"open_door_resistance": 10,
"speak_sip_volumes": 53,
"speak_loudspeaker_volumes": 56,
"panel_micro_volumes": 70,
"panel_system_volumes": 54
}
Example of intercom settings. Connection type - fixed.
{
"panel_system_volumes": 54
}
Example of intercom settings. Connection type - smart.
{
"speak_sip_volumes": 53,
"panel_system_volumes": 54
}
Example of intercom settings. Connection type - combined 1.
{
"quiescent_resistance": 10,
"open_door_resistance": 10,
"speak_sip_volumes": 53,
"speak_loudspeaker_volumes": 56,
"panel_micro_volumes": 70,
"panel_system_volumes": 54
}
Example of intercom settings. Connection type - combined 2.
{
"speak_sip_volumes": 53,
"panel_system_volumes": 54
}
PATCH /api/admin/v1/intercoms/{intercom}/setup-flats-settings |
Parameters
int
intercom, Unique identifier of the intercom
integer
quiescent_resistance, General door opening threshold
integer
open_door_resistance, General off-hook threshold
integer
speak_sip_volumes, SIP volume
integer
speak_loudspeaker_volumes, Panel speaker volume
integer
panel_micro_volumes, Microphone sensitivity
integer
panel_system_volumes, Main operation volume
200 |
Successful response |
401 |
Authorization token not sent or not valid |
422 |
Returns a JSON object with an error.
JSON
|
cURL
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
$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);