Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 40be45fc7e | |||
| ed4787d9a5 | |||
| 55ce8cb1f2 | |||
| c665a410e0 | |||
| bca9788eec |
@@ -4,4 +4,7 @@ Timelapse application for my AXIS P1387-LE nature camera.
|
||||
|
||||
This probably could have been a bash script. But whats the fun in that?
|
||||
|
||||
WIP: I still want to add S3 file handling.
|
||||
WIP:
|
||||
- I still want to add S3 file handling.
|
||||
- Convert SystemD timers of my two bash scripts into the app itself for file orginization and daily MP4 video generation.
|
||||
- Setup Ntfy for scheduled notifications of yeterday, monthly, and yearly for when timelapse videos are ready.
|
||||
@@ -35,7 +35,7 @@ func CaptureImage() bool {
|
||||
|
||||
if resp.Body != nil {
|
||||
timestamp := time.Now()
|
||||
filename := timestamp.Format("/axis-2006-01-02_15-04-05.jpg")
|
||||
filename := timestamp.Format("/axis-2006-01-02_15-04-05.png")
|
||||
|
||||
img, _, err := image.Decode(resp.Body)
|
||||
if err != nil {
|
||||
|
||||
@@ -16,4 +16,4 @@ access_key = ""
|
||||
secret_key = ""
|
||||
|
||||
[timer]
|
||||
chron = "1 * * * *"
|
||||
chron = "*/5 * * * *"
|
||||
|
||||
@@ -55,7 +55,7 @@ access_key = ""
|
||||
secret_key = ""
|
||||
|
||||
[timer]
|
||||
chron = "1 * * * *"
|
||||
chron = "*/5 * * * *"
|
||||
EOT
|
||||
|
||||
info "Downloading axis_timelapse_linux_amd64..."
|
||||
|
||||
Reference in New Issue
Block a user