Being an Amcrest security video user, I decided to give the Amcrest GO 4K Action Camera a go. The camera is small, all plastic, that comes with many accessories, including an underwater/waterproof case. For under $50, this is what you get:
I upgraded my security camera system from standard definition (960 x 480) to 4 MP (2560 x 1440). I had to change my original cables to a Siamese RG59 style, which I had to run again inside the attic, a process I wish not to repeat if I upgrade to 8MP (4K).
I got an Amcrest AMDV4M4-S5 DVR which stores HD footage from analog cameras. Excellent quality nonetheless. Found an issue that many are having, of triggering email attachments when motion is detected, which were not including attachments at all.
Following the standard procedure found on amcrest forums yielded no results. I had to perform trial and error steps within the main device, and this is what I found:
Ensure that Motion Detect is enabled, to send email, and snapshot. You need to enable it for each Channel.
Ensure that Recording is enabled under storage for both Main Stream and Snapshot.
This one is the kicker. Under Storage, Schedule and Snapshot tab, ensure that MD has been marked (yellow) for all days.
You can see the 3 pictures below.
Hope this helps fixing the email triggering with snapshot issue.
Recently I learned about the change of terms for Flickr, where I save all my CCTV snapshot images coming from my Amcrest 960H HVR. They are triggered when there is movement detected. Granted, not that effective by default, but at least provides me with indications or patterns of something abnormal happening, which can then allow me to search the video recordings (I shall run them against media analytics services at some point).
Point is that I needed to find out an alternative for hosting my images, and no better option than Google Drive. The system already sends out images via email, and I had to figure out how to land them into Google Drive. Luckily I found out this post from Andreas Gohr, where he provides a script that takes Gmail attachments and saves them into Google Drive.
On a high level, the solution relies on two processes:
Rule within Gmail that treats the incoming email
Script that runs asynchronously, finds emails and copies the attachment to Google Drive.
I took the original code, and modified to suite my needs:
Extract the DVR snapshot attachment image.
Make a copy into a Google Drive sub-folder, using a sub-string. Used the camera number as folder name.
Create subfolder names based on year, month and date provided by the filename (sample: 03_20181202010558.jpg). The folder name will be re-used if it already exists.
Delete the email (as I no longer needed once copied).
My Gmail rule differs a bit from the original poster:
Mute the Conversation (it does not appear in the inbox)
Feel free to create your own copy and modify to suite your needs. Just make sure to follow the instructions including the authorization step. This is important as the scripts requires access to Gmail. Google will be sending out an email with “possible risk” to the account, but you can instruct through console that you are OK with the script.