Member-only story
Raspberry Pi Surveillance System Without Continue Internet
3 min readOct 9, 2025
Press enter or click to view image in full size![]()
A self-contained Raspberry Pi surveillance system that:
- Runs autonomously (like EyeOS) — camera always active and streaming.
- Keeps searching for a known Wi-Fi hotspot (your phone).
- Starts streaming automatically when the phone hotspot is available.
- Lets you view the camera feed on your phone (via browser or app).
Here’s a detailed, production-ready setup:
⚙️ Step 1: Setup Raspberry Pi Camera & Software
1. Enable the camera
sudo raspi-config- Go to Interface Options → Camera → Enable
- Reboot:
sudo reboot2. Install dependencies
sudo apt update
sudo apt install python3-picamera2 python3-flask git -y📸 Step 2: Create a Local Flask Streaming App
Create file /home/pi/camera_stream.py:
from flask import Flask, Response
from picamera2 import Picamera2
import timeapp = Flask(__name__)
piCam = Picamera2()
piCam.configure(piCam.create_preview_configuration(main={"size": (640, 480)}))…