Sitemap

Raspberry Pi Surveillance System Without Continue Internet

3 min readOct 9, 2025
Press enter or click to view image in full size
gemini generated

A self-contained Raspberry Pi surveillance system that:

  1. Runs autonomously (like EyeOS) — camera always active and streaming.
  2. Keeps searching for a known Wi-Fi hotspot (your phone).
  3. Starts streaming automatically when the phone hotspot is available.
  4. 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 reboot

2. 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 time
app = Flask(__name__)
piCam = Picamera2()
piCam.configure(piCam.create_preview_configuration(main={"size": (640, 480)}))…

--

--

Dhiraj Patra
Dhiraj Patra

Written by Dhiraj Patra

AI Strategy, Generative AI, AI & ML Consulting, Product Development, Startup Advisory, Data Architecture, Data Analytics, Executive Mentorship, Value Creation

No responses yet