Page 1 of 1

Can't seem to edit the detection area

Posted: Thu Aug 04, 2011 11:42 am
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.

Re: Can't seem to edit the detection area

Posted: Thu Aug 04, 2011 1:07 pm
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.

Re: Can't seem to edit the detection area

Posted: Thu Aug 04, 2011 2:16 pm
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?

Re: Can't seem to edit the detection area

Posted: Thu Aug 04, 2011 2:19 pm
by PacoLM

Re: Can't seem to edit the detection area

Posted: Thu Aug 04, 2011 9:25 pm
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.

Re: Can't seem to edit the detection area

Posted: Mon Aug 08, 2011 11:43 am
by MrWibble
Both,

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

Thanks again!