Take picture at a certain timing or at certain time interval and send it to email or save it into a folder
AnsweredHi,
I am quite new to nx witness, would like to know how can i capture the picture at a certain timing everyday and send it to email?
and
how can i capture the picture at a certain time interval and save it into a folder?
as i am quite new to this technology, is it possible to list down the steps needed in configuring the task above?
Many thanks in advance
Warmest regards,
Andy
-
Hi @...,
1. Take a snapshot and send it to email every day at a certain timing
Please refer to the article here for the example of a Generic event. Typically, you could do the following configuration to achieve your goal,
1) In Nx, set up a camera rule to send an email when receiving the Generic event(Remember to configure the global mail setting first).
2) Write a script to send the generic event and execute it at a certain timing every day.2. Take a snapshot and save it to the folder
Nx provides /ec2/cameraThumbnail API to take a snapshot at a specific time. Thus, you need to
1) Write a script to call the Nx Mediaserver API and save the thumbnail to your local filesystem.
2) Run the script regularly at the required timing.Thank you.
0 -
Hello -
I am looking to do this same thing, do you have an example for creating the script and saving it into a local folder? I am looking into the API but haven't done it before so am learning on this one.
I need to save a daily picture into a folder on a construction site.
Thanks!
Shane
0 -
Hi Shane O'Connell,
My colleague has written an example script for the snapshot tool. Feel free to download it here and play with it. If periodically capturing is required, you could run the script with the OS native scheduler:
- Ubuntu crontab
- Windows task schedulerThank you.
1 -
I will try it out, thank you very much!
0
Please sign in to leave a comment.
Comments
4 comments