thomasdye12/gatephone-concept — explained in plain English
Analysis updated 2026-05-18
Study a working pattern for turning a doorbell event into a real iPhone call using CallKit.
Adapt the sample code to stream a UniFi Protect camera into a native iOS call screen.
Use the backend example as a starting point for a custom smart-home intercom.
| thomasdye12/gatephone-concept | arpitbhalla/swift-app | realm/realm-sharedtasks | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | Swift | Swift | Swift |
| Last pushed | — | 2022-12-19 | 2017-08-22 |
| Maintenance | — | Dormant | Dormant |
| Setup difficulty | hard | hard | moderate |
| Complexity | 4/5 | 2/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
It is a sanitized reference implementation, you must supply your own APNS keys, auth, and camera integration to make it work end to end.
GatePhone Concept is a reference project that shows how to build a smart video doorbell system that behaves like a real phone call on an iPhone. When someone rings the doorbell, instead of a normal app notification, the iPhone rings the way it would for a regular phone call. Answering it opens a live video stream from a UniFi Protect camera, a home security camera system, and shows buttons for actions such as opening a gate. This is not a finished, ready to use product. The author has deliberately stripped out anything private, including real authentication code, Apple push notification credentials, production web addresses, API keys, and any actual home automation rules. What remains is the overall architecture and the connection points where someone would plug in their own systems. The flow works like this: a doorbell event or automation trigger starts a call session on a backend server. That server sends a special Apple push notification used for VoIP calls to the chosen recipient's iPhone. The iPhone's built in CallKit framework shows the native incoming call screen, just like a normal phone call. Once answered, a SwiftUI screen opens a live camera stream from UniFi Protect over a WebSocket connection, along with command buttons the user can tap, such as one to open a gate. The repository includes an example Node.js backend built with Express, sample iOS Swift files for the call handling and camera player, and documentation covering the architecture, API, iOS side, and security considerations. A quick demo lets you run the backend locally and trigger a fake doorbell call, though the push notification adapter only logs what it would send rather than contacting Apple's servers. This project has 2 stars and is best suited for developers who already have their own authentication, camera, and automation systems and want a starting architecture to adapt, rather than someone looking for something to install and use immediately.
GatePhone Concept is a reference architecture showing how a doorbell event can ring an iPhone like a real call and open a live security camera stream.
Mainly Swift. The stack also includes Swift, SwiftUI, Node.js.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.