Here is a video compilation of what happens when it works. People can use the exit door and leave from the left without a problem. But when people approach the camera from the right, it activates an irrigation valve.
https://www.youtube.com/watch?v=QvIKKS0OE2A
Search found 21 matches
- Tue Jun 21, 2022 4:15 pm
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
- Tue Jun 21, 2022 2:48 pm
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
Re: alarm cause from zmMemRead
Thanks to your pointers I got #!/usr/bin/env perl use strict; use warnings; use ZoneMinder; use Switch; use Data::Dumper; use Time::HiRes qw(usleep); my @monitors; my $res; my $sth; my $row; my $note; my $dbh = zmDbConnect(); my $sql = "SELECT * FROM Monitors WHERE Monitors.Id = '12'"; $sth ...
- Tue Jun 21, 2022 12:10 am
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
Re: alarm cause from zmMemRead
Again, you are awesome to respond but: The database query mode only works after the zone is no longer in alarm and the event is written (unless it has changed recently) The method I have been using shows the zone name as soon as the alarm occurs. I actually use zmGetMonitorState($monitor) and ...
- Mon Jun 20, 2022 11:21 pm
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
Re: alarm cause from zmMemRead
Does not return the name of the zone in alarm which I need and is now missing in 1.36.my $alarmcause = zmGetMonitorState($monitor);
but thank you for your response.
- Mon Jun 20, 2022 12:49 pm
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
Re: alarm cause from zmMemRead
I am not competent at debugging perl but have done my best to figure out the alarm cause is no longer being written to the shared memory file. By stepping through the process, I believe the alarm cause should be at location 376 of my memory map for a length of 256 bytes. line 152 of Mapped.pm: my ...
- Sat Jun 11, 2022 3:16 pm
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
Re: alarm cause from zmMemRead
on my v1.34.26. system, I get this. It includes the zone name (in "Motion Ramp" or "Motion Shed") Cause: Motion Shed x: -1 y:-1 $VAR1 = 'Motion Shed'; $VAR1 = 'Motion Shed'; $VAR1 = 'Motion Shed'; $VAR1 = 'Motion Shed'; $VAR1 = 'Motion Shed'; $VAR1 = 'Motion Shed'; $VAR1 = 'Motion Ramp'; $VAR1 ...
- Fri Jun 10, 2022 8:22 pm
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
Re: alarm cause from zmMemRead
Zoneminder v1.36.19 on Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-117-generic x86_64)
- Fri Jun 10, 2022 8:20 pm
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
Re: alarm cause from zmMemRead
Thanks, when you have a chance. My code: #!/usr/bin/env perl use strict; use warnings; use ZoneMinder; use Switch; use Data::Dumper; use Time::HiRes qw(usleep); my @monitors; my $dbh = zmDbConnect(); my $sql = "SELECT * FROM Monitors WHERE Monitors.Id = '1'"; my $sth = $dbh->prepare_cached( $sql ...
- Thu Jun 09, 2022 5:00 pm
- Forum: ZoneMinder 1.36.x
- Topic: alarm cause from zmMemRead
- Replies: 13
- Views: 4276
alarm cause from zmMemRead
Hello, I recently upgraded from 1.34 to 1.36 In 1.34 I was using a perl script with my $alarmcause = zmMemRead($monitor, 'shared_data:alarm_cause'); $alarmcause used to include the name of the zone that went into alarm ex: "Motion Zone1" now it just includes "Motion" without a zone name. Is there ...
- Sat Oct 22, 2016 4:46 pm
- Forum: Feature Requests
- Topic: Auto-tuning of zones based on user feedback....
- Replies: 3
- Views: 4496
Re: Auto-tuning of zones based on user feedback....
I haven't found anything like it in the works. This is just a mod on my server.
- Fri Oct 21, 2016 4:12 pm
- Forum: Feature Requests
- Topic: Auto-tuning of zones based on user feedback....
- Replies: 3
- Views: 4496
Re: Auto-tuning of zones based on user feedback....
I am working on this as a project. The alarm events are checked and the false events are unchecked. The stats of the alarm frames are processed and graphed. I know the process works but am not sure the data as I have processed it is of any use. In this particular case there is a definite difference ...
- Sun Oct 16, 2016 2:33 pm
- Forum: ZoneMinder 1.30.x
- Topic: Friendly Stats View
- Replies: 1
- Views: 1495
Re: Friendly Stats View
This is the resulting graph
- Sun Oct 16, 2016 2:29 pm
- Forum: ZoneMinder 1.30.x
- Topic: Friendly Stats View
- Replies: 1
- Views: 1495
Friendly Stats View
I have 2 reasonably large systems with some false alarming problems. I am working on a way to graph the stats easily to compare real alarms to false alarms. I have made a small mod to events.php which allows selected and non selected events to be sent to a graphing routine. I am getting output ...
- Wed Jul 27, 2016 5:33 pm
- Forum: ZoneMinder 1.30.x
- Topic: Compiling from source ffmpeg libraries
- Replies: 6
- Views: 4391
Re: Compiling from source ffmpeg libraries
Thanks, I will just stick with the package 1.29 version until 1.30 works.
- Wed Jul 27, 2016 2:36 pm
- Forum: ZoneMinder 1.30.x
- Topic: Compiling from source ffmpeg libraries
- Replies: 6
- Views: 4391
Re: Compiling from source ffmpeg libraries
At least I have figured out how to install the libraries. It is a new day and I have a fresh brain. I have the same symptoms as https://forums.zoneminder.com/viewtopic.php?t=18723 and there for wanted to explore the patch (above) I don't know if I am chasing a wild goose but enjoy fooling around ...