Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to realize remote monitoring by installing camera with raspberry pie and motion

Shulou Source: shulou.com Published: 2022-06-01 22:59:09 10月02日 Update

This article introduces the raspberry pie + motion installation camera how to achieve remote monitoring, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Here's how to install a USB camera for a raspberry pie and then remotely access real-time images taken by the camera.

First of all, you need a USB camera that is compatible with raspberry pie. The author uses a Logitech C270 high-definition webcam. Just plug it in. The software aspect is very simple. Only one software is needed: motion.

Assuming that your raspberry pie has been installed with the Raspbian system, you just need:

one

Sudo apt-get install motion

Then open the motion daemon daemon so that it can run in the background all the time:

one

two

three

Sudo nano / etc/default/motion

# no is modified to yes:

Start_motion_daemon=yes

Modify the configuration file for motion:

one

two

three

four

five

six

seven

eight

Sudo vim / etc/motion/motion.conf

# change deamon off to on

Deamon on

# set resolution

Width 800

Height 600

# turn off the restrictions on localhost

Webcam_localhost off

Then run motion:

one

Sudo motion

Now our camera has become a webcam. Visit http://[your.domain]:8081 under the chrome browser to see the current picture captured by the camera.

About raspberry pie + motion installation camera how to achieve remote monitoring to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Cameras cameras raspberries remote monitoring monitoring content more pictures software help shooting running good interest resolution network backstage guys buddies files Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Docker macOS MariaDB Shulou Information