Transform any Linux device into a powerful motion detection security camera. Self-hosted, open-source, and completely under your control.
A complete ecosystem for self-hosted security camera systems
Live Motion Version
Turn any Linux device with a camera into a motion detection security system you control. All processing happens locally on your hardware - no cloud services required.
Central Management Hub
A lightweight, modern web UI for discovering and managing multiple OpenSentry devices across your network. One dashboard to control them all.
Everything you need for a complete security camera solution
All processing happens locally on your hardware. No cloud services, no data collection, complete control.
Advanced motion detection using OpenCV with configurable sensitivity and real-time visual overlays.
Real-time MJPEG video streaming to web browsers with support for multiple simultaneous viewers.
Capture snapshots automatically when motion is detected or manually via the web interface.
Automatic network discovery via mDNS with fallback TCP/IP subnet scanning.
Choose between local authentication or integrate with OAuth2/OIDC providers for enterprise SSO.
Optimized for Raspberry Pi and ARM devices
Complete Docker & Docker Compose support
Full REST API for automation and integration
Mobile-friendly web interface
TurboJPEG support for fast encoding
Handle multiple viewers simultaneously
Ring buffer in-memory logs for debugging
Open source and free to use
Get started with OpenSentry in minutes
Run on your camera device (Raspberry Pi, etc.)
git clone https://github.com/Sbussiso/OpenSentry-LVM.git
cd OpenSentry-LVM
docker compose up -d
                                    git clone https://github.com/Sbussiso/OpenSentry-LVM.git
cd OpenSentry-LVM
uv run server.py
                                    Access the web interface at http://<device-ip>:5000
Run on your central management device
git clone https://github.com/Sbussiso/OpenSentry-Command.git
cd OpenSentry-Command
docker compose up -d
                                    git clone https://github.com/Sbussiso/OpenSentry-Command.git
cd OpenSentry-Command
uv run main.py
                                    Access the dashboard at http://<device-ip>:5000
| Device | Performance | Recommended Use | 
|---|---|---|
| Raspberry Pi Zero 2 W | Low FPS | Basic monitoring, low traffic areas | 
| Raspberry Pi 3 | Moderate | Standard home security | 
| Raspberry Pi 4/5 | Good | Smooth streaming, multiple clients | 
| Intel NUC / Desktop | Excellent | High-performance, multiple cameras | 
Adjust sensitivity via the web settings page or config.json:
Choose your authentication method:
Monitor entrances, windows, and perimeter areas with motion-triggered alerts
Capture wildlife activity with automatic motion-triggered snapshots
Monitor office spaces with centralized management and OAuth2 integration
Deploy multiple cameras around property boundaries with unified dashboard
Track vehicle activity and detect unexpected movement in parking areas
Integrate with home automation systems via REST API
Join the OpenSentry community
OpenSentry is open source and welcomes contributions! Whether you're fixing bugs, adding features, improving documentation, or sharing feedback, your input is valuable.
Python 3.12+
Flask
OpenCV
Docker
MJPEG Streaming
mDNS/Zeroconf
OAuth2/OIDC
REST API