jak / homebridge-sonos-announcer

Announce things via Homebridge and Sonos
MIT License
3 stars 0 forks source link

GitHub last commit npm npm

Homebridge Sonos Announcer

Play announcements across your Sonos speakers via Homekit.

Play any sound file on demand. The intended use is for information updates such as "Door is open" to be triggered via a Home automation.

Features

Requirements

Instructions

Installation

This plugin can easily be installed from Homebridge UI or sudo npm install -g @jakspalding/homebridge-sonos-announcer

Config

This is a platform plugin and you should be able to edit the configuration via the UI.

Example config

{
  "platforms": [
    {
      "platform": "SonosAnnouncer",
      "switches": [
        {
          "deviceNames": ["Living Room", "Kitchen Speaker"],
          "switchName": "Announce Living room door open ",
          "trackUri": "http://path/to/living-room-door-open.mp3",
          "timeout": 10,
          "volume": 45,
          "delayMs": 100
        }
      ]
    }
  ]
}