Questions tagged [motion]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
2k 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 ...
1
vote
1answer
1k 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 ...
2
votes
1answer
231 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 ...
0
votes
1answer
20 views

Broken Image icon instead video on raspberry pi motion [closed]

I fresh installed Rasbian and Motion on my Raspberry and can see the Motion HTML interface in the browser via http.
 But instead of the video there is a broken image icon. Update: I try the command ...
0
votes
1answer
495 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
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 ...
0
votes
0answers
29 views

'on_picture_save' triggered script won't execute 'sftp' nor 'sudo -u' commands

My goal is to transfer to a distant raspberry pi the stream of snapshots acquired through 'motion' software. I am using 'sftp' in the following test script: (test-script.sh) #!/bin/bash cp $1 /tmp/...
2
votes
2answers
2k 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 ...
0
votes
0answers
25 views

Motion on Raspberry Pi: Problems with 2 camera's on USB 4 channel composite video capture device

I'm using Motion on an rPi 4B as a multi camera solution to be used on a boat (to get 180° front view). I tested it with 2 IP camera's and one USB camera and that worked fine. I was able to view the ...
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 ...
0
votes
1answer
242 views

PIR motion sensor HW-416-B does not behave properly. No motion but input is triggered regardless

So, this motion sensor works when it is taped to my desktop computer...but when I move it to the wall, specifically a higher spot on the wall, it just keeps giving back an input signal. So here is a ...
0
votes
1answer
2k views

How do I manually start/stop the motion service from a program?

I have successfully set up motion to run at boot up on a Raspberry Pi running buster Debian Linux. Now I want to start and stop the service from within my Python program. I started by changing the /...
0
votes
1answer
2k views

Raspberry Pi2 crashing when running camera (streaming video)

Running headless with: Linux weatherpi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux I am using the raspberry camera module. I can stream video, I've tried both motion (...
1
vote
1answer
348 views

How to improve "motion" framerate, or feed "raspivid" h264 stream into "motion"?

I'm running Pi 4 with a 5 megapixel OV5647 camera attached to its camera port. I'm using motion to run motion detection, with the goal of running low-res stream at 2 frames per second for detection ...
0
votes
1answer
43 views

Can you access motionEyeOS via simcard?

So I want to set up a security camera remotely and I was wondering if you could connect motionEyeOS via sim instead of wifi and use it the same.
0
votes
1answer
485 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 ...
1
vote
0answers
33 views

Combining on_movie_end and area_detect in motion

I'm currently working on setting up a Raspberry Pi as a security camera to detect motion and email me a snippet of a .mkv if it detects movement. The bit in my motion.conf that handles this is: ...
0
votes
0answers
75 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. ...
0
votes
0answers
39 views

PIR Sensor Counter

Hey guys I'm trying to create a simple script that essentially counts the amount of people that reside within a room, by having an entry sensor and exit sensor and tells you how many are within the ...
0
votes
1answer
21 views

Raspberry Pi camera - multi tasking possible?

I have set up 2 individual tasks using the NOIR Pi camera and a motion sensor which work successfully in their own right. Using motion to stream a live video to an external ip address a python ...
2
votes
6answers
18k views

Running script in motion [closed]

I have motion setup on a Raspberry Pi in rasbian-wheezy. Most of the motion.conf file works (I can view a live feed and it writes videos to the correct locations). However, I seem to be incapable of ...
0
votes
2answers
4k views

Motion configuration: on_event_start not working

I use motion to detect motions with a webcam. I try to run a command when a motion is detected. In /etc/motion/motion.conf, I set the option on_picture_save like this: on_picture_save date | mail -s ...
0
votes
2answers
3k views

Need help setting up SSH Tunnel with Motion Pi surveillance system

Hi I have followed this guide https://pimylifeup.com/raspberry-pi-security-camera/ and setup a multi camera surveillance system using my pi a few usb cameras and 3 ip cameras. I would like to access ...
0
votes
0answers
13 views

I have a Raspberry pi 3b with a camera and I installed motion

So my Problem is that motion saves the recordings, but I don´t want that anyhing is saved. Can I disable it? Or what happens when the storage is full, what will happen then?
5
votes
2answers
586 views

how to motion detect on small resolution, save larger resolution: "motion"

This post on the raspi forums suggests that motion can use a small resolution feed from the raspi camera to perform motion detection and then save a larger resolution version of the frame in question. ...
0
votes
1answer
120 views

MotionEye on Pi Zero Not Identifying Additional Storage Space After Image Flash to Larger SD Card

Been setting up a Pi Zero with the latest Raspbian and Motioneye 4.2.2. After setting things up, I needed extra space to store videos. Got a new larger SD card and flashed the existing image (with ...
5
votes
3answers
24k views

Motion filming can't get on real speed

I'm trying to film with my PI B+ with motion. I'm using the RPi camera board (so no USB), and got that working (which is nice). The thing is, is that the recorded video is not real time. What I mean ...
0
votes
0answers
33 views

raspberry pi zero w disconnect camera running motioneyeos

pi zero w running motioneyeos with Noir camera will run for several hours on the motioneye os be fore disconnecting , there are two other raspberry pi zero w and one raspberry pi 3b plus working as ...
4
votes
3answers
19k views

Where does 'Motion' web cam interface store image files?

I've tested a USB webcam with motion with the motion detection on. I suspect that's why the memory card has no space left. I cannot in the name find the directory where Motion stores the images saved ...
0
votes
0answers
26 views

Start Motion with -m command line option

I am using Motion as a basic IP camera so to lighten the load I would like to start the service with motion detection paused. From the documentation in need to add -m to the parameters when running ...
1
vote
2answers
4k views

Starting the Motion Service Automatically on Boot

I'm using the motion library on a raspberry pi zero with sketch. In order to get the motion server to start on boot, 've updated /etc/rc.local to include the following: sudo motion -c ~/.motion/...
0
votes
0answers
17 views

Problem connecting pi from external network

so I'm setting up a motion server(to get a live feed of my house over the internet) and everything works fine as long as I connect to the video feed from another machine while on the same network. My ...
0
votes
1answer
2k views

How to see motioneye's recorded movies in a browser?

I am using motionEye version 0.42.1 (motion Version 4.2.2) over the web interface. When I log in I can see the configured file storage path which is set to /var/lib/motioneye/Camera1 on my device. I ...
13
votes
5answers
20k views

Motion-daemon: /var/log/motion/motion.log permission denied

I have installed the motion package on my pi (stretch). If I start motion in the foreground it's working but when I try to start it as a daemon it fails with the following log message: motion: ...
1
vote
1answer
3k views

Can motion and or motioneye be configured to record audio with video files?

I have motioneye running in a docker container on raspberry pi OS on a raspberry pi 4. I have a USB microphone attached, I want to record audio with the video files, in the same file if this is ...
1
vote
1answer
729 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 ...
2
votes
1answer
5k views

How to revert motion config to default state?

I've changed way too many things in my motion.conf and I would like to revert it to its original state. Is there any command to achieve that? When I remove config file and during installation or even ...
3
votes
3answers
5k views

Tunneling Video Over ssh

I am trying to view a live stream from the raspberry pi remotely. I am using motion software to record and stream the video. I am able to view the video locally. I am trying to view it remotely by ...
3
votes
2answers
963 views

Pi 3 error on motion status ffmpeg_set_outputfile: permission denied

I have a Pi 3 with Stretch on it and I'm trying to get Motion to work correctly. In particular I want it to stream to a browser that I'll be able to access. I was able to successfully get the stream ...
4
votes
1answer
5k views

Installing mmal motion on RPi

I have been trying to install motion on my Pi3, only to be chasing library errors at every step. None of the tutorials seem to say what flavor of Pi OS to use. I am beginning to wonder if I chose ...
0
votes
0answers
60 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
336 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 ...
1
vote
2answers
312 views

RPI official cam results in 256x192 resolution only

I use motion to get data from my official rpi camera. This camera allows to use more than 256x192 px resoultion. Problem: Only 256x192 resolution seems possible, even if 1024 resolution is ...
0
votes
0answers
164 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
43 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
79 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:...
1
vote
2answers
104 views

Raspbian motion error

i'm trying to configure motion in raspbian. All works good but i have some problems with on_movie_end, this is the command: on_movie_end /home/pi/motion/drop/dropupl.sh this is a script that upload ...
1
vote
1answer
132 views

Taking pictures while streaming with motion

my Raspi uses the original raspicam and motion to stream security footage to my nas. This works great so far. I now want to additionally take a picture every 1 hour and save it somewhere. Obviously I ...
0
votes
0answers
106 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 ...
1
vote
1answer
174 views

Need troubleshoot fix my Raspberri Pi camera

So my MotionEye setup works fine, but after like 24 hours everyday, when I go connect the IP address it won't connect for some reason... And I can see that the Raspberry Pi3 and the Camera is working, ...