Noise Sensors
Devices that will send alerts when noise levels exceed a threshold.
Last updated
Devices that will send alerts when noise levels exceed a threshold.
Last updated
© Seam Labs, Inc. All rights reserved.
This endpoint allows to to generate a list of currently available noise thresholds for a specific device. For example, to generate the list of thresholds for a device with the id, 123e4567-e89b-12d3-a456-426614174000
, you would make the following call:
Then, you would receive a response like this:
Here, we can see the device has two thresholds- one during the night and one during the day.
For a more in-depth guide to threshold creation, check out our guide here.
If your device has no default thresholds, or you wish to create custom ones, you can create a noise threshold with the Create Noise Threshold
endpoint. For example, you can create an endpoint like this:
This creates a threshold creates a noise threshold of 70 decibels from 20:00-06:00 PST called builtin_quiet_hours
, and will return this JSON response:
You can change the thresholds you’ve already created. For example, if we wanted to change the builtin_quiet_hours
threshold we saw above, we can do something like this:
This increases the noise threshold from 70 to 75 decibels. The above returns the edited threshold:
Finally, you can delete a threshold. You’ll need to know the device and threshold id to delete the threshold. For example:
This permanently deletes the built_in_normal
threshold from the device. You’ll see something like this as a return:
For more details on each endpoint, see our API References: