[Feature] Option to manually start and stop recording?
The title says it all but is there any feature that allows the user to essentially press a record button on one or all webcams at any given time.
Say, for example, I don't have motion detected recording enabled but whilst viewing, I want to manually record a block of time; be it 5 minutes or 2 hours. Is there any support for this?
I would assume it would just be a pop-up menu item like viewing photos and videos where I can simply press record to start recording and then stop to stop it.
Actually just noticed something very similar on the road map. Any idea on when you think the feature will be implemented?
There are plans in this direction but no work has been done yet.
I'm interested in this feature too... would appreciate if there were buttons to manually: A) take a picture, and B) start/stop recording. Thanks
Any news on this? It's a bit of a bother (a large bit) having to change a setting and apply in order to manually record something and stop it again. Thanks
I'm interested too, this post is rather old , Any news on this?
Following
still not possible? :/
I am also interested in this feature. Perhaps a command line script as a short term work around until this can be put in the web interface?
+1 would like to see this feature!
+1 me too. I need to send start / stop from with http request! Perfect for home automation
+1 Any update on this. Is this project still ongoing as of Q2 2019?
As a workaround for now, you could start/stop recording by enabling motion detection, then sending a HTTP request to trigger motion detection.
http://localhost:7999/1/config/set?emulate_motion=1 to force trigger motion detection.
http://localhost:7999/1/config/set?emulate_motion=0 to disable forced motion detection.
The http request with eventstart and eventend should also work.
As a workaround for now, you could start/stop recording by enabling motion detection, then sending a HTTP request to trigger motion detection.
http://localhost:7999/1/config/set?emulate_motion=1to force trigger motion detection.http://localhost:7999/1/config/set?emulate_motion=0to disable forced motion detection.
in which version this works...Please answer.
@karthickshiva18 Emulate motion has been in motion for a long time. Any version should work.
@jasaw is there any more information how to send those commands via http request? I got a 404 error when sending both get and post requests. Screenshots attached from my terminal and motioneye.log


@colinlgray is motion running under port 80? You need to specify the port http://host:port/1/config/set?emulate_motion=1
port 7999 is the default "command/control" port for motion. Your examples are going against port 80 so you must have some other webserver (or motioneye set) on that port.
here is my sample of my script for on and for off
$ cat light_on_1
#!/bin/sh
/usr/bin/curl "http://localhost:7999/1/config/set?emulate_motion=1"
$ cat light_off_1
#!/bin/sh
/usr/bin/curl "http://localhost:7999/1/config/set?emulate_motion=0"
Let me know if that resolves your issue.
BTW: the "light_on_#" and "light_off_#" is for setting control buttons on the cameras on the motioneye interface, if you didn't already know that. You put them in your motioneye config directory, default of /etc/motioneye
One other note, you need to be on the local system that your motioneye is running on for this to work, so its best to use localhost in this instance. If you want to allow access from another system, you will need to set the permissions in the config for motion to accept non localhost (127.0.0.1) connections for command/control. I don't have that off the top of my head, but its in the configuration.
Thanks for the clarification there. This was my bad, I am running motion via motioneyeos. It sets up a web interface on your local network and I was trying to send requests to that interface. I need to see how it exposes this interface
I need to record sleep, e.g. 8 hour sessions. A start/stop button would be very useful so that unskilled users could operate the soft ware. Even a toggle switch connected with one of the GPIO pins would be desirable. Currently, it looks like I will write a script to control rasspivid.
In any case the ease of installing and setting up MotionEyeOS is a welcome relief from software like BlueIris.
Many thanks,
lcleve
@lcleve If you use a toggle switch, you should be able to use this script by just changing the GPIO pin: https://github.com/ccrisan/motioneyeos/issues/842#issuecomment-414375686
Thanks. I'll look into it.
lcleve
+1 would like to see this feature!
+1
A reasonable feature indeed, I would find it helpful for testing as well.
+1
+1 as it's a fairly easy feature to add to the ui