Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pfichtner/sipdoorbell
ESP8266 Firmware that initiates calls to SIP numbers, can react on hardware button as well to 433 MHz signals
https://github.com/pfichtner/sipdoorbell
433mhz doorbell esp8266 sip-client
Last synced: 29 days ago
JSON representation
ESP8266 Firmware that initiates calls to SIP numbers, can react on hardware button as well to 433 MHz signals
- Host: GitHub
- URL: https://github.com/pfichtner/sipdoorbell
- Owner: pfichtner
- License: mit
- Created: 2022-09-18T15:32:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-21T07:42:22.000Z (about 1 month ago)
- Last Synced: 2024-11-21T08:27:37.821Z (about 1 month ago)
- Topics: 433mhz, doorbell, esp8266, sip-client
- Language: C++
- Homepage:
- Size: 167 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![PlatformIO CI](https://github.com/pfichtner/SipDoorbell/actions/workflows/platform-io-ci.yml/badge.svg)](https://github.com/pfichtner/SipDoorbell/actions/workflows/platform-io-ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)SipDoorBell
-----------ESP8266-based doorbell that does initiate SIP calls.
Why not...?
-----------
- Wifi Türklingel, ESP-Überallklingel and others:
- no 433 MHz support
- projects rely on TR-064
- hard coded values (WiFi settings, SIP settings, ...) (on the other side: This is a security feature)- ESPHome
- 433 MHz support very limited
- cannot configure variables that should be on the node (at least not via an included HTML UI)
- couldn't find a way to easily pass parameters (SIP-User, SIP-Password, ...) to an ESPHome custom component
- Perhaps the last two items are wrong, see
- https://esphome.io/web-api/index.html#number (configure values stored on the node)
- https://gist.github.com/liads/c702fd4b8529991af9cd52d03b694814 (configuring an ESPHome custom component)Features
--------
- Configurable via Web-Interface so no need to compile your own firmware, you just need to download and to flash the microcontroller (see https://tasmota.github.io/docs/Getting-Started/#flashing for example for how to flash a D1 mini). Please note: Those values can be changed by anyone having access to your network since there is no authentication/authorization (yet) implemented!
- Acts as normal SIP-Client so it can be used not only with TR064-enabled devices but every SIP-Server/SIP-enabled hardware
- Can can be initiated via 433 MHz signal (e.g. wireless doorbell sender)
- Can can be initiated via push button (momentary switch) (e.g. a simple push button and/or optocoppler to make an existent doorbell a smart doorbell). Supported pin modes are pullup (with and w/o internal resistor, LOW indicates button pressed) and pulldown (HIGH indicates button pressed)
- Can switch GPIO pin on ring (e.g. to visualize via led and/or do some action on another microcontroller)
- Can publish mqtt messages on ring so other tasks can be done via integration platforms like ioBroker, home assistant, node red, ...Schematics
----------
![doorbell-breadboard.png](https://pfichtner.github.io/SipDoorbell/doorbell-breadboard.png)
**Each of the following "modules" is optional (except the ESP :smirk:)!**
- left side hand there is the 433 MHz receiver
- in the middle there is a push button (momentary switch). Alternatively you can use an optocoppler to attach an existing door bell (see e.g. https://www.reichelt.de/magazin/projekte/smarte-tuerklingel/). In the example a pull-down resistor is used, you can configure SipDoorBell also to use the bultin resistor or to do pull-up.
- on the right hand side there is a led visualizing a ring. You can configure a GPIO pin to become "HIGH" in case the push button has been pressed or the configured 433 MHz signal was detected. Also here could be used an optocoppler to switch any other device, e.g. another microcontrollerUpload/flash ESP8266
--------------------
You can flash the firmware like other firmwares (e.g. [tasmota](https://tasmota.github.io/docs/)) using tools like
[esptool](https://pypi.org/project/esptool/) or [tasmotizer](https://github.com/tasmota/tasmotizer).
Further updates (or even flashing of another firmware) can then be done via the included OTA (over-the-air) updater using the builtin WebUI.TODOs
-----
- protect HTTP access
- MQTT status updates (online/offline) via LWT
- Listen for offhooking and do not hangup by ourself then (otherwise the call gets killed and the door could possible not being opened)
- Learn mode for 433 MHz signals? (could be realized via hw-button as well via sw-button on the dashboard)
- Support for door relais, see https://www.mikrocontroller.net/topic/444994#5814241 https://de.wikipedia.org/wiki/Mehrfrequenzwahlverfahren#%C3%9Cbertragungsmodi_bei_Internettelefonie
- Could include TR-064 as well as alternative to SIPProjects used
-------------
- [ESP8266 IoT Framework](https://github.com/maakbaas/esp8266-iot-framework)
- [PubSubClient](https://github.com/knolleary/pubsubclient)
- [rc-switch](https://github.com/1technophile/rc-switch)
- Fork of [ArduinoSIP](https://github.com/dl9sec/ArduinoSIP) (https://github.com/pfichtner/ArduinoSIP)Possible useful projects
------------------------
- https://github.com/RetepRelleum/SipMachine
- https://github.com/rousir/ArduinoVoip
- https://github.com/chrta/sip_call