📈 GH Trending Explorer 🎲 Surprise me

← all repos

samlu / CamMonitor

git clone https://github.com/samlu/CamMonitor.git 1.0.3 · 1d ago

CamMonitor turns your spare Android phone into a private, zero-account home security camera. Connect two Android devices directly using peer-to-peer (P2P) encryption over Wi-Fi or cellular networks without cloud subscriptions, login accounts, or third-party servers storing your video.

—
stars, 24h
+26
stars, 7 days · #1,471
+26
stars, 30 days · #9,709
26
★ total · +26% this week
9
forks · 0 open issues

Star history starts 2026-10-20; the chart appears after the second daily snapshot.

LanguageKotlin
LicenseApache-2.0
Created2026-10-18 (2d ago)
Last push1d ago
Watchers0
OwnerUser

Links

README excerpt
# CamMonitor
> **Languages:** English | 繁體中文 
> **Story:** Why I Created This Project: A 40-Year Developer's Reflections on Building with AI
CamMonitor turns your spare Android phone into a private, zero-account home security camera. Connect two Android devices directly using peer-to-peer (P2P) encryption over Wi-Fi or cellular networks without cloud subscriptions, login accounts, or third-party servers storing your video.
---
## Key Features
- **Zero-Account Setup:** No signups, passwords, or cloud accounts. Pairing is completed instantly via an encrypted one-time QR code.
- **Strict End-to-End Security:** P2P connection encrypted with ECDSA device keys and AES-256-GCM. Only paired devices can access your camera feed.
- **Dual Device Roles:**
 - **Camera Mode:** Runs on the phone used as the camera (captures 720p HD video and audio).
 - **Viewer Mode:** Runs on your daily phone to monitor the live feed.
- **Multi-Device Support:**
 - 1 Camera can stream to up to **2 viewers** simultaneously.
 - 1 Viewer can pair with up to **8 different cameras** (e.g., Living Room, Front Door, Baby Nursery).
- **Smart Battery & Screen Protection:**
 - **OLED Black Screen:** Camera screen turns completely black after 1 minute of inactivity to prevent OLED burn-in and save power. Tap anywhere to wake.
 - **Auto-Standby Mode:** If no viewers are watching for 1 minute, the camera sensor shuts down to preserve battery and automatically wakes when a viewer connects.
 - **Hardware Longevity & Anti-Overheating:** Deliberately avoids 24/7 continuous video recording and persistent AI object detection to prevent phone overheating, battery swelling, and camera sensor wear. (Users can use AI tools to add these functions if specifically needed).
- **Remote Controls from Viewer:**
 - **3-Way Night Mode:** Switch between `Auto` (activates via ambient light sensor), `Night` (forced low-light enhancement), and `Normal`.
 - **Remote Flashlight:** Toggle the camera phone's LED torch on and off remotely.
 - **Push-to-Talk (PTT) Intercom:** Hold the microphone button on the viewer to speak through the camera phone.
 - **Orientation & Fit Controls:** Rotate incoming video in 90° increments ($0^\circ \to 90^\circ \to 180^\circ \to 270^\circ$) and toggle between Aspect Fit (full uncropped view) and Aspect Fill.
 - **Battery Monitoring:** View real-time battery percentages and charging statuses for both the camera and viewer devices.
- **Local Diagnostics:** Built-in rolling log viewer with instant share/export for troubleshooting.
- **Multi-Language:** English and Traditional Chinese (繁體中文).
---
## Requirements
- **Operating System:** Android 9.0 (Pie / API 28) or higher.
- **Permissions:** Camera, Microphone, and Notifications (Android 13+).
- **Network:** Both phones must have an active Wi-Fi or mobile data connection. Works on local Wi-Fi (LAN) and over the Internet (WAN).
---
## Getting Started
### 1. One-Time Pairing
Before first use, pair your two devices:
1. **On the Camera Phon