Page 1 of 1

[SOLVED] Filtering alarm event in Mocord mode

Posted: Sun Nov 12, 2017 10:43 pm
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

Re: Filtering alarm event in Mocord mode

Posted: Thu Nov 16, 2017 10:32 pm
by felixita
No one has an idea?

Re: Filtering alarm event in Mocord mode

Posted: Fri Nov 17, 2017 2:35 am
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.

Re: Filtering alarm event in Mocord mode

Posted: Sun Nov 19, 2017 3:02 pm
by felixita
thanks, i'll try.

Re: Filtering alarm event in Mocord mode

Posted: Sun Nov 19, 2017 10:11 pm
by felixita
this script work well in modect mode but Mocord i don't get any output

Re: Filtering alarm event in Mocord mode

Posted: Sun Nov 19, 2017 10:35 pm
by felixita
ok, with some changes I solved.

Thanks rockedge!