How to access JPG of monitor?

Support and queries relating to all previous versions of ZoneMinder
Locked
cadillackid
Posts: 15
Joined: Mon Jul 09, 2007 6:10 pm
Location: Columbus Ohio
Contact:

How to access JPG of monitor?

Post by cadillackid »

I am using ZM as part of my home automation system.. one thing i havent been able to find is if there is a "current" JPG of each monitor... meaning if I wanted t osay access that monitor directly from my home automation system what filename and what directory would I look for the current pic of the monitor regardless of alarm status. im not looking for the images of events.. those are stored in my events path and are there.. this would be so say when the doorbell rings my wall mounted screen would pop up with the current images of the front door.. i can refresh this automatically or I could call a URL and show a streaming JPG...
any help is appreciated
-Christopher
If you cant Hook it up, Transmit to it, Receive from it, or Squeal the tires on it i dont want it.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

If you bring up a monitor window and click the stills link, you should be able to right click on the image and get the link for the current jpeg in the properties window. This will provide you with what your after.
cadillackid
Posts: 15
Joined: Mon Jul 09, 2007 6:10 pm
Location: Columbus Ohio
Contact:

Post by cadillackid »

that works.. except im looking for an actual file.. something I could store in a directory that could be SMB shared so my home automation PC can pick it up.. as a web page it makes things much more difficult to integrate. is there a way to get an actual file extracted from the current video of the monitor?
-Christopher
If you cant Hook it up, Transmit to it, Receive from it, or Squeal the tires on it i dont want it.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Yes you can pull a jpeg through zmu
zmu --help
vaineh
Posts: 24
Joined: Wed Feb 14, 2007 4:05 pm

Post by vaineh »

how do you specify where to put the images grabbed using zmu?

i want to put it into a script and then cronjob but using zmu it will only put the images in the same working directory as the script is run in.
Fixer
Posts: 1
Joined: Sun Jul 29, 2007 11:02 pm

Post by Fixer »

vaineh wrote:how do you specify where to put the images grabbed using zmu?

i want to put it into a script and then cronjob but using zmu it will only put the images in the same working directory as the script is run in.
The classic unix way to do this is to run several commands inside brackets.

ie :-

Code: Select all

(cd /home/hauto/mypics ; zmu -m 6 -i)
The first part cd's to wherever you want the image, then the second command is run in that location. Just make sure that the user running the task has permissions to execute zmu and can write in the target directory.

--
Fixer
Locked