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
0answers
170 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 ...
1
vote
1answer
263 views

Raspberry Pi PIR motion sensor and camera script dies after loop

I have a simple code for PIR sensor to detect a movement, which works as expected. Code: from gpiozero import MotionSensor import time pir = MotionSensor(4) while True: pir.wait_for_motion()...
1
vote
1answer
68 views

Should motion detection use images or still frames?

Some Context For a project I'm working on, I'm creating a security camera that detects motion. When the camera has detected motion, it checks again to see if that motion was caused by a human. This ...
1
vote
0answers
784 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 ...
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 ...
0
votes
1answer
487 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
504 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 ...
1
vote
1answer
54 views

How to Detect Which Side of an Object is Facing Up

I would like to build a cube with a Pi Zero inside and have the Pie be able to detect and report which side of the cube is facing up ... conceptually similar to rolling a dice and knowing what number ...
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 ...
1
vote
1answer
240 views

PiCamera Motion Error

I am using the Raspberry Pi 3 B+ w/ Raspbian Stretch. I am currently unable to view the video stream on port 8080 or 8081. When I start the command: motion -s "test" recipientemailhere This is what ...
1
vote
3answers
305 views

Making a IoT Motion Sensor w/ Security Camera

I'm trying to find the easiest and most efficient way to create one. I have the below already, is there anything else that I would need? Where can I find some code for me to copy. I don't necessarily ...
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/...
2
votes
2answers
1k views

Is there a way to reload motion.conf without restarting the motion service?

I want to dynamically change on_event_start value while the motion service is running. Is there a way to reload the motion.conf file without restarting the service?
5
votes
2answers
588 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. ...
1
vote
0answers
214 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 ...
3
votes
2answers
972 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 ...
1
vote
0answers
41 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 ...
0
votes
2answers
213 views

Raspberry PI Relay power motor [closed]

Does anyone happen to have a similar example for a python code when pressing a button a relay is turned on which is powering a motor to open a gate for 5 seconds and then closes by giving a signal to ...
0
votes
0answers
909 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 ...
1
vote
2answers
3k views

how to delete motion images raspberry pi 3

I can not access images taken by webcam in raspberry pi 3. The specific software is called motion. When I try to open the image folder and get a message saying ‘Access Denied’.
1
vote
0answers
608 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 ...
1
vote
1answer
51 views

Motion Service Hanging Up Pi?

I have had a raspberry pi B+ for a little over a year now, and I've noticed consistent performance issues after running motion service for a long period (anything over an hour or so). Originally I was ...
0
votes
1answer
76 views

RPI 3 Motion detected apparently because of the light

I recently turn my Raspberry 3 into a surveillance camera with the official camera. Whenever a motion is detected I receive an email with the video. It works pretty well but I realized that I received ...
1
vote
1answer
7k views

Create a RTSP stream using motion and a USB webcam

I've just set up a fresh RaspberryPi (Zero W) and started installing motion, in order to receive a livestream of my (old) USB webcam (Microsoft LiveCam HD-3000). I know this is a pretty old one but ...
1
vote
1answer
519 views

Networking crashes, no restart possible without reboot

I'm running stretch on a pi3 with motion. I can browse this no problem from a pc for as long as I've cared to try but when I try to access it through firefox on my android phone, bang networking goes ...
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: ...
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
1k views

UART connection between STM32 an Raspberry Pi

i'm trying to establish an UART connection between STM32F4 and Raspberry Pi 3 to send motion sensor data. STM32 C code: /* Includes --------------------------------------------------------------...
3
votes
1answer
4k views

Motion 4.0 Server working but not streaming

I'm playing around with Motion 4.0 on my P3+ I seem to have everything working OK, its detecting motion and recording pictures and video. but when I go to the web page for the streaming output all I ...
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 ...
1
vote
2answers
95 views

How to configure RPi security camera to be active when our cell phones aren't on the wifi network?

I've seen quite a few security camera examples and many have options for a duty schedule that activates the camera during certain specified days/hours to set up a routine. However I have fairly ...
1
vote
1answer
662 views

using an rpi as IP camera with minimal CPU usage?

I'm trying to get a pi happening as an IP camera, using a CSI camera module. I'd like to minimise CPU usage. I don't need motion detection, just to dump an image from the camera onto the network where ...
1
vote
0answers
595 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 ...
2
votes
3answers
6k views

Motion: Unable to open device

I can access the web interface but get a grey screen then saying "Unable to open device". I tried: pi@octopi:~ $ ls /dev/video* pi@octopi:~ $ /dev/video0 I can also take pictures with fswebcam so ...
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 ...
-2
votes
1answer
84 views

Old RC car too new [closed]

I have a old RC car/truck with a good battery. It's starting is 2 dc motors on the back wheels (Skid steering?). Am I able to use a Raspberry Pi, USB web cam and a USB wifi card to make a RC car that ...
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 ...
2
votes
2answers
21k views

Raspberry PI 3 as NVR

I'm planning to do a NVR with a Raspberry Pi 3. I want to record video from 8 IP cameras at 640x480@24fps with motion detection implemented in the Raspberry Pi (using motion or OpenCV probably) so the ...
2
votes
2answers
8k views

4-5 (multiple) USB Cameras on one raspberry

please do allow me couple of silly questions: I have a project, where I need to monitor space with about 4-5 cameras to monitor a domestic coal boiler / fire room. All cameras do not have to be "on" ...
2
votes
3answers
32k views

Unable to open video device

I just installed motion on my Raspberry Pi 3 with the Raspbian distro, the software seems to work fine. However, I can't see any image from the local camera. I checked the log of motion and this is ...
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 ...
1
vote
1answer
799 views

Send sms on event_trigger with motion

I build myself a babycam using this article. I start motion on raspberryPi startup like here. My next intention is to send a sms to my smartphone if motion is detected. On this site I found out that ...
1
vote
2answers
6k views

Motion Not Working- site can't be reach

I installed motion to do live streaming with my webcam. Before this, I have tested the webcam with taking photo, it's working. I have configured the motion.conf and set stream_localhost to off. When ...
1
vote
0answers
892 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 ...
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 ...
1
vote
0answers
799 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/...
2
votes
1answer
2k views

Motion on_movie_end run a python script and bash script

I am using Motion to record videos. I have a Python script which sends the video to me when it ends (sendvideo.py). I have a bash script that clears the folder (clearmedia.sh) I have tried the ...
0
votes
2answers
875 views

Motion sensor (abnormal behaviour)

I have a little problem, i followed everything from here, but it doesnt seem to be working, it prints Motion detected infinite number of times without even detecting anything, the code is here. from ...
0
votes
3answers
4k views

Motion webcam resolution limit

I have a Pi Zero running Raspbian Jessie (up to date) and Motion with a Logitech C120 camera. The camera supports 320x240 and 640x480 When I configure Motion to record 640x480 the output is jittery ...
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 ...