From: john b. <jo...@jo...> - 2010-05-04 20:18:54
|
On Sat, 2010-05-01 at 23:43 +0200, Fritiof Hedman wrote: > Hi! > > I wonder if there is some way to set one thread to start in "detection > pause mode". > Today I do this manually by running a script that calls > http://127.0.0.1:8080/1/detection/pause (where 8080 is the > control_port and 1 is the thread number) but I think that's > unnessecary. I do this, because I use network cameras with built-in > motion detection that calls a script that sets output_all on motion > and sets that option to off when there's no motion again. > > This is to decrease the CPU usage, since I'm running Motion on a quite > slow machine. hey fritiof - i think that is the only way to do it. you might combine it in another script and call that to start motion. one line to start moton and a second line to invoke the pause. john -- cleverly disguised as a responsible adult. |