Skip to content

mrumpf/klimalogger-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  • xmlstarlet - bash XML parsing
  • rrdtool - bash RRD processing
  • apache2 - for serving the app via HTTP

Modules

Weather Forecast

The script bin/weather-forecast.sh retrieves a 4 day forecast from the Google weather API. It downloads the XML and the referenced images and puts all into the sub-folder tmp/weather. The XML and the images are used by the klimalogger-ui to display a 4 day forecast.

RRD

The script bin/rrd.sh takes a CSV file with a klimalogger dump as provided by the klimalogger tools (tfa_dump) and creates RRD files from it as well as PNG images. The files can be found in the sub-folder tmp/data.

Installation

Crontab

Wheather Forecast

KLIMALOGGER_HOME=/home/pi/workspaces/klimalogger/klimalogger-ui
0 0 * * *   $KLIMALOGGER_HOME/bin/weather-forecast.sh

Temperature

KLIMALOGGER_HOME=/home/pi/workspaces/klimalogger/klimalogger-ui
*/5 * * * * $KLIMALOGGER_HOME/bin/dump....

Libraries

The following libraries are used by the klimalogger-ui application:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published