I'm struggling with adding a dynamic text overlay to my cameras (AXIS 216FD). I believe I have found a solution using the CGI interface for the cameras where I can send a HTTP request to update the text overlay:
Code: Select all
http://<server>/axis-cgi/admin/param.cgi?action=update%20&Image.I0.Text.TextEnabled=yes&Image.I0.Text.String=LOT:10
This is working very well. However, Zoneminder continues to record the stream with the old text overlay. This isn't surprising. I have found that if I go into the ZM console and simply open and save the source parameters for the camera (no changes), it updates the stream.
Is there a safe and convenient way to do this externally? I have a PHP script sending the HTTP request to the camera... I'd like to also use that script to re-fresh the sources in Zoneminder. I "safe" because it may be happening frequently (5-10 times a day?) and I don't want to corrupt anything.
Thanks in advance,
JWeb[/code]