Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 883 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 883 Bytes

sonos-doorbell

HTTP driven doorbell chime for a Sonos system.

Sonos doorbell uses the SoCo python package to drive a doorbell chime from an HTTP Web request. It is a fully contained python service that can be paired with out IoT devices or smart doorbells to play an audio file on a set of Sonos devices.

The sonos-doorbell project launches a simple HTTP server that both receives the incoming doorbell requests and hosts the MP3 files to be used by the doorbell ring.

Launch

  1. Install python3 or run from inside a Docker envrionment with python3 setup
  2. Edit main.sh to specify the Zone name and port you want the server to be hosted on

Test

http://{hostname:port}/doorbell_press?ringtone=dingdong1&volume=45

Doorbird Systems

  1. Setup an HTTP call with the doorbell_press url you verified above
  2. Setup the doorbell press schedule to trigger the HTTP Relay