-
Notifications
You must be signed in to change notification settings - Fork 0
Home
timostr edited this page Sep 7, 2019
·
13 revisions
**Stops the doorbell as soon as the door is opened by hand **
Everything starts with an idea! I've bought a new doorbell, which works as a DECT-Phone. By pressing the ring button all phones in my house are ringing. Unfortunately they are ringing until someone picks up the call or the ring time is over (30 Seconds). Often it is faster to walk to the door and open it, than to search a phone. Problem: Now the door is open, however the ringing does not stop... SOLUTION:
- Implement a Soft Phone (SIP-Client) at a HomeMatic Raspberry (raspberrymatic) microcomputer.
- Add a open/close sensor at the door
- Once the sensor indicates door open, the Raspberry soft phone answer call and hangs up
- Ringing stops (Problem solved!)
- Raspberry PI (I've used a https://www.raspberrypi.org/products/raspberry-pi-3-model-b/)
- AVM Fritz!Box with support of SIP-Phones (I'm using https://avm.de/produkte/fritzbox/fritzbox-7590/)
- Door Sensor (Homematic IP Fenster- und Türkontakt HMIP-SWDO)
- Door Bell (I'm using a Doorline Slim Dect https://www.doorline-tuersprechanlagen.de/doorline-slim-dect/)
- RaspberryMatic (https://github.com/jens-maus/RaspberryMatic)
- phoneMuter (my HomeMatic Addon)
- Raspbian (https://www.raspberrypi.org/downloads/raspbian/) // Only required, if you want to compile https://github.com/crigler/dtach and https://www.pjsip.org/ on your own.
- Download von https://github.com/timostr/phoneMuter/releases/tag/latest
- Backup der Einstellungen: WebUi von HomeMatic aufrufen => Einstellungen => Sicherheit => Backup-Erstellen
- Installieren: WebUi von HomeMatic aufrufen => Einstellungen => System Zusatzsoftware => Durchsuchen (unter 1.) geladene Datei auswählen und installieren
- Oberfläche der Fritzbox im Browser aufrufen, z.B. über “fritz.box”
- Software Telefon installieren:
- Telefonie => Telefoniegeräte => Neues Gerät einrichten => Telefon (mit und ohne Anrufbeantworter => Weiter => LAN/WLAN (IP-Telefon) => NAME: HomematicFon => Weiter => Benutzername: Homematic => Kennwort: “DEINPASSWORT” (die 3 Werte gut merken/speichern) => Weiter => beliebige Nummer wählen => weiter => [X] nur Anrufe für folgende Rufnummern annehmen: (alles abwählen) => weiter => weiter Konfigurieren des Softphones auf dem Raspi WebUi Aufrufen => Einstellungen => System Zusatzsoftware => Phone-Muter => [Einstellungen ] Folgende Werte eintragen: SIP id: sip:Homematic@fritz.box Registrar: sip:fritz.box Realm: fritz.box Username: Homematic Password: DEINPASSWORT => Save configuration
- Download https://www.pjsip.org/release/2.9/pjproject-2.9.tar.bz2
tar -xjf pjproject-2.9.tar.bz2cd pjproject-2.9/./configure --disable-video --disable-v4l2 --disable-ffmpeg --disable-sdl --disable-openh264 --disable-ssl --disable-sound
Note: I had to disable a lot of interesting stuff, because homematic at the raspberry has only a very limited set of installed libraries
make depmakestrip pjsua-blablabla
git clone https://github.com/crigler/dtach./configuremake
I have not done much in comparison with the people/teams/companies below!
- https://www.pjsip.org // SIP-Phone
- https://github.com/crigler/dtach // Terminal Multiplexer
- https://www.elv.de/Homematic-Zentrale-individuell-%E2%80%93-die-eigene-Zusatz-Software-f%C3%BCr-Homematic%C2%AE-Anwendungen/x.aspx/cid_726/detail_32281 // Basic information about Addon Development
- https://github.com/jens-maus/XML-API/releases // Good Example for an installer
- https://github.com/jens-maus/hm_email/releases // Good example for an installer