lead-in

a little lead-in in DoorPi

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

[Blocked Image: https://img.shields.io/pypi/l/DoorPi.svg][Blocked Image: https://img.shields.io/pypi/v/DoorPi.svg?label=latest%20version][Blocked Image: https://travis-ci.org/motom001/DoorPi.svg?branch=master][Blocked Image: https://scrutinizer-ci.com/g/motom001/DoorPi/badges/quality-score.png?b=master][Blocked Image: https://codeclimate.com/github/motom001/DoorPi/badges/gpa.svg]

Introduction

Aim of the DoorPi project is the realization of a door intercom station with a single board computer like the Raspberry Pi and the communication protocol VOIP.

DoorPi is an event-action based system. There are components which fire events, and components which react on these events. That means that events like "Doorbell pressed" or "RFID chip xyz detected" shall be the trigger for actions like "call telephne xyz", "send email to xyz" or "open door".

Event-Sources

For registering these events, so-called "DoorPi-Keyboards" are used, e.g
  • GPIO pins
  • a PiFace
  • files in the filesystem of the PI (e.g. for remote commands via SSH)
  • the serial port (e.g. with an RDM6300 as NFC reader)
  • web service with authentification
  • VOIP phone
  • Arduino via I2C (e.g. for keypad or relay)
sein können.
To every event, any number of actions can be attached, which are executed synchronously or asynchronously.

Action-Receivers

A non-complete list of actions is:
  • VOIP call to a predefined number
  • VOIP call to a number which is read from a file
  • end call
  • send email
  • execute program
  • set an output pin
  • write a status file
  • read values from IP-Symcon or write them back
  • ...

Via the combination of events and actions, almost all combinations are possible.

Examples

A thinkable scenario is:
  1. when the doorbell button is pressed, a call is instantiated for calling a specific number (e.g. internal number of the FritzBox \*\*613, but also cell phone numbers)
  2. the inhabitant can talk to the outside station and on demand open the door remotely, by pressing a defined key (or sequence of keys) on a telephone (e.g. the key "#")
  3. the inhabitant forgets to end the call and DoorPi ends the call itself, as soon as the door was closed again
  4. DoorPi sends an email that there was a call, somebody opened the door and somebody walked into the house

Meanwhile there is also video support, so that a camera can be installed at the door, and the image can be watched on the inside station even before the call is accepted