Page 1 of 1

External Trigger Question

Posted: Fri May 01, 2015 6:23 pm
by willemb
Hi there,

Just started with ZM and learning the ropes. So far I like what I'm seeing. I'm wondering if anyone could help me out. I realize I can use an external trigger to start recording but what I was hoping for was an external trigger that would simply change the monitor function say from simply a view monitor or none to motion detection.

My situation is that I want to record only motion detected events when a vehicle is moving within a certain speed range. I suppose I could just write a script that stopped and started the ZM service according to vehicle speed but I was thinking this may create too much of a delay.

Cheers

Re: External Trigger Question

Posted: Thu May 07, 2015 8:31 pm
by asker
You can use run states to make monitor configurations and change using zmpkg.pl
http://www.zoneminder.com/wiki/index.ph ... or_week.3F

willemb wrote:Hi there,

Just started with ZM and learning the ropes. So far I like what I'm seeing. I'm wondering if anyone could help me out. I realize I can use an external trigger to start recording but what I was hoping for was an external trigger that would simply change the monitor function say from simply a view monitor or none to motion detection.

My situation is that I want to record only motion detected events when a vehicle is moving within a certain speed range. I suppose I could just write a script that stopped and started the ZM service according to vehicle speed but I was thinking this may create too much of a delay.

Cheers

Re: External Trigger Question

Posted: Tue Jul 19, 2016 3:03 pm
by misterandres
I realize this is an very old post. Sorry for that, Did you find a way around your problem?
Thank you

Re: External Trigger Question

Posted: Tue Jul 19, 2016 10:07 pm
by asker
ZoneMinder 1.29 and above now have APIs - you can do this via APIs and no longer need run states.
http://zoneminder.readthedocs.io/en/stable/api.html