Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zefer/doorbell
- Owner: zefer
- Created: 2017-11-12T16:08:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-23T14:34:06.000Z (over 3 years ago)
- Last Synced: 2024-06-21T15:47:58.373Z (5 months ago)
- Topics: doorbell, firebase, firebase-cloud-messaging, gpio, push-notifications, raspberry-pi, raspberrypi
- Language: Go
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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