Scripting To Disable A Single Monitor.

Forum for questions and support relating to the 1.25.x releases only.
Locked
lamiskin
Posts: 1
Joined: Sat Apr 28, 2012 3:15 pm

Scripting To Disable A Single Monitor.

Post by lamiskin »

Hello,

I am new to zone monitor, loving it so far.

Basically what I am trying to achieve is to disable one monitor while I am home, as it is in my personal bedroom. I figure a way for my box to note the fact if I am home or not is to see if either my phone or laptop is available on the local wifi network.

So I know how to test every minute to check if these devices are ping-able, but I am not sure how to disable the monitor.
Does zone minder have an API to disable a single API or should I look into disabling /dev/video0 through perl / bash scripting through the operating system itself?

Thanks.
BobS0327
Posts: 86
Joined: Mon Oct 16, 2006 6:22 pm

Re: Scripting To Disable A Single Monitor.

Post by BobS0327 »

Check out this http://www.zoneminder.com/forums/viewto ... 21&t=19162 ZM thread. I've written a Net app to control the camera functions of any specific camera. Maybe this util will fill your needs.
Locked