Update a device's config
curl --request POST \
--url https://api2.rhombussystems.com/api/deviceconfig/updateFacetedConfig \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"configUpdate": {
"audioFacetSettings": {},
"buttonSettings": {
"button_test_mode_enabled": true,
"updatedSetMethodMap": {}
},
"climateSettings": {
"alert_window_minutes": 123,
"smoke_ai_threshold": 123,
"thc_ai_threshold": 123,
"updatedSetMethodMap": {},
"vape_ai_threshold": 123
},
"deviceSettings": {
"ai_license_invalid": true,
"bandwidth_reports_disabled": true,
"firmware_dev_settings": {},
"led_mode_blink_period_ms": 123,
"led_stealth_mode": true,
"lightweight_detection_disabled": true,
"live_license_invalid": true,
"media_ttl_minutes": 123,
"on_demand_license_invalid": true,
"scanner_agent_disabled": true,
"storage_target_free_megabytes": 123,
"storage_target_free_space_permyriad": 123,
"updatedSetMethodMap": {}
},
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"deviceVideoSettings": {
"alert_rate_limit_human_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"alert_rate_limit_motion_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"alert_rate_limit_vehicle_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"ir_double_tap": true,
"updatedSetMethodMap": {}
},
"doorControllerSettings": {
"autocomponentize_readers": true,
"autoregister_readers": true,
"flip_display_orientation": true,
"pressure_switch_tamper_normally_open": true,
"proximity_sensor_tamper_disabled": true,
"proximity_sensor_tamper_distance_threshold": 123,
"updatedSetMethodMap": {}
},
"doorReaderSettings": {
"dr_enable_audio_feedback": true,
"tof_max_distance": 123,
"tof_min_distance": 123,
"tof_min_signal_over_noise": 123,
"updatedSetMethodMap": {}
},
"doorSensorSettings": {
"ajar_threshold_enabled": true,
"ajar_threshold_sec": 123,
"updatedSetMethodMap": {}
},
"environmentalGatewaySettings": {
"data_measurement_interval_sec": 123,
"data_upload_interval_sec": 123,
"false_positive_confidence_threshold": 123,
"leak_detection_threshold": 123,
"leak_detector_present": true,
"moist_detection_threshold": 123,
"smoke_confidence_threshold": 123,
"smoke_thc_confidence_threshold": 123,
"smoke_tobacco_confidence_threshold": 123,
"updatedSetMethodMap": {},
"vape_alert_backoff_sec": 123,
"vape_confidence_threshold": 123,
"vape_thc_confidence_threshold": 123
},
"metricsAgentSettings": {
"batch_on": true,
"batch_size": 100000,
"count_flush_interval": 1,
"level": "ESSENTIAL",
"log_update_interval": 1800,
"server_flush_interval": 15,
"updatedSetMethodMap": {}
},
"robotSettings": {
"home_latitude": 123,
"home_longitude": 123,
"map_assigned_at_ms": 123,
"map_assignment_id": "AAAAAAAAAAAAAAAAAAAAAA",
"map_id": "AAAAAAAAAAAAAAAAAAAAAA",
"pose": {
"orientation": [
123
],
"position": [
123
]
},
"updatedSetMethodMap": {}
},
"tamperSettings": {
"accelerometer_change_tamper_threshold": 123,
"accelerometer_disabled": true,
"pressure_switch_tamper_disabled": true,
"updatedSetMethodMap": {}
},
"videoDoorbellSettings": {
"standalone_doorbell_mode": true,
"updatedSetMethodMap": {}
},
"videoFacetSettings": {}
}
}
'import requests
url = "https://api2.rhombussystems.com/api/deviceconfig/updateFacetedConfig"
payload = { "configUpdate": {
"audioFacetSettings": {},
"buttonSettings": {
"button_test_mode_enabled": True,
"updatedSetMethodMap": {}
},
"climateSettings": {
"alert_window_minutes": 123,
"smoke_ai_threshold": 123,
"thc_ai_threshold": 123,
"updatedSetMethodMap": {},
"vape_ai_threshold": 123
},
"deviceSettings": {
"ai_license_invalid": True,
"bandwidth_reports_disabled": True,
"firmware_dev_settings": {},
"led_mode_blink_period_ms": 123,
"led_stealth_mode": True,
"lightweight_detection_disabled": True,
"live_license_invalid": True,
"media_ttl_minutes": 123,
"on_demand_license_invalid": True,
"scanner_agent_disabled": True,
"storage_target_free_megabytes": 123,
"storage_target_free_space_permyriad": 123,
"updatedSetMethodMap": {}
},
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"deviceVideoSettings": {
"alert_rate_limit_human_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"alert_rate_limit_motion_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"alert_rate_limit_vehicle_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"ir_double_tap": True,
"updatedSetMethodMap": {}
},
"doorControllerSettings": {
"autocomponentize_readers": True,
"autoregister_readers": True,
"flip_display_orientation": True,
"pressure_switch_tamper_normally_open": True,
"proximity_sensor_tamper_disabled": True,
"proximity_sensor_tamper_distance_threshold": 123,
"updatedSetMethodMap": {}
},
"doorReaderSettings": {
"dr_enable_audio_feedback": True,
"tof_max_distance": 123,
"tof_min_distance": 123,
"tof_min_signal_over_noise": 123,
"updatedSetMethodMap": {}
},
"doorSensorSettings": {
"ajar_threshold_enabled": True,
"ajar_threshold_sec": 123,
"updatedSetMethodMap": {}
},
"environmentalGatewaySettings": {
"data_measurement_interval_sec": 123,
"data_upload_interval_sec": 123,
"false_positive_confidence_threshold": 123,
"leak_detection_threshold": 123,
"leak_detector_present": True,
"moist_detection_threshold": 123,
"smoke_confidence_threshold": 123,
"smoke_thc_confidence_threshold": 123,
"smoke_tobacco_confidence_threshold": 123,
"updatedSetMethodMap": {},
"vape_alert_backoff_sec": 123,
"vape_confidence_threshold": 123,
"vape_thc_confidence_threshold": 123
},
"metricsAgentSettings": {
"batch_on": True,
"batch_size": 100000,
"count_flush_interval": 1,
"level": "ESSENTIAL",
"log_update_interval": 1800,
"server_flush_interval": 15,
"updatedSetMethodMap": {}
},
"robotSettings": {
"home_latitude": 123,
"home_longitude": 123,
"map_assigned_at_ms": 123,
"map_assignment_id": "AAAAAAAAAAAAAAAAAAAAAA",
"map_id": "AAAAAAAAAAAAAAAAAAAAAA",
"pose": {
"orientation": [123],
"position": [123]
},
"updatedSetMethodMap": {}
},
"tamperSettings": {
"accelerometer_change_tamper_threshold": 123,
"accelerometer_disabled": True,
"pressure_switch_tamper_disabled": True,
"updatedSetMethodMap": {}
},
"videoDoorbellSettings": {
"standalone_doorbell_mode": True,
"updatedSetMethodMap": {}
},
"videoFacetSettings": {}
} }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
configUpdate: {
audioFacetSettings: {},
buttonSettings: {button_test_mode_enabled: true, updatedSetMethodMap: {}},
climateSettings: {
alert_window_minutes: 123,
smoke_ai_threshold: 123,
thc_ai_threshold: 123,
updatedSetMethodMap: {},
vape_ai_threshold: 123
},
deviceSettings: {
ai_license_invalid: true,
bandwidth_reports_disabled: true,
firmware_dev_settings: {},
led_mode_blink_period_ms: 123,
led_stealth_mode: true,
lightweight_detection_disabled: true,
live_license_invalid: true,
media_ttl_minutes: 123,
on_demand_license_invalid: true,
scanner_agent_disabled: true,
storage_target_free_megabytes: 123,
storage_target_free_space_permyriad: 123,
updatedSetMethodMap: {}
},
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
deviceVideoSettings: {
alert_rate_limit_human_only: {
base_interval_ms: 123,
burst_token_generation_ms: 123,
burst_token_initial_count: 123,
burst_token_max_count: 123
},
alert_rate_limit_motion_only: {
base_interval_ms: 123,
burst_token_generation_ms: 123,
burst_token_initial_count: 123,
burst_token_max_count: 123
},
alert_rate_limit_vehicle_only: {
base_interval_ms: 123,
burst_token_generation_ms: 123,
burst_token_initial_count: 123,
burst_token_max_count: 123
},
ir_double_tap: true,
updatedSetMethodMap: {}
},
doorControllerSettings: {
autocomponentize_readers: true,
autoregister_readers: true,
flip_display_orientation: true,
pressure_switch_tamper_normally_open: true,
proximity_sensor_tamper_disabled: true,
proximity_sensor_tamper_distance_threshold: 123,
updatedSetMethodMap: {}
},
doorReaderSettings: {
dr_enable_audio_feedback: true,
tof_max_distance: 123,
tof_min_distance: 123,
tof_min_signal_over_noise: 123,
updatedSetMethodMap: {}
},
doorSensorSettings: {ajar_threshold_enabled: true, ajar_threshold_sec: 123, updatedSetMethodMap: {}},
environmentalGatewaySettings: {
data_measurement_interval_sec: 123,
data_upload_interval_sec: 123,
false_positive_confidence_threshold: 123,
leak_detection_threshold: 123,
leak_detector_present: true,
moist_detection_threshold: 123,
smoke_confidence_threshold: 123,
smoke_thc_confidence_threshold: 123,
smoke_tobacco_confidence_threshold: 123,
updatedSetMethodMap: {},
vape_alert_backoff_sec: 123,
vape_confidence_threshold: 123,
vape_thc_confidence_threshold: 123
},
metricsAgentSettings: {
batch_on: true,
batch_size: 100000,
count_flush_interval: 1,
level: 'ESSENTIAL',
log_update_interval: 1800,
server_flush_interval: 15,
updatedSetMethodMap: {}
},
robotSettings: {
home_latitude: 123,
home_longitude: 123,
map_assigned_at_ms: 123,
map_assignment_id: 'AAAAAAAAAAAAAAAAAAAAAA',
map_id: 'AAAAAAAAAAAAAAAAAAAAAA',
pose: {orientation: [123], position: [123]},
updatedSetMethodMap: {}
},
tamperSettings: {
accelerometer_change_tamper_threshold: 123,
accelerometer_disabled: true,
pressure_switch_tamper_disabled: true,
updatedSetMethodMap: {}
},
videoDoorbellSettings: {standalone_doorbell_mode: true, updatedSetMethodMap: {}},
videoFacetSettings: {}
}
})
};
fetch('https://api2.rhombussystems.com/api/deviceconfig/updateFacetedConfig', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/deviceconfig/updateFacetedConfig")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"configUpdate\": {\n \"audioFacetSettings\": {},\n \"buttonSettings\": {\n \"button_test_mode_enabled\": true,\n \"updatedSetMethodMap\": {}\n },\n \"climateSettings\": {\n \"alert_window_minutes\": 123,\n \"smoke_ai_threshold\": 123,\n \"thc_ai_threshold\": 123,\n \"updatedSetMethodMap\": {},\n \"vape_ai_threshold\": 123\n },\n \"deviceSettings\": {\n \"ai_license_invalid\": true,\n \"bandwidth_reports_disabled\": true,\n \"firmware_dev_settings\": {},\n \"led_mode_blink_period_ms\": 123,\n \"led_stealth_mode\": true,\n \"lightweight_detection_disabled\": true,\n \"live_license_invalid\": true,\n \"media_ttl_minutes\": 123,\n \"on_demand_license_invalid\": true,\n \"scanner_agent_disabled\": true,\n \"storage_target_free_megabytes\": 123,\n \"storage_target_free_space_permyriad\": 123,\n \"updatedSetMethodMap\": {}\n },\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"deviceVideoSettings\": {\n \"alert_rate_limit_human_only\": {\n \"base_interval_ms\": 123,\n \"burst_token_generation_ms\": 123,\n \"burst_token_initial_count\": 123,\n \"burst_token_max_count\": 123\n },\n \"alert_rate_limit_motion_only\": {\n \"base_interval_ms\": 123,\n \"burst_token_generation_ms\": 123,\n \"burst_token_initial_count\": 123,\n \"burst_token_max_count\": 123\n },\n \"alert_rate_limit_vehicle_only\": {\n \"base_interval_ms\": 123,\n \"burst_token_generation_ms\": 123,\n \"burst_token_initial_count\": 123,\n \"burst_token_max_count\": 123\n },\n \"ir_double_tap\": true,\n \"updatedSetMethodMap\": {}\n },\n \"doorControllerSettings\": {\n \"autocomponentize_readers\": true,\n \"autoregister_readers\": true,\n \"flip_display_orientation\": true,\n \"pressure_switch_tamper_normally_open\": true,\n \"proximity_sensor_tamper_disabled\": true,\n \"proximity_sensor_tamper_distance_threshold\": 123,\n \"updatedSetMethodMap\": {}\n },\n \"doorReaderSettings\": {\n \"dr_enable_audio_feedback\": true,\n \"tof_max_distance\": 123,\n \"tof_min_distance\": 123,\n \"tof_min_signal_over_noise\": 123,\n \"updatedSetMethodMap\": {}\n },\n \"doorSensorSettings\": {\n \"ajar_threshold_enabled\": true,\n \"ajar_threshold_sec\": 123,\n \"updatedSetMethodMap\": {}\n },\n \"environmentalGatewaySettings\": {\n \"data_measurement_interval_sec\": 123,\n \"data_upload_interval_sec\": 123,\n \"false_positive_confidence_threshold\": 123,\n \"leak_detection_threshold\": 123,\n \"leak_detector_present\": true,\n \"moist_detection_threshold\": 123,\n \"smoke_confidence_threshold\": 123,\n \"smoke_thc_confidence_threshold\": 123,\n \"smoke_tobacco_confidence_threshold\": 123,\n \"updatedSetMethodMap\": {},\n \"vape_alert_backoff_sec\": 123,\n \"vape_confidence_threshold\": 123,\n \"vape_thc_confidence_threshold\": 123\n },\n \"metricsAgentSettings\": {\n \"batch_on\": true,\n \"batch_size\": 100000,\n \"count_flush_interval\": 1,\n \"level\": \"ESSENTIAL\",\n \"log_update_interval\": 1800,\n \"server_flush_interval\": 15,\n \"updatedSetMethodMap\": {}\n },\n \"robotSettings\": {\n \"home_latitude\": 123,\n \"home_longitude\": 123,\n \"map_assigned_at_ms\": 123,\n \"map_assignment_id\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"map_id\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"pose\": {\n \"orientation\": [\n 123\n ],\n \"position\": [\n 123\n ]\n },\n \"updatedSetMethodMap\": {}\n },\n \"tamperSettings\": {\n \"accelerometer_change_tamper_threshold\": 123,\n \"accelerometer_disabled\": true,\n \"pressure_switch_tamper_disabled\": true,\n \"updatedSetMethodMap\": {}\n },\n \"videoDoorbellSettings\": {\n \"standalone_doorbell_mode\": true,\n \"updatedSetMethodMap\": {}\n },\n \"videoFacetSettings\": {}\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Device Config Webservice
Update a device's config
Update a device’s config
POST
/
api
/
deviceconfig
/
updateFacetedConfig
Update a device's config
curl --request POST \
--url https://api2.rhombussystems.com/api/deviceconfig/updateFacetedConfig \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '
{
"configUpdate": {
"audioFacetSettings": {},
"buttonSettings": {
"button_test_mode_enabled": true,
"updatedSetMethodMap": {}
},
"climateSettings": {
"alert_window_minutes": 123,
"smoke_ai_threshold": 123,
"thc_ai_threshold": 123,
"updatedSetMethodMap": {},
"vape_ai_threshold": 123
},
"deviceSettings": {
"ai_license_invalid": true,
"bandwidth_reports_disabled": true,
"firmware_dev_settings": {},
"led_mode_blink_period_ms": 123,
"led_stealth_mode": true,
"lightweight_detection_disabled": true,
"live_license_invalid": true,
"media_ttl_minutes": 123,
"on_demand_license_invalid": true,
"scanner_agent_disabled": true,
"storage_target_free_megabytes": 123,
"storage_target_free_space_permyriad": 123,
"updatedSetMethodMap": {}
},
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"deviceVideoSettings": {
"alert_rate_limit_human_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"alert_rate_limit_motion_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"alert_rate_limit_vehicle_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"ir_double_tap": true,
"updatedSetMethodMap": {}
},
"doorControllerSettings": {
"autocomponentize_readers": true,
"autoregister_readers": true,
"flip_display_orientation": true,
"pressure_switch_tamper_normally_open": true,
"proximity_sensor_tamper_disabled": true,
"proximity_sensor_tamper_distance_threshold": 123,
"updatedSetMethodMap": {}
},
"doorReaderSettings": {
"dr_enable_audio_feedback": true,
"tof_max_distance": 123,
"tof_min_distance": 123,
"tof_min_signal_over_noise": 123,
"updatedSetMethodMap": {}
},
"doorSensorSettings": {
"ajar_threshold_enabled": true,
"ajar_threshold_sec": 123,
"updatedSetMethodMap": {}
},
"environmentalGatewaySettings": {
"data_measurement_interval_sec": 123,
"data_upload_interval_sec": 123,
"false_positive_confidence_threshold": 123,
"leak_detection_threshold": 123,
"leak_detector_present": true,
"moist_detection_threshold": 123,
"smoke_confidence_threshold": 123,
"smoke_thc_confidence_threshold": 123,
"smoke_tobacco_confidence_threshold": 123,
"updatedSetMethodMap": {},
"vape_alert_backoff_sec": 123,
"vape_confidence_threshold": 123,
"vape_thc_confidence_threshold": 123
},
"metricsAgentSettings": {
"batch_on": true,
"batch_size": 100000,
"count_flush_interval": 1,
"level": "ESSENTIAL",
"log_update_interval": 1800,
"server_flush_interval": 15,
"updatedSetMethodMap": {}
},
"robotSettings": {
"home_latitude": 123,
"home_longitude": 123,
"map_assigned_at_ms": 123,
"map_assignment_id": "AAAAAAAAAAAAAAAAAAAAAA",
"map_id": "AAAAAAAAAAAAAAAAAAAAAA",
"pose": {
"orientation": [
123
],
"position": [
123
]
},
"updatedSetMethodMap": {}
},
"tamperSettings": {
"accelerometer_change_tamper_threshold": 123,
"accelerometer_disabled": true,
"pressure_switch_tamper_disabled": true,
"updatedSetMethodMap": {}
},
"videoDoorbellSettings": {
"standalone_doorbell_mode": true,
"updatedSetMethodMap": {}
},
"videoFacetSettings": {}
}
}
'import requests
url = "https://api2.rhombussystems.com/api/deviceconfig/updateFacetedConfig"
payload = { "configUpdate": {
"audioFacetSettings": {},
"buttonSettings": {
"button_test_mode_enabled": True,
"updatedSetMethodMap": {}
},
"climateSettings": {
"alert_window_minutes": 123,
"smoke_ai_threshold": 123,
"thc_ai_threshold": 123,
"updatedSetMethodMap": {},
"vape_ai_threshold": 123
},
"deviceSettings": {
"ai_license_invalid": True,
"bandwidth_reports_disabled": True,
"firmware_dev_settings": {},
"led_mode_blink_period_ms": 123,
"led_stealth_mode": True,
"lightweight_detection_disabled": True,
"live_license_invalid": True,
"media_ttl_minutes": 123,
"on_demand_license_invalid": True,
"scanner_agent_disabled": True,
"storage_target_free_megabytes": 123,
"storage_target_free_space_permyriad": 123,
"updatedSetMethodMap": {}
},
"deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA",
"deviceVideoSettings": {
"alert_rate_limit_human_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"alert_rate_limit_motion_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"alert_rate_limit_vehicle_only": {
"base_interval_ms": 123,
"burst_token_generation_ms": 123,
"burst_token_initial_count": 123,
"burst_token_max_count": 123
},
"ir_double_tap": True,
"updatedSetMethodMap": {}
},
"doorControllerSettings": {
"autocomponentize_readers": True,
"autoregister_readers": True,
"flip_display_orientation": True,
"pressure_switch_tamper_normally_open": True,
"proximity_sensor_tamper_disabled": True,
"proximity_sensor_tamper_distance_threshold": 123,
"updatedSetMethodMap": {}
},
"doorReaderSettings": {
"dr_enable_audio_feedback": True,
"tof_max_distance": 123,
"tof_min_distance": 123,
"tof_min_signal_over_noise": 123,
"updatedSetMethodMap": {}
},
"doorSensorSettings": {
"ajar_threshold_enabled": True,
"ajar_threshold_sec": 123,
"updatedSetMethodMap": {}
},
"environmentalGatewaySettings": {
"data_measurement_interval_sec": 123,
"data_upload_interval_sec": 123,
"false_positive_confidence_threshold": 123,
"leak_detection_threshold": 123,
"leak_detector_present": True,
"moist_detection_threshold": 123,
"smoke_confidence_threshold": 123,
"smoke_thc_confidence_threshold": 123,
"smoke_tobacco_confidence_threshold": 123,
"updatedSetMethodMap": {},
"vape_alert_backoff_sec": 123,
"vape_confidence_threshold": 123,
"vape_thc_confidence_threshold": 123
},
"metricsAgentSettings": {
"batch_on": True,
"batch_size": 100000,
"count_flush_interval": 1,
"level": "ESSENTIAL",
"log_update_interval": 1800,
"server_flush_interval": 15,
"updatedSetMethodMap": {}
},
"robotSettings": {
"home_latitude": 123,
"home_longitude": 123,
"map_assigned_at_ms": 123,
"map_assignment_id": "AAAAAAAAAAAAAAAAAAAAAA",
"map_id": "AAAAAAAAAAAAAAAAAAAAAA",
"pose": {
"orientation": [123],
"position": [123]
},
"updatedSetMethodMap": {}
},
"tamperSettings": {
"accelerometer_change_tamper_threshold": 123,
"accelerometer_disabled": True,
"pressure_switch_tamper_disabled": True,
"updatedSetMethodMap": {}
},
"videoDoorbellSettings": {
"standalone_doorbell_mode": True,
"updatedSetMethodMap": {}
},
"videoFacetSettings": {}
} }
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
configUpdate: {
audioFacetSettings: {},
buttonSettings: {button_test_mode_enabled: true, updatedSetMethodMap: {}},
climateSettings: {
alert_window_minutes: 123,
smoke_ai_threshold: 123,
thc_ai_threshold: 123,
updatedSetMethodMap: {},
vape_ai_threshold: 123
},
deviceSettings: {
ai_license_invalid: true,
bandwidth_reports_disabled: true,
firmware_dev_settings: {},
led_mode_blink_period_ms: 123,
led_stealth_mode: true,
lightweight_detection_disabled: true,
live_license_invalid: true,
media_ttl_minutes: 123,
on_demand_license_invalid: true,
scanner_agent_disabled: true,
storage_target_free_megabytes: 123,
storage_target_free_space_permyriad: 123,
updatedSetMethodMap: {}
},
deviceUuid: 'AAAAAAAAAAAAAAAAAAAAAA',
deviceVideoSettings: {
alert_rate_limit_human_only: {
base_interval_ms: 123,
burst_token_generation_ms: 123,
burst_token_initial_count: 123,
burst_token_max_count: 123
},
alert_rate_limit_motion_only: {
base_interval_ms: 123,
burst_token_generation_ms: 123,
burst_token_initial_count: 123,
burst_token_max_count: 123
},
alert_rate_limit_vehicle_only: {
base_interval_ms: 123,
burst_token_generation_ms: 123,
burst_token_initial_count: 123,
burst_token_max_count: 123
},
ir_double_tap: true,
updatedSetMethodMap: {}
},
doorControllerSettings: {
autocomponentize_readers: true,
autoregister_readers: true,
flip_display_orientation: true,
pressure_switch_tamper_normally_open: true,
proximity_sensor_tamper_disabled: true,
proximity_sensor_tamper_distance_threshold: 123,
updatedSetMethodMap: {}
},
doorReaderSettings: {
dr_enable_audio_feedback: true,
tof_max_distance: 123,
tof_min_distance: 123,
tof_min_signal_over_noise: 123,
updatedSetMethodMap: {}
},
doorSensorSettings: {ajar_threshold_enabled: true, ajar_threshold_sec: 123, updatedSetMethodMap: {}},
environmentalGatewaySettings: {
data_measurement_interval_sec: 123,
data_upload_interval_sec: 123,
false_positive_confidence_threshold: 123,
leak_detection_threshold: 123,
leak_detector_present: true,
moist_detection_threshold: 123,
smoke_confidence_threshold: 123,
smoke_thc_confidence_threshold: 123,
smoke_tobacco_confidence_threshold: 123,
updatedSetMethodMap: {},
vape_alert_backoff_sec: 123,
vape_confidence_threshold: 123,
vape_thc_confidence_threshold: 123
},
metricsAgentSettings: {
batch_on: true,
batch_size: 100000,
count_flush_interval: 1,
level: 'ESSENTIAL',
log_update_interval: 1800,
server_flush_interval: 15,
updatedSetMethodMap: {}
},
robotSettings: {
home_latitude: 123,
home_longitude: 123,
map_assigned_at_ms: 123,
map_assignment_id: 'AAAAAAAAAAAAAAAAAAAAAA',
map_id: 'AAAAAAAAAAAAAAAAAAAAAA',
pose: {orientation: [123], position: [123]},
updatedSetMethodMap: {}
},
tamperSettings: {
accelerometer_change_tamper_threshold: 123,
accelerometer_disabled: true,
pressure_switch_tamper_disabled: true,
updatedSetMethodMap: {}
},
videoDoorbellSettings: {standalone_doorbell_mode: true, updatedSetMethodMap: {}},
videoFacetSettings: {}
}
})
};
fetch('https://api2.rhombussystems.com/api/deviceconfig/updateFacetedConfig', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/deviceconfig/updateFacetedConfig")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"configUpdate\": {\n \"audioFacetSettings\": {},\n \"buttonSettings\": {\n \"button_test_mode_enabled\": true,\n \"updatedSetMethodMap\": {}\n },\n \"climateSettings\": {\n \"alert_window_minutes\": 123,\n \"smoke_ai_threshold\": 123,\n \"thc_ai_threshold\": 123,\n \"updatedSetMethodMap\": {},\n \"vape_ai_threshold\": 123\n },\n \"deviceSettings\": {\n \"ai_license_invalid\": true,\n \"bandwidth_reports_disabled\": true,\n \"firmware_dev_settings\": {},\n \"led_mode_blink_period_ms\": 123,\n \"led_stealth_mode\": true,\n \"lightweight_detection_disabled\": true,\n \"live_license_invalid\": true,\n \"media_ttl_minutes\": 123,\n \"on_demand_license_invalid\": true,\n \"scanner_agent_disabled\": true,\n \"storage_target_free_megabytes\": 123,\n \"storage_target_free_space_permyriad\": 123,\n \"updatedSetMethodMap\": {}\n },\n \"deviceUuid\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"deviceVideoSettings\": {\n \"alert_rate_limit_human_only\": {\n \"base_interval_ms\": 123,\n \"burst_token_generation_ms\": 123,\n \"burst_token_initial_count\": 123,\n \"burst_token_max_count\": 123\n },\n \"alert_rate_limit_motion_only\": {\n \"base_interval_ms\": 123,\n \"burst_token_generation_ms\": 123,\n \"burst_token_initial_count\": 123,\n \"burst_token_max_count\": 123\n },\n \"alert_rate_limit_vehicle_only\": {\n \"base_interval_ms\": 123,\n \"burst_token_generation_ms\": 123,\n \"burst_token_initial_count\": 123,\n \"burst_token_max_count\": 123\n },\n \"ir_double_tap\": true,\n \"updatedSetMethodMap\": {}\n },\n \"doorControllerSettings\": {\n \"autocomponentize_readers\": true,\n \"autoregister_readers\": true,\n \"flip_display_orientation\": true,\n \"pressure_switch_tamper_normally_open\": true,\n \"proximity_sensor_tamper_disabled\": true,\n \"proximity_sensor_tamper_distance_threshold\": 123,\n \"updatedSetMethodMap\": {}\n },\n \"doorReaderSettings\": {\n \"dr_enable_audio_feedback\": true,\n \"tof_max_distance\": 123,\n \"tof_min_distance\": 123,\n \"tof_min_signal_over_noise\": 123,\n \"updatedSetMethodMap\": {}\n },\n \"doorSensorSettings\": {\n \"ajar_threshold_enabled\": true,\n \"ajar_threshold_sec\": 123,\n \"updatedSetMethodMap\": {}\n },\n \"environmentalGatewaySettings\": {\n \"data_measurement_interval_sec\": 123,\n \"data_upload_interval_sec\": 123,\n \"false_positive_confidence_threshold\": 123,\n \"leak_detection_threshold\": 123,\n \"leak_detector_present\": true,\n \"moist_detection_threshold\": 123,\n \"smoke_confidence_threshold\": 123,\n \"smoke_thc_confidence_threshold\": 123,\n \"smoke_tobacco_confidence_threshold\": 123,\n \"updatedSetMethodMap\": {},\n \"vape_alert_backoff_sec\": 123,\n \"vape_confidence_threshold\": 123,\n \"vape_thc_confidence_threshold\": 123\n },\n \"metricsAgentSettings\": {\n \"batch_on\": true,\n \"batch_size\": 100000,\n \"count_flush_interval\": 1,\n \"level\": \"ESSENTIAL\",\n \"log_update_interval\": 1800,\n \"server_flush_interval\": 15,\n \"updatedSetMethodMap\": {}\n },\n \"robotSettings\": {\n \"home_latitude\": 123,\n \"home_longitude\": 123,\n \"map_assigned_at_ms\": 123,\n \"map_assignment_id\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"map_id\": \"AAAAAAAAAAAAAAAAAAAAAA\",\n \"pose\": {\n \"orientation\": [\n 123\n ],\n \"position\": [\n 123\n ]\n },\n \"updatedSetMethodMap\": {}\n },\n \"tamperSettings\": {\n \"accelerometer_change_tamper_threshold\": 123,\n \"accelerometer_disabled\": true,\n \"pressure_switch_tamper_disabled\": true,\n \"updatedSetMethodMap\": {}\n },\n \"videoDoorbellSettings\": {\n \"standalone_doorbell_mode\": true,\n \"updatedSetMethodMap\": {}\n },\n \"videoFacetSettings\": {}\n }\n}")
.asString();{
"error": true,
"errorMsg": "<string>",
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
Available options:
api-token, api, partner-api-token, partner-api Body
application/json
Request object for updating a device's faceted user configuration.
Configuration updates to apply to the device
Show child attributes
Show child attributes
Last modified on August 7, 2026
⌘I