Search found 6 matches
- Mon Feb 08, 2016 4:14 pm
- Forum: ZoneMinder 1.28.x
- Topic: ZM Perl Interface Issue
- Replies: 21
- Views: 11591
Re: ZM Perl Interface Issue
I made a sub to check the memory and I added a loop to keep checking it until its valid in case ZM was stopped for an extended amount of time. With my script I am seeing some strange behaviors when I stop ZM, trigger a motion event (the validatemem sub loops until ZM starts again), then start ZM ...
- Sat Feb 06, 2016 4:34 am
- Forum: ZoneMinder 1.28.x
- Topic: ZM Perl Interface Issue
- Replies: 21
- Views: 11591
Re: ZM Perl Interface Issue
Yes! This is great! I just got a few free mins and put that code in my script and it works perfectly so far. I am able to restart zoneminder and the script recovers without having to restart it. So all I need now is to just have monit monitor the script as I normally do and I don't have to modify ...
- Thu Feb 04, 2016 3:33 am
- Forum: ZoneMinder 1.28.x
- Topic: ZM Perl Interface Issue
- Replies: 21
- Views: 11591
Re: ZM Perl API Issue
asker, zmdc.pl will work perfectly for starting and stopping, that's what I was looking for! I'm going to work on adding it as a daemon tonight. Thanks for the pointer! I am definitely interested in the perl routines to reinit the memory handles to fix the memory handle issue. bbunge, I saw the ...
- Fri Jan 29, 2016 2:21 pm
- Forum: ZoneMinder 1.28.x
- Topic: ZM Perl Interface Issue
- Replies: 21
- Views: 11591
Re: ZM Perl API Issue
I am running: Ubuntu 14.04.3 LTS (GNU/Linux 3.16.0-57-generic x86_64) zoneminder 1.28.1-trusty-1 amd64 Systemd looks like it would work, but it seems that Ubuntu uses upstart. From what I've read, Ubuntu will be switching to systemd in the next year though. I've been using monit, but the way I had ...
- Thu Jan 28, 2016 4:32 am
- Forum: ZoneMinder 1.28.x
- Topic: ZM Perl Interface Issue
- Replies: 21
- Views: 11591
Re: ZM Perl API Issue
I am recording 24x7 on outdoor cameras and using the motion to mark motion events (like mocord) to help when reviewing the video, I cant risk missing something using motion detection alone. Also zmtrigger.pl uses the same zmTriggerEventOn function, so it would be over kill to open a tcp session to ...
- Fri Jan 01, 2016 5:12 am
- Forum: ZoneMinder 1.28.x
- Topic: ZM Perl Interface Issue
- Replies: 21
- Views: 11591
ZM Perl Interface Issue
(Modified subject line from "API" to "Interface" so as not to confuse folks with the new cakePHP APIs ~ asker) Hello, I wrote a script that connects to Hikvision cameras http push stream and listens for motion events, then using the ZM perl API, enables or disables the ZM alarm for that camera. This ...