https://github.com/oskaritimperi/weather
My personal weather station support code
https://github.com/oskaritimperi/weather
Last synced: 8 months ago
JSON representation
My personal weather station support code
- Host: GitHub
- URL: https://github.com/oskaritimperi/weather
- Owner: oskaritimperi
- Created: 2019-11-27T20:24:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T20:29:01.000Z (about 6 years ago)
- Last Synced: 2025-02-16T02:41:37.673Z (10 months ago)
- Language: Nim
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage on kapsi.fi
- Clone the repository to e.g. `/home/users/johndoe/sites/example.com/weather`
- Execute `nim build` to build binaries for updating database and graphs
- Create your databases with `./bin/create_database DATABASE-NAME`
- For example `./bin/create_database porch`
- Install the CGI script with `./bin/install_cgi_kapsi SCRIPT_PATH`
- For example `nim install_cgi_kapsi $HOME/sites/example.com/www/weather/update.cgi`
- Install a cron job for updating graphs `./bin/update_graphs GRAPH_OUTPUT_DIR`
- For example `$HOME/sites/example.com/weather/bin/update_graphs $HOME/sites/example.com/www/weather`