https://github.com/joonas-fi/tamperewebcam
Scenic weather webcam feed with a stable URL for my info display at home
https://github.com/joonas-fi/tamperewebcam
Last synced: about 1 month ago
JSON representation
Scenic weather webcam feed with a stable URL for my info display at home
- Host: GitHub
- URL: https://github.com/joonas-fi/tamperewebcam
- Owner: joonas-fi
- License: apache-2.0
- Created: 2020-06-07T14:45:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T08:58:48.000Z (over 4 years ago)
- Last Synced: 2023-04-05T02:27:39.739Z (about 2 years ago)
- Language: Go
- Size: 360 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Takes (and crops) image from one of the camera feeds in my hometown and makes it available
at a stable URL and archives the images for me to maybe make automated timelapse videos later.Runs in AWS Lambda
Published image at
------------------https://s3.amazonaws.com/files.function61.com/tampere-webcam/hiedanranta/latest.jpg
I show this URL in my constantly-on info display at home.
Why is this open source?
------------------------This can't directly benefit anyone, as there are many hardcoded details. But I open sourced
this because there might be some details that could help someone:- Roundshot (the provider that has multiple 360° cameras in my city) URL making
- Image cropping
- S3 bucket access, incl. copying
- Lambda function, hybrid one (can directly run locally but also in Lambda)
- Dead man's switch check-in to an alerting system
* So that if this stops working, I get an alertCropping
--------Here's how the original image is cropped:

IAM policy
----------Good name for inline policy: `putWebcamImages`
```json
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:CopyObject",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::files.function61.com/tampere-webcam/*"
]
}
]
}
```