How to display latest image from Dahua cams on a webpage?

aldobordi

n3wb
Joined
Mar 28, 2018
Messages
6
Reaction score
0
Location
Milano, Italy
I am trying to use my new HDBW-81200 as a HD webcam, FTPing an image capture every 10' to my website.

Unfortunately it's not possible to choose a fixed path/filename, Dahua cams create a multilevel structure making impossible to reference the latest image in a html page.
I suppose the easiest solution should be a php script which can parse all subdirs and get the latest image.. has anyone already found a solution, without trying to reinvent the wheel ?
An alternative way could be getting the snapshot from the camera, i.e. using a raspberry pi on the remote lan, and then uploading the image to the ftp server (my cam is connected via 4G, so it cannot be reached from outside without a reverse vpn tunnel) .
 
Last edited:
Top