Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Door state monitor

Project Description

Door state monitor, completely written in Python.

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.


  • Install the latest released version using pip:

    pip install
  • 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:

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 make sure Ludolph is installed and has configured ludolph-doorman plugin.


Optionaly dependencies for jabber support:


For more information see the LICENSE file.

Release History

This version
History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(5.4 kB) Copy SHA256 Hash SHA256
Source Feb 15, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting