[SOLVED] Filtering alarm event in Mocord mode

Forum for questions and support relating to the 1.30.x releases only.
Locked
felixita
Posts: 28
Joined: Tue Feb 09, 2016 12:35 pm

[SOLVED] Filtering alarm event in Mocord mode

Post by felixita »

Hy, currently i'm using a my self bash script to check if there are image stored into the disk captured by ZM in Modect. I use this script to send a Telegram msg to my phone if there are. Now, i need to do the same check in Mocord mode but i can't use this script since ZM save image continuously. I need to discriminate Alarm image within all continuously recorded images.
Someone can give me an advice to make this? I thought something like set ZM to naming this alarm image with a prefix, it's possible?

Thanks you all
Last edited by felixita on Sun Nov 19, 2017 10:35 pm, edited 3 times in total.
felixita
Posts: 28
Joined: Tue Feb 09, 2016 12:35 pm

Re: Filtering alarm event in Mocord mode

Post by felixita »

No one has an idea?
rockedge
Posts: 1173
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: Filtering alarm event in Mocord mode

Post by rockedge »

check out the example script zm-alarm.pl
I think it may be what you need. The script will detect alarms in Mocord mode.
felixita
Posts: 28
Joined: Tue Feb 09, 2016 12:35 pm

Re: Filtering alarm event in Mocord mode

Post by felixita »

thanks, i'll try.
felixita
Posts: 28
Joined: Tue Feb 09, 2016 12:35 pm

Re: Filtering alarm event in Mocord mode

Post by felixita »

this script work well in modect mode but Mocord i don't get any output
felixita
Posts: 28
Joined: Tue Feb 09, 2016 12:35 pm

Re: Filtering alarm event in Mocord mode

Post by felixita »

ok, with some changes I solved.

Thanks rockedge!
Locked