Configuring Noise Threshold Settings
Learn how to configure noise thresholds for noise sensors.
Set Up Noise Thresholds
const deviceId = "98dc7c66-045d-49cb-a62b-4bb431b0a9fa"
const noiseThresholdAttempt = await seam.noiseThresholds.create({
device_id: deviceId,
starts_daily_at: "20:00:00[America/Los_Angeles]",
ends_daily_at: "06:00:00[America/Los_Angeles]",
noise_threshold_decibels: 70
})
console.log(noiseThresholdAttempt){
action_attempt: {
status: 'pending',
action_type: 'CREATE_NOISE_THRESHOLD',
action_attempt_id: '5e24ef90-8043-44d8-89f9-9f7ae60ec390',
result: null,
error: null
},
ok: true
}Best Practices
Set Up Webhooks
Monitor Events
Last updated
Was this helpful?


