await seam.noiseSensors.noiseThresholds.create({
device_id: "8282891b-c4da-4239-8f01-56089d44b80d",
name: "My Noise Sensor",
starts_daily_at: "2025-06-20T18:29:57.000Z",
ends_daily_at: "2025-06-19T12:38:44.000Z",
noise_threshold_decibels: 50,
noise_threshold_nrs: 40,
});
/*
{
"device_id": "8282891b-c4da-4239-8f01-56089d44b80d",
"ends_daily_at": "2025-06-19T12:38:44.000Z",
"name": "My Noise Sensor",
"noise_threshold_decibels": 50,
"noise_threshold_id": "f8cef69d-625f-464c-aed4-287c06e0d7fe",
"noise_threshold_nrs": 40,
"starts_daily_at": "2025-06-20T18:29:57.000Z"
}
*/{
"noise_threshold": {
"device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ends_daily_at": "<string>",
"name": "<string>",
"noise_threshold_decibels": 123,
"noise_threshold_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"starts_daily_at": "<string>",
"noise_threshold_nrs": 123
}
}Create a Noise Threshold
Creates a new noise threshold for a noise sensor. Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
await seam.noiseSensors.noiseThresholds.create({
device_id: "8282891b-c4da-4239-8f01-56089d44b80d",
name: "My Noise Sensor",
starts_daily_at: "2025-06-20T18:29:57.000Z",
ends_daily_at: "2025-06-19T12:38:44.000Z",
noise_threshold_decibels: 50,
noise_threshold_nrs: 40,
});
/*
{
"device_id": "8282891b-c4da-4239-8f01-56089d44b80d",
"ends_daily_at": "2025-06-19T12:38:44.000Z",
"name": "My Noise Sensor",
"noise_threshold_decibels": 50,
"noise_threshold_id": "f8cef69d-625f-464c-aed4-287c06e0d7fe",
"noise_threshold_nrs": 40,
"starts_daily_at": "2025-06-20T18:29:57.000Z"
}
*/{
"noise_threshold": {
"device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ends_daily_at": "<string>",
"name": "<string>",
"noise_threshold_decibels": 123,
"noise_threshold_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"starts_daily_at": "<string>",
"noise_threshold_nrs": 123
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ID of the device for which you want to create a noise threshold.
Time at which the new noise threshold should become inactive daily.
Time at which the new noise threshold should become active daily.
Name of the new noise threshold.
Noise level in decibels for the new noise threshold.
Noise level in Noiseaware Noise Risk Score (NRS) for the new noise threshold. This parameter is only relevant for Noiseaware sensors.
Response
OK
Represents a noise threshold for a noise sensor. Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them. See the noise_threshold object.
Show child attributes
Show child attributes
Was this page helpful?