Skip to main content

The raspi-door project comprises the GUI that is run on the Raspberry PI on the inside of the door so that you can control your door with awesomeness… or, as close as I can get it there.

Objectives

Here are the list of raspi-door features that are implemented, going to be implemented, and may be implemented.

Current Features

  • Exterior door bell button and sound support

  • Interior motion sensor and screen auto-on/off support

  • Current time display

  • Current weather display

Upcoming Features

  • Door lock/unlock control

  • Bluetooth & WiFi connectivity access control

  • Activity logging

  • Door-event calendar integration

  • Subway service alerts & ETAs

Potential Features

  • Exterior camera with infrared lighting

  • Biometrics: face/voice/fingerprint/etc recognition

  • NFC/RFID support

  • Remote door lock/unlock with camera feed

  • Nefarious activity detector! YA MAN!

Raspi-Door Hardware

TODO.

Raspi-Door Software

# (all commands as root *or* preceded with "sudo " *or* you
#  know what you are doing... :-)

# (optional) create a virtualenv for raspi-door
$ virtualenv --prompt '(raspi-door) ' /path/to/virtualenv
$ . /path/to/virtualenv/bin/activate

# install pre-requisite pygame
#   => not needed once issue #59 has been fixed:
#     https://bitbucket.org/pygame/pygame/issues/59/pygame-and-pip
# TODO: figure out why this is necessary...
$ wget http://www.pygame.org/ftp/pygame-1.9.1release.tar.gz
# IFF pygame disappears, there is a cache here:
  $ wget https://github.com/metagriffin/raspi-door/raw/master/cache/pygame-1.9.1release.tar.gz
$ sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev \
  libsdl-mixer1.2-dev libsdl-ttf2.0-dev \
  libsmpeg-dev libportmidi-dev
$ ln -s ../libv4l1-videodev.h /usr/include/linux/videodev.h
$ easy_install pygame-1.9.1release.tar.gz

# install pre-requisite pgu
# TODO: figure out why this is necessary...
$ wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pgu/pgu-0.18.zip
# IFF pgu disappears, there is a cache here:
  $ wget https://github.com/metagriffin/raspi-door/raw/master/cache/pgu-0.18.zip
$ easy_install pgu-0.18.zip

$ pip install raspi-door

# configure raspi-door
$ raspi-door --initialize > /etc/raspi-door.conf
$ nano /etc/raspi-door.conf
  # review all of the configuration options... and open a
  # raspi-door issue if anything is "unclear" :-)

Troubleshooting

  • "ImportError: No module named pkg_resources"

    If you run into an issue during the install process and pip just doesn’t work anymore, you may need to re-install setuptools. However, you need to do this without using pip or easy_install… so, check https://pypi.python.org/pypi/setuptools for direct installation details, i.e.:

    $ wget https://bootstrap.pypa.io/ez_setup.py -O - | python

Credits

  • yuv2rgb: Phil Burgess / Paint Your Dragon for Adafruit Industries

  • picamera: Dave Hughes

Metadata

Release files for raspi_door 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raspi_door 0.7.1
File Size Uploaded
raspi_door-0.7.1.tar.gz 740.7 kB Details

Release files / raspi_door-0.7.1.tar.gz

Download URL raspi_door-0.7.1.tar.gz
Size 740.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e217023ad5df8ff45ea8cb0c013fb06673cc37bdc9f84e7b89ca3e2c0d225fee
BLAKE2b-256 checksum
How to use checksums
4304a68a8346a9806af2052c4f9413eca7aadff7d026e70f5d771ab32e738597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.7.1 This release

1 release file

0.7.0

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page