Hi Everyone,
I've done a search of the forum and not found the answer, although it appears to have been asked in different ways a few times in the past.
I'm currently building a home automation system that can interface with Zoneminder for controls and events. As part of my solution I'd like to be able to display the most recently captured image from each of my cameras. I'm not looking for a live feed as that would create to much load both across my network and on the servers that make up my home automation solution. What I'm looking for is either the last image from a motion event or an image that's sort of in a timelapse, say every 90 seconds.
Does anyone have any suggestions on what's possible?
Cheers,
Garry
Latest image
Re: Latest image
You can grab the latest image with the following command:
Run it every 90 seconds (or however often you want) and store the image on a web server so you can grab it whenever you want.
Code: Select all
zmu -m 1 -i -U username -P password
Re: Latest image
or something like this for monitor 1 in this example:
Code: Select all
http://your-zm-server/cgi-bin/nph-zms?mode=single&scale=100&monitor=1
-
- Posts: 97
- Joined: Sun May 28, 2017 4:29 pm
Re: Latest image
Thanks guys, very helpful.
-
- Posts: 4
- Joined: Wed May 10, 2017 8:09 am
Re: Latest image
Hi Maximo,
I'm also interested in such solution for HA.
How did you accomplish the 90 sec interval grabbing?
I'm also interested in such solution for HA.
How did you accomplish the 90 sec interval grabbing?
-
- Posts: 97
- Joined: Sun May 28, 2017 4:29 pm
Re: Latest image
I'll be honest and say I got distracted by another project and didn't fully implement this. I did trial it out to start with, and just used the URL access within a screen page on my HA solution, but couldn't get a clean enough image. Hence why I got distracted.