Zm 1.24.2 - How do I get single images or snapshots?

Forum for questions and support relating to the 1.24.x releases only.
Locked
jrpend
Posts: 7
Joined: Sun Dec 13, 2009 7:33 am
Location: SF Bay Area, California USA

Zm 1.24.2 - How do I get single images or snapshots?

Post by jrpend »

Forgive me if this is a well know issue, but it has me puzzled.

I need, like every hour or so, to extract a single timestamped image from one of the cameras. These are attached via a blue cherry bttv8 card.

From reading the forums I tried:

http://<ipaddr>/cgi-bin/zm/nph-zms?mode=single&monitor=3&scale=100&user=<name>&pass=<passwrd> thinking I could simply do wget on the localhost from my script. It fails with a

Oct 7 10:58:27 nelson zms[21219]: FAT [Unable to load monitor id 3 for streaming]
Oct 7 10:58:27 nelson zms[21219]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]

Any suggestions on how to fix this and/or extract a single timestamped image from various cameras locally?

Thank you for your patience
Jerald
Everyone must believe in something. I believe I'll have another drink.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

http://<ipaddr>/cgi-bin/zm/nph-zms?mode=single&monitor=3&scale=100&user=<name>&pass=<passwrd>


the bold part looks wrong
Should it not be:
/cgi-bin/nph-zms?
jrpend
Posts: 7
Joined: Sun Dec 13, 2009 7:33 am
Location: SF Bay Area, California USA

Post by jrpend »

Hmmm. Ok - It should be the latest zoneminder - the installation is less than 7mos old and I check on the admin screen it tells me it is 1.24.2. The CGI path is being set in the conf.d/zoneminder file. Perhpas something in the fedora rpm?
Everyone must believe in something. I believe I'll have another drink.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Post by kingofkya »

in zoneminder just right click on the image of the camera and click view image it will give you a hint about the corect path.
jrpend
Posts: 7
Joined: Sun Dec 13, 2009 7:33 am
Location: SF Bay Area, California USA

Post by jrpend »

Solved!!!

Using a hint posted by kingofkya, I right clicked on the image while monitoring the camera of choice and discovered that even though I have only 4 camera, the monitor number has grown to a much larger value - in my case 15. I supply 15 as the monitor number and it all works!!.

Thank you everyone.

:D
Everyone must believe in something. I believe I'll have another drink.
Locked