Raspberry Pi Smart-ish Door
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file raspi_door-0.7.1.tar.gz
.
File metadata
- Download URL: raspi_door-0.7.1.tar.gz
- Upload date:
- Size: 740.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e217023ad5df8ff45ea8cb0c013fb06673cc37bdc9f84e7b89ca3e2c0d225fee |
|
MD5 | 24faf1c7c791e890cb42962b942d4953 |
|
BLAKE2b-256 | 4304a68a8346a9806af2052c4f9413eca7aadff7d026e70f5d771ab32e738597 |