Track Motion and Preset 1

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
jamest
Posts: 2
Joined: Sun Feb 19, 2006 1:26 am
Location: England

Track Motion and Preset 1

Post by jamest »

Hi,

Am running zm 1.21.4 and have the track motion set up. Originally i had this set to return the camera to the home position after 60 seconds, this worked fine. I now need it to return to preset1.
If i click preset1 on the zm's camera control page it goes to the correct postion so ZM must be able to tell the camera to go to a preset.
I looked in the zmtrack.log and shows "Returning to location 1" but the camera doesn't move. It does still track motion correctly though.
In the zmtrack pl file this seems to be the problem line
--command=".($monitor->{ReturnLocation}?"preset1":"preset_home");
now in other parts of ZM preset1 is called preset_1 or preset 1 or preset_goto_1 i've tried all of them and none seem to work.

Anyone got any ideas or is anyone else using preset1 sucessfully?
(Camera is a BL-C10 and is running on centos 4.2)

thanks

James
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i have 'played' with a c10 and tracking but gave up, i cant help with your preset 1 thing but you could use (i did) the panasonic ui to change the home position to match preset 1
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I think this is a bug. I've done a quick fix and will test it properly before I commit. Either way it will be working in the next release.
Phil
User avatar
jamest
Posts: 2
Joined: Sun Feb 19, 2006 1:26 am
Location: England

Post by jamest »

Thanks for the updates, I look forward to 1.22.1.

James, for info, i did find tracking pretty awful when i first tried the camera - it was very slow at responding. After upgrading the camera firmware to 1.25 it seem to work muct better. It's been tracking since quite happily

James
Locked