Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zefer/doorbell

Receive a doorbell as mobile & desktop push notifications
https://github.com/zefer/doorbell

doorbell firebase firebase-cloud-messaging gpio push-notifications raspberry-pi raspberrypi

Last synced: about 1 month ago
JSON representation

Receive a doorbell as mobile & desktop push notifications

Awesome Lists containing this project

README

        

# Doorbell

A trivial Raspberry Pi Doorbell project to help avoid missing the doorbell when
your music is too loud!

It pauses the music when the doorbell rings. Expand the bash script as you see
fit!

## Setup: Doorbell Wiring

It's wise to avoid wiring your Pi directly into the doorbell circuit since this
will likely damage the board, especially since many doorbells use 8v AC. I
solved this by using a small optocoupler to isolate the doorbell and Pi
circuits.

## Setup: Raspberry Pi

* Wire the doorbell (isolated, see above) or a push button to GND & GPIO pin 18
* Compile it (see deploy.sh for a Raspberry Pi compilation)
* Run it:
* `./doorbell`
* With [a systemd unit][systemd-unit]

## Setup: Ansible Example

See this [ansible role][ansible-role] for the full Pi software set-up I use.

[ansible-role]: https://github.com/zefer/ansible/blob/master/roles/doorbell
[systemd-unit]: https://github.com/zefer/ansible/blob/master/roles/doorbell/templates/doorbell.service