Skip to main content

Door state monitor

Project description

Door state monitor, completely written in Python.

https://badge.fury.io/py/rpi-doorman.png

Doorman is using adafruit magnetic contact switch (door sensor), with Raspberry Pi GPIO. Software might work with other sensors as well but have not been tested.

To connect to Raspberry Pi plug into GPIO PIN 16 and POWER PIN. Install and execute doorman and it should work. Alternatively you can user different PIN and execute doorman with parameter: rpi-doorman --pin pin_number.

Doorman has support to POST door status change to ludolph-doorman plugin. This way jabber notifications can be set easily.

Installation

  • Install the latest released version using pip:

    pip install https://github.com/ricco386/rpi-doorman/zipball/master
  • Make sure all dependencies (listed below) are installed (done automatically when installing via pip)

  • The rpi-doorman command should be installed somewhere in your PATH.

  • Systemd scripts are available: https://github.com/ricco386/rpi-doorman/tree/master/init.d

Systemd scripts should be run under default Raspberry Pi user (pi) so scripts can access GPIO.

For jabber notification support, configure Systemd to execute with notify parameter: rpi-doorman --notify jabber@account.com make sure Ludolph is installed and has configured ludolph-doorman plugin.

Dependencies:

Optionaly dependencies for jabber support:

License

For more information see the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rpi-doorman-0.1.1.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file rpi-doorman-0.1.1.tar.gz.

File metadata

  • Download URL: rpi-doorman-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rpi-doorman-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4dc580ec7b6f88e850311b7a8412d866073aac04e2295701600a6e997f0d605c
MD5 493f13c7a9eced77606b0c6b8e24f765
BLAKE2b-256 449cb12bf36ed5e17c4059972174d170382efb19b8310e975c39e6a0cd6406f7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page