Set up Rubetek intercoms
Setting up Rubetek
Possible intercom settings will be configured depending on the type of connection
Example of intercom settings. Connection type - matrix-switching.
{
"idle_analog_voltage": 1.1,
"answer_analog_voltage": 2.2,
"open_door_analog_voltage": 3.3,
"automatic_mic_volume": true,
"active_noise_reduction": true,
"main_speaker_volume": 2,
"main_mic_sensitivity": 2,
"sound_processing_mode": 1,
"noise_reduction_mode": 1,
"keystrokes_volume": 2,
"panel_camera_mic_sensitivity": 3,
"analog_speaker_volume": 4,
"analog_mic_sensitivity": 5,
"ignore_analog_custom_settings": true
}
Example of intercom settings. Connection type - fixed.
{
"automatic_mic_volume": true,
"active_noise_reduction": true,
"main_speaker_volume": 2,
"main_mic_sensitivity": 2,
"sound_processing_mode": 1,
"noise_reduction_mode": 1,
"keystrokes_volume": 2,
"panel_camera_mic_sensitivity": 3,
"sip_speaker_volume": 4,
"sip_mic_sensitivity": 5
}
Example of intercom settings. Connection type - smart.
{
"automatic_mic_volume": true,
"active_noise_reduction": true,
"main_speaker_volume": 2,
"main_mic_sensitivity": 2,
"sound_processing_mode": 1,
"noise_reduction_mode": 1,
"keystrokes_volume": 2,
"panel_camera_mic_sensitivity": 3,
"sip_speaker_volume": 4,
"sip_mic_sensitivity": 5
}
Example of intercom settings. Connection type - combined 1.
{
"idle_analog_voltage": 1.1,
"answer_analog_voltage": 2.2,
"open_door_analog_voltage": 3.3,
"automatic_mic_volume": true,
"active_noise_reduction": true,
"main_speaker_volume": 2,
"main_mic_sensitivity": 2,
"sound_processing_mode": 1,
"noise_reduction_mode": 1,
"keystrokes_volume": 2,
"panel_camera_mic_sensitivity": 3,
"analog_speaker_volume": 4,
"analog_mic_sensitivity": 5,
"ignore_analog_custom_settings": true,
"sip_speaker_volume": 4,
"sip_mic_sensitivity": 5
}
Example of intercom settings. Connection type - combined 2.
{
"automatic_mic_volume": true,
"active_noise_reduction": true,
"main_speaker_volume": 10,
"main_mic_sensitivity": 10,
"sound_processing_mode": 1,
"noise_reduction_mode": 3,
"keystrokes_volume": 15,
"panel_camera_mic_sensitivity": 15,
"sip_speaker_volume": 10,
"sip_mic_sensitivity": 10
}
PATCH /api/admin/v1/intercoms/{intercom}/setup-flats-settings |
Parameters
int
intercom, Unique identifier of the intercom
bool|null
automatic_mic_volume, Turning on/off the automatic volume control of the microphone of the call panel
bool|null
active_noise_reduction, Enabling/disabling active noise reduction
int|null
main_speaker_volume, The volume in the speaker of the call panel during a conversation
int|null
main_mic_sensitivity, The volume in the speaker of the subscriber device during a conversation
int|null
sound_processing_mode, The sound processing mode of the call panel during a conversation
int|null
noise_reduction_mode, Noise reduction mode in the call panel
int|null
keystrokes_volume, The volume of keystrokes on the panel
int|null
panel_camera_mic_sensitivity, Setting the sensitivity of the microphone of the call panel in the RTSP connection
int|null
sip_speaker_volume, Sensitivity of the microphone of the call panel when talking using SIP
int|null
sip_mic_sensitivity, The volume of the speaker of the call panel when talking using SIP
200 |
Successful response |
401 |
Authorization token not sent or not valid |
422 |
Returns a JSON object with an error.
JSON
|
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,
"automatic_mic_volume": "bool|null",
"active_noise_reduction": "bool|null",
"main_speaker_volume": "int|null",
"main_mic_sensitivity": "int|null",
"sound_processing_mode": "int|null",
"noise_reduction_mode": "int|null",
"keystrokes_volume": "int|null",
"panel_camera_mic_sensitivity": "int|null",
"sip_speaker_volume": "int|null",
"sip_mic_sensitivity": "int|null"
}'
$data = array (
'intercom' => 0,
'automatic_mic_volume' => 'bool|null',
'active_noise_reduction' => 'bool|null',
'main_speaker_volume' => 'int|null',
'main_mic_sensitivity' => 'int|null',
'sound_processing_mode' => 'int|null',
'noise_reduction_mode' => 'int|null',
'keystrokes_volume' => 'int|null',
'panel_camera_mic_sensitivity' => 'int|null',
'sip_speaker_volume' => 'int|null',
'sip_mic_sensitivity' => 'int|null',
);
$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);