Can't seem to edit the detection area

Forum for questions and support relating to the 1.24.x releases only.
Locked
MrWibble
Posts: 3
Joined: Thu Aug 04, 2011 11:31 am

Can't seem to edit the detection area

Post by MrWibble »

Hi,

I've set up ZoneMinder for the first time and it's been a little fiddly but it's running well (remote camera, alarms, emails, motion detection), except I can't seem to edit the detection area for my camera to cut back on false alarms.

I click through from the main screen on the zone number in the far right column to get a red shaded version. I then click on the zone's name and get a new window with a green shaded version with one point top left. But the green shaded version is just a picture, I can't do anything with it!

Clicking the Point1 doesn't let me move it. I have no way to add more points as there's no points listed in the table below the green shading, so no plus or minus buttons to add or remove them.

I feat I'm doing something very stupid but I've gone around and around double checking everything and even following some of the YouTube guides. It all looks right, I just can't move/add points.

What have I missed?

Edit: Added a screen grab of the screen in question.
Attachments
image.png
image.png (129.45 KiB) Viewed 2642 times
jbmia
Posts: 50
Joined: Sat Jul 30, 2011 1:56 pm

Re: Can't seem to edit the detection area

Post by jbmia »

I'm new here as well... I had that problem once as I was going through testing and config.. the solution for me was to delete that monitor and re-create it.. Give that a quick try and see if that fixes it.
MrWibble
Posts: 3
Joined: Thu Aug 04, 2011 11:31 am

Re: Can't seem to edit the detection area

Post by MrWibble »

Nice idea, it's just about the only thing I hadn't tried.

Just gave it a stab and no joy though. Anything else I could try?
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Can't seem to edit the detection area

Post by PacoLM »


After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
snake61
Posts: 64
Joined: Thu Jul 17, 2008 1:44 pm
Location: South Carolina

Re: Can't seem to edit the detection area

Post by snake61 »

PacoLM has the correct link, just gotta go down to the area where you have to type in info.

I think I found a solution. I copied the Mootools 1.2.1 to /usr/share/zoneminder/tools/mootools directory, but the Zoneminder search another place.

The path in /usr/share/zoneminder/skins/classic/includes/function.php:

Code:
<script type="text/javascript" src="/javascript/mootools/mootools.js"></script>
<script type="text/javascript" src="/javascript/mootools/mootools-more.js"></script>

I changed this to:

Code:
<script type="text/javascript" src="tools/mootools/mootools-1.2.1-core-nc.js"></script>
<script type="text/javascript" src="tools/mootools/mootools-1.2-more-nc.js"></script>
<script type="text/javascript" src="js/mootools.ext.js"></script>

Now working the area select and montage grid function.

********************
If you are as new to linux as I, the issue I had was to edit it using a text editor. That didn't work, because it kept saying I needed root permissions even when i did.

However, the real solution was, if you're using Ubuntu, was to open a command line terminal and type

sudo nano /usr/share/zoneminder/skins/classic/includes/function.php:

it will open the file. locate the lines you need to change, cut and paste the above info and save it.

Works without a hitch. And beleive me, Im no linux guru.
Thanks for all the Help.
New to Linux
MrWibble
Posts: 3
Joined: Thu Aug 04, 2011 11:31 am

Re: Can't seem to edit the detection area

Post by MrWibble »

Both,

Thanks for this. I editted function.php as suggested and it now works perfectly.

Thanks again!
Locked