Hello, I am new and need help

is it possible to program a web camera/IP-Camera that only records when the PIR sensor detects something?

Welcome to the forum

The answer to your question is possibly, depending on what you mean by "recording" and what type of camera you have. For instance, is the camera currently controlled by a sketch, perhaps running on an ESP32, or is it a stand alone camera not connected to the Arduino ?

you'll have to find an IP camera that has some sort of documented (or reverse engineered) API

for example Somfy has an dedicated REST API, many other do.

so it's just a matter of triggering the API when your MCU (ideally a web capable one, like an ESP32) detects an event

For this task, you can use a Raspberry Pi, a compatible camera and a PIR sensor. Here is a tutorial that demonstrate a task like this: Security System with Image Capturing in Raspberry Pi 4 - The Engineering Projects
This is a Security System with Image Capturing in Raspberry Pi 4. This project uses a camera and PIR sensor. You can do video streaming following the same algorithm.

I will be using standalone camera, in recording is that when only PIR detects something it is the time for the camera to record so if the sensor doesn't detect anything it will be on idle mode only. Is that possible? and thank you for the response.

thank you very much, I will look into it!

thank you very much!

if you already have the IP camera, provide details. if not, then look for one that has a documented control API - ideally through IP

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.