Page 1 of 1

Question on status of Amazon S3 support

Posted: Wed Dec 20, 2017 4:23 am
by sypheXsquare
I apologize in advance if this is the wrong place to post, but I wanted to inquire about the current status of ZoneMinder and Amazon S3. I guess this would be a simple non-issue if you can dump a data directory to the cloud, but would probably be useful to someone technically inclined.

Re: Question on status of Amazon S3 support

Posted: Thu Dec 21, 2017 12:49 pm
by iconnor
I use it via s3fs. The lag is a problem.

So what I do is record locally and use a background filter to copy events to s3 storage.

Re: Question on status of Amazon S3 support

Posted: Tue Dec 26, 2017 10:14 pm
by kevrm
Funny you mention this - I found a node.js based solution which was more work to get it working than to build one.. so I just built this:

https://github.com/CampsiteHelper/ZoneMinderS3

It uploads alarm image frames to s3 in short order. Allows me to do local full recording (MORECORD) and send relevant frame up for safekeeping.

Re: Question on status of Amazon S3 support

Posted: Thu Dec 28, 2017 11:53 am
by Zmjm15
https://github.com/CampsiteHelper/ZoneMinderS3/

This looks pretty good,

Is it easy to get working?

Does it allow upload of all footage or just alarmed images? is there a way to choose a different email address for different cameras?

Many thanks

Re: Question on status of Amazon S3 support

Posted: Mon Jan 01, 2018 5:58 pm
by kevrm
Zmjm15,

Its pretty easy to get working assuming you know how to setup an S3 bucket and permissions on AWS.

It only uploads alarm'd images.

I strongly doubt most most folks have upstream bandwidth to support uploading all images so I didn't build that in.

Re: Question on status of Amazon S3 support

Posted: Wed Jan 03, 2018 1:49 am
by kevrm
Been testing and improving, its working pretty well now


Image

Re: Question on status of Amazon S3 support

Posted: Thu Jan 18, 2018 11:33 am
by Zmjm15
Thanks Kevrm,

I want to set up a Raspberry pi with the camera module on it to put into my car, and then be able to upload alarmed images via 3g/4g, do you know if that is do-able?