Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philippkueng/meteo-logger
https://github.com/philippkueng/meteo-logger
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/philippkueng/meteo-logger
- Owner: philippkueng
- License: mit
- Created: 2015-02-16T19:23:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T17:10:09.000Z (over 9 years ago)
- Last Synced: 2024-10-12T04:52:43.704Z (about 1 month ago)
- Language: JavaScript
- Size: 172 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Meteo Logger
This project is a tool to quickly log swiss weather data into a google spreadsheet every 10 minutes, every hour or once a day.
## Requirements
* 2-Factor Authentication must be enabled on your Google Account
* You must have a heroku account or be allowed to create one.## Deployment
1. Make sure 2 factor authentication is turned on for your account
2. Create an app specific password for the logger https://security.google.com/settings/security/apppasswords
3. Log into your account and create a spreadsheet.
4. [![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/philippkueng/meteo-logger) the application to heroku and fill in your Google address as `USERNAME` and the app specific password as `PASSWORD`. Then if your spreadsheet is not called `node-edit-spreadsheet`, then you have to define the name in `FILENAME`.
5. Head to https://dashboard.heroku.com/apps//resources and click on the Heroku Scheduler.
6. Add a job `node index.js fetch $STATION` with dyno size `1X` and your preferred frequency.