# domoticz-sound-detection

> App to detect sudden noises above ambient from an audio stream and trigger a switch in Domoticz service.

Latest version **0.0.2** (published 2015-08-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install domoticz-sound-detection
pnpm add domoticz-sound-detection
yarn add domoticz-sound-detection
bun add domoticz-sound-detection
```

Provides the command `domoticz-sound-detection`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-08-06 |
| First published | 2015-08-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Barry John Williams |
| Maintainers | bazwilliams |
| Keywords | babymonitor, audio, noise, decibel, detection, sound, domoticz |

## Links

- npm: https://www.npmjs.com/package/domoticz-sound-detection
- Repository: https://github.com/bazwilliams/domoticz-sound-detection
- Issues: https://github.com/bazwilliams/domoticz-sound-detection/issues
- npm.io page: https://npm.io/package/domoticz-sound-detection

## Dependencies (2)

- [commander](https://npm.io/package/commander.md) ^2.8.1
- [sound-detection](https://npm.io/package/sound-detection.md) ^0.0.3

## Recent versions

- 0.0.2 (latest) — 2015-08-06
- 0.0.1 — 2015-08-06

## README

Domoticz Sound Detection
---

App to detect sudden noises above ambient from an audio stream and trigger a switch in a locally installed and running Domoticz service. 

# Installation

```bash
npm install -g domoticz-sound-detection
```

# Running

```bash
  Usage: domoticz-sound-detection [options]

  Options:

    -h, --help              output usage information
    -V, --version           output the version number
    -u --url <url>          Set the URL to the IP Camera
    -i --idx <n>            ID of switch in Domoticz
    -b --bit-depth <n>      Bit depth of audio stream [16]
    -c --channels <n>       Number of Channels [1]
    -t --trigger-level <n>  Number of dB above ambient before triggered [30]

```

The following would stream audio from `http://mycamera.audio.cgi` and toggle a dummy switch running on the locally running Domoticz server with IDX 33. 

`domoticz-sound-detection -u https://mycamera/audio.cgi -i 33`

---
_Source: https://npm.io/package/domoticz-sound-detection · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
