Create Noise Thresholds
Create a Noise Threshold on your Noise Sensor
Create Noise Threshold on Device
POST
https://connect.getseam.com/noise_sensors/noise_thresholds/create
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer <API_KEY> |
Request Body
Name | Type | Description |
---|---|---|
device_id* | String | Device id of a device to create a noise threshold on |
starts_daily_at* | String | Time when noise threshold becomes active daily |
ends_daily_at* | String | Time when noise threshold becomes inactive daily |
name | String | Name of the Noise Threshold |
noise_threshold_decibels | String | Noise level in decibels |
noise_threshold_nrs | String | Noise level in Noiseaware Noise Risk Score (NRS) (only relevant for Noiseaware sensors) |
Code Example
Parameters
| string | Device id of a device to create a noise threshold on |
| string | Name of the Noise Threshold |
| Timestamp of when the Noise Threshold becomes active daily | |
| Timestamp of when the Noise Threshold becomes inactive daily | |
| number | The noise level in decibels |
| number, optional | Noise Level in Noiseaware Noise Risk Score (NRS) (only relevant for Noiseaware sensors) |
Response
This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.
JSON format
Last updated