Questions tagged [motion]

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

Filter by
Sorted by
Tagged with
37
votes
8answers
92k views

RasPi Camera Board and Motion

I just got my Camera Board and a Model A Raspberry Pi to use as a security camera for my house. I had been using Motion with a Logitech C170 USB camera on my Model B board and it worked great except ...
13
votes
2answers
47k views

How to start Motion in daemon mode on RPi running Raspbian Jessie

I have recently get to set up motion with my RPi but I have a problem which is simple one one hand, but, on the other, can’t find any step-by-step instructions to remedy it. Although I have ...
11
votes
5answers
15k 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: ...
8
votes
4answers
18k views

How can I use my Raspberry Pi for motion detection and SMS?

I'm just starting out. How could I use my Raspberry Pi to do the following: when any movement is detected at my front door, send me a text message (SMS)?
7
votes
1answer
36k views

“Failed to open video device /dev/video0 no such file or directory” with normal working usb camera in motion

I have a normal usb 2.0 cam. Connecting it to my pc, it works perfectly. It is not working with my raspberry pi (2). I had installed motion and it had worked good before 2/3 weeks when I tried it but ...
7
votes
2answers
11k views

auto brightness bypass whilst using Motion

Can I change the metering mode, exposure and ISO of my Raspberry pi noir camera whilst using the popular software Motion to detect, well, motion. I don't seem to be able to lighten the image whatever ...
6
votes
1answer
4k views

Take picam image while motion is running

I am running motion on my raspberry pi using the V4L2 driver. While motion is running, I can't take a snapshot using raspistill. Is is possible to take a snapshot of the virtual V4L2 device using ...
5
votes
4answers
29k views

Streaming live from the picam

I have tried to install Motion to stream from the cam. So I went to: RASPBERRYPI-IP:8080/8081 but it didn't show me my stream. I have no idea how Motion works and I am curious if this is the best and ...
5
votes
2answers
2k views

Make RPi keep an semi-accurate time after power loss

I use Motion detection and a webcam as a security camera. It's headless with no internet or keyboard. To turn the camera off while it's not need I just turn the power supply off. Because I shut it ...
5
votes
2answers
21k 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 ...
5
votes
2answers
8k views

Protect my motion webcam stream with a password (motion.conf)

I set up a webcam server using motion. The video is correctly streamed to Internet. Now I would like to protect the stream with a password: I don't want unknown people to spy on me! I don't know how ...
5
votes
2answers
8k views

WPUT is uploading pictures captured by Motion over FTP, but JPGs are blank?

I have been following this guide here and have got everything to work except the images being uploaded to my server are all blank. Here is an example of one of the blank image files. The JPGs ...
5
votes
1answer
18k views

Live video streaming embedded in a web page [closed]

I have created a web page to have both live video streaming and some button controls to control the robotic arm interfaced to the RPi GPIO pins. For button controls, I used php coding. The php coding ...
5
votes
1answer
1k views

Stream video from raspberry pi via a Ubuntu server

I have a ubuntu server running on a network which is visible outside to the internet. My question is, is there a way to stream the video from the raspberry pi to my Ubuntu server and from there to any ...
4
votes
3answers
31k views

unable to open video device and grey screen

I'm having problems with Motion's live stream going grey and saying unable to open video device. I can get my live stream working by rebooting my PI and, following a reboot, entering the command sudo ...
4
votes
1answer
3k 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 ...
3
votes
2answers
15k 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 ...
3
votes
4answers
28k views

What permissions does Motion require to write to specific directory?

I'm trying to run Motion as a deamon, however whenever I try to write a file, it crashes and I find this in my syslog: Dec 19 10:52:40 raspberrypi motion: [1] Resizing pre_capture buffer to 1 items ...
3
votes
3answers
14k views

Can't access motion server

I just installed motion but I can't get it to work. Im acessing my pi via local IP. SSH, VNC and apache works, but motion simply doesn't. I've already changed the ports at /etc/motion/motion.conf to ...
3
votes
2answers
446 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 ...
3
votes
1answer
425 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. ...
3
votes
1answer
3k 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 ...
3
votes
1answer
781 views

Raspberry Pi Webcam Motion Snapshot

i'm doing a motion (streaming webcam content) project and i want to know how can i take a snapshot with a terminal command. wget http://localhost:8080/?action=snapshot -O output.jpg This does not ...
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 ...
3
votes
3answers
4k 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 ...
2
votes
3answers
24k 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
7k 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
2answers
20k 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
1answer
521 views

Motion (daemon) as webcam, picture on command

I have Motion running as Daemon to use a webcam in my local network. This is not used for motion detecting, just to have a livestream. I want to take a photo when a button is pressed on the webserver....
2
votes
1answer
1k views

Motion-Mmal: I want to disable live stream capabilities

I have a few questions about Motion-MMAL: Sorry if these are noob questions. 1) I want to disable the live stream capability completely; however, i can only find information on how to keep the live ...
2
votes
1answer
178 views

motion not encrypted even with https

Edit : I found a workaround, please see the Edit at the end. I have a raspberry PI 3 running Raspbian Buster. I'm trying to set up motion 4.2.2 with 2 cameras to make a little surveillance system, ...
2
votes
2answers
848 views

How to get Motion working “On the fly”

I'm wanting to use my Pi as a dashcam and I'll have it set ffmpeg to make mpeg4 recordings. On the Motion website here they describe you being able to generate mpeg films "On the fly." I have done ...
2
votes
1answer
101 views

Motion Port Forwarding for access over the internet

I'm a bit new to the raspberry pi. Currently, I have a raspberry pi cam using motion to stream live video to a local HTTP address. It can only be accessed locally in my home network. I read some ...
2
votes
1answer
168 views

Very slow with motion server - Raspberry Pi B

Yesterday i configured "motion" on my old Raspberry Pi 1 B version with Raspberry camera module. It work all but i have a problem: when i connected at my raspberry with his ip adress, i see the ...
2
votes
1answer
1k 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 ...
2
votes
1answer
611 views

Motion disable during the night

I use my RPi to periodically take pictures, both snapshots and of detected motion events. Is there any way to stop motion from taking pictures during the night? For example I imagine this could be ...
2
votes
3answers
5k 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
386 views

Pi 2 usb camera stream hosted by third party

I have a Pi2 running Raspbian and I have a USB camera attached to it (I have checked, the camera is compatible and powering is OK). I am trying to achieve the following: I want to be able to remotely ...
2
votes
1answer
10k views

Have motion only save image, not movie

I'm sure its right there in the config in front of me, I just can't see it. I am using 'motion' to detect movement and save images. It is also saving .swf files (movies). How do I disable the saving ...
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 ...
2
votes
0answers
1k views

3 Camera Interfacing on Raspberry Pi B for Live Streaming [closed]

I am new to Raspberry Pi. My basic requirement is to get the live stream from 3 cameras using a Raspberry Pi B. It can be at a low fps. I'm planning to use 2 USB cameras and one RPi Camera Module ...
2
votes
2answers
1k views

Camera doesn't work with GPIO PIR Sensor

I am using a 3 pin PIR Sensor to detect motion (https://www.modmypi.com/pir-motion-sensor). This is connected to the GPIO pins. I also have the RPI Camera module attached to the Camera CSI. I would ...
2
votes
0answers
741 views

How do I wire this PIR motion sensor? [closed]

Apologies if this is off-topic; I'm not sure where else to ask. I've tried working through Adafruit's lovely tutorial, but it appears that the component I'm working with (EKMC1603112) is not set up ...
2
votes
5answers
17k views

Running script in motion

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 ...
1
vote
2answers
4k views

Raspberry motion getting killed every morning and evening

This is the weirdest problem I have ever ever faced! I am using Raspberry PI (running Raspbian Wheezy) with Logitech C310 webcam for home monitoring, with motion detection and recording enabled. It ...
1
vote
3answers
223 views

Could Motion and the PI learn their environments over a few weeks (eg ignore normal movement)

could Motion and the PI be used, not only to detect motion , but to learn which type of motion is good and which bad. For example. In ones garden, if the cat walks thought and takes a sip pf water ...
1
vote
1answer
51 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
2answers
602 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?
1
vote
3answers
12k views

Take snap from Raspberry pi using motion

I need to take a snap of current image using motion. Since motion is running as a daemon I cannot take snap using fswebcam as it shows Device or Resource is busy. So i need a command or interrupt ...