Skip to main content

provide intercomstation to the doorstation by VoIP

Project description

****************************************************
DoorPi: VoIP Door-Intercomstation with Raspberry Pi
****************************************************

|travis_status_master| |code_climate_badge| |scrutinizer_status_master|

:DoorPi @ `PyPi`_:
|pypi_latest_version| |pypi_License|

|pypi_downloads_day| |pypi_downloads_week| |pypi_downloads_month|

:DoorPi @ `GitHub`_:

|github_issues_open| |github_issues_all|

|github_watchs| |github_stars| |github_forks|


.. contents::
:local:
:depth: 2
:backlinks: none


=============
Deutsch
=============
---------------
Einführung
---------------
Ziel des Projektes DoorPi ist die Steuerung einer Türsprechanlage mittels einem Einplatiniencomputer wie dem Raspberry Pi und dem Kommunikationsprotokoll `VoIP`_.

DoorPi ist ein Event-Action basierendes System. Es gibt Komponenten die Events auslösen und Komponenten, die aufgrund dieser Events reagieren. Dazu sollen Ereignisse (Events) wie "Drücken einer Türklingel" oder "RFID Chip xyz vorgehalten" die Auslöser von Aktionen (Actions) wie "Anruf bei Telefon xyz", "E-Mail an xxx" oder "Öffne Tür" sein.

---------------
Event-Quellen
---------------

Um diese Events zu registrieren, werden "DoorPi-Keyboards" genutzt, was z.B.:

* die GPIO-Pins
* ein PiFace
* Dateien im Dateisystem des Pi (z.B. für Remote-Befehle über SSH)
* die serielle Schnittstelle (RDM6300 als NFC Reader)
* Webservice mit Authentifizierung
* VoIP-Telefon

sein können.

An jedes Event können beliebig viele Actions angefügt werden, die syncron oder asyncron ausgeführt werden.

-----------------
Action-Empfänger
-----------------

Eine nicht vollständige Liste der Actions ist:

* VoIP Anruf zu festgelegter Nummer starten
* VoIP Anruf zu Nummer starten, die aus einer Datei ausgelesen wird
* Anruf beenden
* E-Mail versenden
* Programm ausführen
* Ausgang schalten
* Status-Datei schreiben
* Werte aus IP-Symcon lesen oder zurück schreiben
* ...

Durch die Kombination der Events und Actions sind fast alle gewünschten Kombinationen möglich.

-----------------
Beispiele
-----------------

Ein mögliches Szenario ist:

#. Beim Druck eines Klingeltasters wird ein Anruf ausgelöst und gezielt eine Nummer angerufen (z.B. interne FritzBox Nummer \*\*613 aber auch Handynummern).
#. Der Bewohner kann mit der Außenstelle telefonieren und auf Wunsch die Tür remote öffnen, in dem eine definierte Taste (oder Tastenfolge) auf dem Telefon gedrückt wird (z.B. die Taste "#").
#. Der Bewohner vergisst das auflegen und DoorPi beendet selbst das Gespräch, sobald die Tür wieder geschlossen wurde.
#. DoorPi versendet eine E-Mail, dass es einen Anruf gab, jemand die Tür geöffnet hat und jemand ins Haus gegangen ist.

Mittlerweile gibt es auch Video-Support, so dass an der Haustür eine Kamera installiert werden kann und das Bild auf den Innenstationen angesehen werden kann, noch bevor das Gespräch angenommen wird.

-----------------
Installation
-----------------

Die Installationen werden `hier beschrieben <http://www.meissner.me/DoorPi/board/forumdisplay.php?fid=4>`_

Empfohlen wird die Installation via `PyPi`_ (in Kurzfassung):

via `PyPi`_:

.. code-block:: bash

sudo pip install doorpi &&
sudo doorpi_cli --trace


-----------------
Daemon
-----------------

Als Erstes sollte DoorPi als Anwendung gestartet werden, damit mögliche Fehler sofort angezeigt werden können. Außerdem wird beim ersten Start das DoorPi Basis-Verzeichnis unter /usr/local/etc/DoorPi eingerichtet.

Die Einrichtung als Daemon wird `hier beschrieben <http://www.meissner.me/DoorPi/board/showthread.php?tid=12>`_

-----------------
Konfiguration
-----------------

Der Start von DoorPi endet mit der Ausgabe der Weboberfläche-URL wie hier:

2015-09-10 17:52:28,085 [INFO] [doorpi.status.webserver] DoorPiWeb URL is http://raspberrypi/

Aktuell bin ich noch nicht dazu gekommen, die Config pro Gerät (GPIO, PiFace, ...) zu individualisieren.
In der Weboberfläche ist auf dem Startbildschirm die Übersicht der Module (z.B. GPIO). Rechts von dem Modul gibt es den Button Info.
In der Info-Seite findest Du neben der Beschreibung auch die möglichen Parameter mit default-Werten.
Parallel dazu gibt es in der Navigation den Konfig-Editor. Dort kannst Du die Config bearbeiten, wenn Du weißt, welche Parameter wo hin gehören.
Auch die Config abspeichern kannst Du in der Übersicht.

Hilfe zur DoorPi Konfiguration (egal ob im Dashboard oder per Konfigurationsdatei) gibt es im DoorPi Wiki:

`DoorPi Wiki <https://github.com/motom001/DoorPi/wiki/Konfiguration>`_

-----------------
DoorPi-Hilfe
-----------------

Link zu Foren mit DoorPi Beiträgen:

`DoorPi Forum <http://www.meissner.me/DoorPi/board/member.php?action=register&referrer=1>`_

`[Haussteuerung] DoorPi (VoIP Wechselsprechanlage / Türsprechanlage mit Video-Support) <http://www.forum-raspberrypi.de/Thread-haussteuerung-doorpi-voip-wechselsprechanlage-tuersprechanlage-mit-video-support>`_

`DoorPI / VoIP Door-Intercomstation with Raspberry Pi <http://www.ip-symcon.de/forum/threads/26739-DoorPI-VoIP-Door-Intercomstation-with-Raspberry-Pi>`_

=============
Changelog
=============

see `changelog.txt<https://github.com/motom001/DoorPi/changelog.txt>`_


.. _VoIP: https://de.wikipedia.org/wiki/IP-Telefonie
.. _PyPi: https://pypi.python.org/pypi/DoorPi
.. _GitHub: https://github.com/motom001/DoorPi

.. |travis_status_master| image:: https://travis-ci.org/motom001/DoorPi.svg?branch=master
:target: https://travis-ci.org/motom001/DoorPi

.. |scrutinizer_status_master| image:: https://codeclimate.com/github/motom001/DoorPi/badges/gpa.svg
:target: https://codeclimate.com/github/motom001/DoorPi
:alt: Code Climate

.. |code_climate_badge| image:: https://scrutinizer-ci.com/g/motom001/DoorPi/badges/quality-score.png?b=master
:target: https://scrutinizer-ci.com/g/motom001/DoorPi/

.. |pypi_License| image:: https://img.shields.io/pypi/l/DoorPi.svg
:target: https://creativecommons.org/licenses/by-nc/4.0/
:alt: CC BY-NC 4.0

.. |pypi_latest_version| image:: https://img.shields.io/pypi/v/DoorPi.svg?label=latest%20version
:target: https://pypi.python.org/pypi/DoorPi
:alt: Download

.. |pypi_downloads_day| image:: https://img.shields.io/pypi/dd/DoorPi.svg
:target: https://pypi.python.org/pypi/DoorPi#downloads
:alt: Downloads last day

.. |pypi_downloads_week| image:: https://img.shields.io/pypi/dw/DoorPi.svg
:target: https://pypi.python.org/pypi/DoorPi#downloads
:alt: Downloads last week

.. |pypi_downloads_month| image:: https://img.shields.io/pypi/dm/DoorPi.svg
:target: https://pypi.python.org/pypi/DoorPi#downloads
:alt: Downloads last month


.. |github_issues_open| image:: https://img.shields.io/github/issues/motom001/DoorPi.svg
:target: https://github.com/motom001/DoorPi/issues
:alt: open issues on github

.. |github_issues_all| image:: https://img.shields.io/github/issues-raw/badges/shields.svg
:target: https://github.com/motom001/DoorPi/issues?utf8=%E2%9C%93&q=is%3Aissue
:alt: all issues on github

.. |github_watchs| image:: https://img.shields.io/github/watchers/motom001/DoorPi.svg?style=social&label=watchers
:target: https://github.com/motom001/DoorPi/watchers

.. |github_stars| image:: https://img.shields.io/github/stars/motom001/DoorPi.svg?style=social&label=stars
:target: https://github.com/motom001/DoorPi/stargazers

.. |github_forks| image:: https://img.shields.io/github/forks/motom001/DoorPi.svg?style=social&label=forks
:target: https://github.com/motom001/DoorPi/network

Download files

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

Source Distributions

DoorPi-2.4.1.8.tar.gz (65.9 kB view details)

Uploaded Source

DoorPi-2.4.1.8.linux-x86_64.tar.gz (158.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

DoorPi-2.4.1.8-py2.7.egg (232.3 kB view details)

Uploaded Egg

DoorPi-2.4.1.8-py2-none-any.whl (104.9 kB view details)

Uploaded Python 2

File details

Details for the file DoorPi-2.4.1.8.tar.gz.

File metadata

  • Download URL: DoorPi-2.4.1.8.tar.gz
  • Upload date:
  • Size: 65.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for DoorPi-2.4.1.8.tar.gz
Algorithm Hash digest
SHA256 f697ad30046c759dced6a603bfe3775e0d3f8c518576605d315276ac27b43c72
MD5 907990c268ed808cd2623c1443370c5f
BLAKE2b-256 18c96ad592939334e78e8c30ffc14eda895b5944ba2fb8ea052e834b9312b536

See more details on using hashes here.

File details

Details for the file DoorPi-2.4.1.8.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for DoorPi-2.4.1.8.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 d58fc1d41130dd53e68951045417ac6202d79e7a8bf6b1744692bec747718ef6
MD5 e5cf87535e351438cbf2cf571ce44818
BLAKE2b-256 23f0aed4263d01a07f1355bd61f99172c9c5c13b8bd6135ec18301a1da73df9f

See more details on using hashes here.

File details

Details for the file DoorPi-2.4.1.8-py2.7.egg.

File metadata

  • Download URL: DoorPi-2.4.1.8-py2.7.egg
  • Upload date:
  • Size: 232.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for DoorPi-2.4.1.8-py2.7.egg
Algorithm Hash digest
SHA256 751e8c8ff21f9dd4017f09c5216cd410655e2fe313225b4438be18db41c70fd6
MD5 3c338d23466a4bbd6130d748acf6cc43
BLAKE2b-256 d4cdb23389d696da05888d08706a2b01c83249bc097c7daf3fc06b60b3f8c7e1

See more details on using hashes here.

File details

Details for the file DoorPi-2.4.1.8-py2-none-any.whl.

File metadata

File hashes

Hashes for DoorPi-2.4.1.8-py2-none-any.whl
Algorithm Hash digest
SHA256 3aae2a776d18a87bf2e7834aad930c38c7b4cd66e976040cfc27b86b6fec297b
MD5 c8e49f2d4222d116dc9752120ed91445
BLAKE2b-256 08e9249f919b894e950292c08f4ab9b03460c90de11707590e0d6bd632238bcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page