Zones and PTZ

Forum for questions and support relating to 1.33.x development only.
Post Reply
mfitch
Posts: 4
Joined: Mon Feb 11, 2019 5:23 pm

Zones and PTZ

Post by mfitch » Mon Feb 11, 2019 5:40 pm

Can anyone explain to me how moving the camera view around with PTZ works when creating Zones? I want to enable the blob overlays when motion is detected, but my guess is that it may not work right if the camera moves around. Thanks!

rockedge
Posts: 1098
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Zones and PTZ

Post by rockedge » Wed Feb 13, 2019 2:20 pm

the motion detection with zones will always trigger an event when the camera moves....but if you only move the camera at scheduled times one could instruct ZM (CRON job perhaps) to turn off motion detection..then move the camera and then turn on the motion detection again. Also on could set up different monitors for the same camera with each monitor set up having the zones set up for that position then using "Run States" tell ZM which run state to go into where you could have the desired monitor setup active or not.

or something like that....

mfitch
Posts: 4
Joined: Mon Feb 11, 2019 5:23 pm

Re: Zones and PTZ

Post by mfitch » Wed Feb 13, 2019 7:31 pm

Thanks for the ideas rockedge! Good to know I wasn't off base about the camera movement. It would be an awesome feature to be able to automatically disable motion detection during a camera control event, and maybe automatically re-enabling once the camera is returned to a preset or something. Also would be cool if you could define different zones specifically for presets, I guess for cameras that support presets.

I think I'm going to try your suggestion and use run states. I completely missed that feature! I suppose I can manually change the run state to not do motion detection, then move the camera (or define and use a position preset), then turn motion detection back on. Thanks again.

rockedge
Posts: 1098
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: Zones and PTZ

Post by rockedge » Thu Feb 14, 2019 1:11 pm

I like that idea of having ZM temporarily suspend motion detection if the PTZ controls are used to move the camera or switch from infra red night vision to normal.

jamesmcbride
Posts: 5
Joined: Sun Feb 18, 2018 12:07 am

Re: Zones and PTZ

Post by jamesmcbride » Thu Mar 07, 2019 4:21 pm

You could setup different zones for different presets then enable the zone relevant to the preset after the preset is called.

I currently do something similar to this when switching between day and night.

At night car headlights trigger motion events on the "entrance" part of my driveway when a car goes past. This isn't an issue during the day time and I'd rather be capturing events in that area. So my home automation system (openhab) turns on and off various zones depending on if its day / night and also if we are home or not, like this:

Code: Select all

Switch DriveEntranceMotionActive "Drive Entrance Motion Detection"  {http=">[ON:POST:http://192.168.180.11/zm/index.php:action=zone&mid=5&zid=17&newZone[Type]=Active] >[OFF:POST:http://192.168.180.11/zm/index.php:action=zone&mid=5&zid=17&newZone[Type]=Inactive]"}

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests