marce147
Posts: 14
Joined: Tue Dec 22, 2015 9:00 pm

Emulate a movement in motion

Thu Mar 16, 2023 4:25 pm

I'm using motion
I have seen that to emulate a movement (and therefore activate all the relative procedures) it can be done by typing

Code: Select all

sudo motion -n
and then after a few seconds CTRL+C
Is there another system?

PiGraham
Posts: 5245
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Emulate a movement in motion

Thu Mar 16, 2023 4:38 pm

Maybe

Send a signal to motion daemon using kill/pkill

SIGUSR1
Motion will create a movie file of the current event.

https://manpages.org/motion

Return to “Automation, sensing and robotics”