覆盆子皮智能小门

raspi_door的Python项目详细描述


警告

2014年9月24日:该项目尚未完全投入使用-请返回 一个月左右。

重要

如果你错过了“警告”,这个项目目前 “pre-alpha”,这意味着它还不起作用。

raspi door项目包含在 门里面有覆盆子皮,这样你就可以控制你的 带awesomeness的门……或者,尽可能靠近它。

目标

下面是实现的raspi门特性的列表 将要实现,并且可以实现。

当前功能

  • 外部门铃按钮和音响支架
  • 内部运动传感器和屏幕自动开/关支持
  • 当前时间显示
  • 当前天气显示

即将推出的功能

  • 门锁/解锁控制
  • 蓝牙和WiFi连接访问控制
  • 活动记录
  • 门事件日历集成
  • 地铁服务提醒和ETAS

潜在特征

  • 带红外线照明的外部摄像头
  • 生物识别:人脸/语音/指纹/等识别
  • NFC/RFID支持
  • 带摄像头的遥控门锁/解锁功能
  • 邪恶活动探测器!伙计!

RASPI门用五金件

托多。

RASPI门软件

# (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" :-)

故障排除

  • "ImportError: No module named pkg_resources"

    如果在安装过程中遇到问题,pip 不再工作,您可能需要重新安装 设置工具。但是,您需要在不使用pip易于安装…因此,请检查https://pypi.python.org/pypi/setuptools 有关直接安装的详细信息,例如:

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

学分

  • yuv2rgb:phil burgess/为adafruit工业画你的龙
  • picamera:戴夫·休斯

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java NIO选择器最多只能选择50个SelectionKeys?   java阻止ImageButton创建新活动   为什么Java方法“Arrays.copyOf”处理中的整数数组与处理对象数组时的行为不同   java将安卓 1.6日历字段提取到vcal   将字符串转换为双精度后的java问题   java使用Webflux,是否可以使用AOP获取用于日志记录的ServerHttpRequest   java与jTextArea的基本区别是什么。setText()和jTextArea。append()方法?   java程序执行时间|将值保存到文件或数据结构?   java如何将表示字符的整数转换为字符串?   Java LWJGL新的渲染问题windows   java GUI提供异常   java创建第二个对象使类的函数不再工作   如何在java中将000验证为3位数字?   java bigO算法的时间复杂度,可以在不重复的情况下找到最长的子串   在30像素内点击按钮后,java在两个图像之间转换   java eclipse maven nexus不可解父pom   当存在其他SecurityConstraint时,java TransportGuary机密将被忽略   重新连接后激发的java Red5客户端流断开事件   javafx聊天应用程序中连接客户端的java问题