Questions tagged [motion]

A free open source software motion detector for CCTV software applications developed for Linux.

52 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
2answers
1k views

HC-SR505 Mini Infrared PIR Motion Sensor

I have a raspberry pi zero and a HC-SR505 (not 501, which apparently is what I should have bought). I'm a programmer, with only a little electronics from long ago, but some people suggest the it will ...
2
votes
0answers
46 views

Using Motion to Post Photos Captured to API

I am attempting to build a program that will automatically post the photos taken by motion from my usb webcam to a rest API, and have ran into some problems. My livestream works correctly, and it ...
2
votes
1answer
196 views

Pi3 Interface to IR Sensor stays High

I am new to RPi and trying to trigger a camera with a motion detector. The motion detector reads High (1) all the time, so pictures are taken continuously. I had the IR detector working with an LED ...
1
vote
0answers
78 views

USB cameras with Nanopi M4 using motion package

Sorry this is a question related to Nanopi M4 but I couldn't find anything pertaining to exactly that I am using 3 low light HD USB cameras (details on the link below) for my application. https://...
1
vote
0answers
45 views

motion 4.1.1 - snapshot

I use motion 4.1.1 for my camera. The motion detection works fine and every hour I take a snapshot with following command through the webif. curl http://localhost:8080/0/action/snapshot Is it ...
1
vote
0answers
41 views

Pi 4 video recording/encoding/writing super laggy after few seconds?

I've got the 4GB ver of the Pi 4. Trying to using it with Motion-Project and a NoIR Camera Module V2. Problem is the moment recording starts, it's fine for about 1-3 seconds, then becomes super laggy. ...
1
vote
0answers
249 views

Keep losing connection while streaming video from Raspberry Pi Zero W camera using Motion or Picamera Python

I have set up my new Raspberry Pi Zero WH with the new Raspbian Buster (recommmended software), avaiable on raspberrypi.org. I have tried the following to real-time stream video over WiFi using SSH ...
1
vote
0answers
87 views

Pi freezes when running a script

I'm trying to set up a trap camera using a brand new Pi Zero W with Raspbian Buster but it freezes when I run the python scirpt. originally the code was a bit complicated with multithreading, email ...
1
vote
0answers
53 views

Bottleneck of motioneyeOS

I am using the motioneyeOS with two ELP webcams connected. When using those, I can only use one camera on a full resolution, while I need to use the second one with only 320x240. Otherwise one, or ...
1
vote
0answers
488 views

MotionEye OS: How to run additional services?

is it possible to run additional services with MotionEye OS ? Trying to make a baby monitor with sound monitoring and triggering, OPenVPN, DDNS server, Blynk server, DHT22 sensor,... I already done it ...
1
vote
1answer
774 views

Raspberry Pi Zero hardware based video encoding

I'm trying to build a dashcam with a Raspberry Pi Zero with an official Raspberry Pi Camera (version 2) in an official Raspberry Pi Zero case mounted with a old GPS device cradle. I installed motion ...
1
vote
0answers
176 views

RaspiCam on RPi 1 B+ doesn't show images

I'm trying to get a livestream with the official raspicam (with IR; revision 1.3) working, which is attached on my Raspberry Pi 1 Model B+. The problem is, that I get an gray screen when I'm ...
1
vote
0answers
35 views

Is there any way to stream video remotely and display locally simultaneously, and lessen the lag/choppiness?

I am trying to make a infrared headset that can display my usb camera on a local monitor and stream the feed to a hyperlink simultaneously. I want to be able to use my mobile hot spot on my phone so I ...
1
vote
0answers
529 views

Motion ffmpeg_open: url_fopen - error opening file (check access rights to target directory)

I am trying to record my motion videos inside the directory /media/pi/camera. This directory has the following permissions: drwxrwxr-x 2 motion motion 4096 Aug 9 20:04 camera I set the same ...
1
vote
0answers
818 views

'Motion' port not responding - “This site can't be reached”

I've set up my Pi as a web server and I am using RaspCTL as the dynamic DNS. I can access my site via [mysite].raspctl.com from my home network and from an external network. Great! I'm also trying ...
1
vote
0answers
698 views

How would I measure performance of Motion vs raspivid?

I'm new-ish to programing, and a total n00b to RPIs. I have a RPI 3, with the raspicam V2, and I'm trying to figure out which app draws less resources, between Motion ( http://www.lavrsen.dk/foswiki/...
1
vote
0answers
1k views

How to rotate motion's output

I've made a pan/tilt device with a raspberry pi 3 and I'm looking for a way to flip the stream when the camera tilts past 90 degrees. I'm using mjpg-streamer with motion, but wondering if streaming ...
1
vote
0answers
976 views

How to reduce motion video file size and how to auto-delete old files

What do I change in motion.conf to reduce saved video size besides changing size of the video? I'm currently getting about 1.2MB per minute (with emulatemotion on) of film. Using msmpeg as encoder, ...
1
vote
0answers
733 views

raspicam and uv4l-server as netcam on Motion

Setup: Raspberry Pi 2 B Raspberry Pi Camera Board - PiNoir uv4l-server and uv4l with uv4l_raspicam driver @ 640x480 px Motion by lavrsen.dk I am doing live streaming with uv4l-server at http://...
1
vote
1answer
1k views

Trouble with motion on_event_start parameter

I am trying to set up a Raspberry Pi model B+ with PiCamera to be a security camera. Wifi connects to my home network, motion is installed, detecting motion and saving pictures, and I am able to send ...
1
vote
0answers
655 views

Access motion server from the internet

I encountred an issue with motion server for raspberry pi. I use the PiCam with motion-mmal special build by dozencrows. I can access to my nginx server from internet for my rails app on the RPI. But ...
1
vote
0answers
2k views

Authenticate Motion video stream via Apache web server on my PI

At the moment I'm running two PIs with the popular software Motion, delivering webcam content to the internet. I'm port mapping the two external ports to the internal ports on my router, to give ...
1
vote
0answers
518 views

Motion works on one PI, but not on another

I'm trying to migrate Motion from one PI (IP51) to another (IP61) and I'm running into problems getting all the functions working. I'm testing if Motion is working by seeing if I can access the ...
1
vote
0answers
112 views

how can I export 'Motion - Conversion Specifiers' to use it in a python program? Raspberry Pi

I'm using motion in a Raspberry Pi and need export the coordinates of the center of the moving object (the %K and %L) because I want to use it in a python program. But I can't even make the ...
1
vote
1answer
170 views

Motion can't find wireless camera

I'm using motion on the raspberry pi and setting it up for the first time. It can't find my Foscam wireless camera, and it persists in trying to open /dev/video0 even though I have that video device ...
0
votes
0answers
21 views

Motion terminates after about 1 minute

Running Motion 4.2.2 on a Pi 3 B+. Everything seems to work. I have the video stream in the browser on :8080. It detect motions, records and store an avi file in /home/pi/logs/motion/. After aboute 1 ...
0
votes
0answers
51 views

Motion Activated Spotlight?

So I've successfully made a Motion Activated CAMERA that I've installed in my garage for various irrelevant reasons. The thing sends me an email when it detects motion, and sends me recordings of said ...
0
votes
0answers
24 views

is it possible to just stream and stop video recording in motion

My SD card is having limited size and I just want to stream a video so that I can use it as webcam. I successfully did that but problem is it is slow because it keeps saving files as well as does ...
0
votes
0answers
29 views

day / night motion alarm

I am going camping in a few months and I want to build a motion sensor alarm for my tent entrance for while I am asleep. Chances are nothing will set off the alarm, but if a bear or coyote comes ...
0
votes
0answers
22 views

Problem when running the motion package

Hello i have installed motion and have been trying to run it with sudo motion -n but it doesn't run properly. when running it shows this: pi@raspberrypi:~$ sudo motion -n [31807112:motion] [NTC] [...
0
votes
0answers
23 views

Motion error: Sometimes Permission denied

I have motion installed and it works correct most of the time. But sometimes it gives me this errors: [1:ml1] [NTC] [EVT] [May 03 09:48:24] event_new_video Source FPS 2 [1:ml1] [NTC] [ALL] [May 03 09:...
0
votes
0answers
55 views

Raspberry Pi Zero W Semi Freeze

I want to use motion (https://motion-project.github.io) to stream video on a remote location with internet connection using the raspi-cam V2 on a raspberry pi zero w. Besides stream, the idea is also ...
0
votes
0answers
15 views

Setting up MotionEyeOS (Based on Raspbian) wpa_supplicant is connecting me to the internet, but I can't use the local IP to get to the login screen

So my Zero W is accepting the wpa_supplicant, and connecting to the internet, and is visible on the routers connected devices page with the same IP. However, when using a different device (like Fing ...
0
votes
0answers
22 views

Need help with motion package

I tried MJPEG and this is the output I'm getting on all three cameras with highest stream quality, max frame rate, and frame width x height = 1280 x 720. Camera 1, 2 and 3 show the below kind of ...
0
votes
0answers
32 views

Using Motion Library with pygame.camera

I have a python file that works standalone to take a photo, then post it to an api, but I want this file to be run when motion is detected on my livestream using on_event_start. The file begins as ...
0
votes
0answers
89 views

Relay keep on question - probably a bash problem now

I have a pi 3B and a relay board - "5V relay module is active LOW, meaning that LOW level will activate the relay on and HIGH level will deactivate it." . I have connected 5V to Vcc on the relay, ...
0
votes
0answers
34 views

How to get stream to function?

I recently started a project to make a 24/7 stream on my ras pi. I hooked up the camera module v2 any the system detects it. I updated and upgraded then installed motion. I ran sudo modprobe bcm2835-...
0
votes
0answers
30 views

More efficient web video stream on Rasberry Pi

I am a surfer/kitesurfer and i live in the UAE. I'm trying to build a basic weather station that can provide wind and webcam details for a spot that is in a remote location. I am using a pi4 1GB and i ...
0
votes
0answers
20 views

DO3THINK USB camera install into raspberrypi

Actually, I am using USB2.0 DO3THINK camera for personal purposes. I want to connect this camera to my raspberry pi. I research it but couldn't find any proper link for install this camera. The os ...
0
votes
1answer
164 views

Possible to stream live-video with (almost) zero-lag using RPi 2B accessible via browser?

I'm an apprentice for becoming an IT specialist. My colleagues and me are trying to set up a Raspberry Pi in order to stream live video in 720p with (near to) zero-lag which has to be accessible via ...
0
votes
1answer
143 views

Unrecognized URL with motion

Trying to install motion for a sricam SP017 (720p) on a raspbian pi. I did an apt-get install motion. motion -h gives motion Version 3.2.12+git20140228, Copyright 2000-2005 Jeroen Vreeken/Folkert van ...
0
votes
0answers
24 views

RPI 8MP CAMERA BOARD RASPBERRY PI CAMERA BOARD V2

I setup my raspberry Pi with a RPI 8MP CAMERA BOARD RASPBERRY PI CAMERA BOARD V2. I'm using MotionEyesOs and Synology Surveillance Station. I don't understand the camera, unless I'm wrong should ...
0
votes
0answers
563 views

Execute Python-Script on MotionEyeOS

I've recently created a Card with MotionEyeOS for the Raspberry Pi. I've tested motioneyeos already on DietPi and the normal Raspbian, but it didnt worked with the original Raspberry Pi-Camera. In a ...
0
votes
0answers
107 views

Motion WebCam USB Errors - Unable to open Video Device

I have a Raspberry Pi Model B Plus Rev 1.2 with a Microsoft Corp. LifeCam HD-3000 connecting running Motion for a Webcam. I am getting periodic errors on the Webcam and it stops working. I am using a ...
0
votes
1answer
1k views

Execute Python Script on Motion Eye on event of Motion Detection

I have installed motioneye on a raspberry pi and it's working perfectly (images and videos are recording which I can access through FTP). Motion detection is enabled with a mask. I have written a .py ...
0
votes
1answer
332 views

RPI Motion service delay on restart

Is there any way to delay the start of the Motion service on RPI restart? I'm having an issue where v4l does not make it yet to provide /dev/video0 but Motion is already trying to open it and ...
0
votes
0answers
423 views

Motioneye on Raspberry Pi Zero

I've installed Motioneye on a Raspberry Pi Zero and connected a camera. I can get it to detect motion, and take an image in response to detected motion. Unfortunately, images are being saved to the ...
0
votes
0answers
728 views

Can't access to motion from internet

I'm trying to make a server with motion , lighttpd and cgi scripting bash, everything is fine excepted from outside of my network (internet). Those are my files and log. Somebody can help me please? I ...
0
votes
0answers
593 views

Raspberry Pi Camera Motion Detection

I have started out my simple security camera project. I am able to take a picture and email that picture to my gmail (Can't get this to do it automatically at the moment). I asked a question before ...
0
votes
1answer
2k views

Motioneye and python scripts

I bought a octocam for a project with my son as a bird feeder cam using motioneye The bird cam bit is working fine, but I'm wanting to automatically post pictures to instagram or flickr. The problme ...