Motion - Support Question 2012x 05x 23x 173851

external commands

Question

I want to know how to only execute one command in x time Example: I want to put a voice playing when something moves but when i execute the command, it repeats lots of times.


Environment

Motion version: 3.2.12
ffmpeg version: 0.8.1-4
Libraries: ffmpeg, mysql, postgresql
Server OS: ubuntu 12.04
-- JorgeCoelho - 23 May 2012

Answer

Not sure what trigger are you using for this , probably you are using on_motion_detected , you can use on_event_start instead to avoid a lot of times in same detection event.

-- AngelCarpintero - 02 Jun 2012
Topic revision: r3 - 02 Jun 2012, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.