From f148cec9f729a4260a78d978d4932bd3a1ccf606 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sun, 21 Jan 2018 02:06:26 +0100 Subject: [PATCH] Added templates. --- _graph_templates/2018_rain.svg.xml | 11 +++++++++++ _graph_templates/2018_temp.svg.xml | 11 +++++++++++ _templates/current.txt | 19 +++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 _graph_templates/2018_rain.svg.xml create mode 100644 _graph_templates/2018_temp.svg.xml create mode 100644 _templates/current.txt diff --git a/_graph_templates/2018_rain.svg.xml b/_graph_templates/2018_rain.svg.xml new file mode 100644 index 0000000..0901d82 --- /dev/null +++ b/_graph_templates/2018_rain.svg.xml @@ -0,0 +1,11 @@ + + + + + year=2018, month=1, day=1, hour=0 + year=2018, month=12, day=31, hour=23 + %b + + + + diff --git a/_graph_templates/2018_temp.svg.xml b/_graph_templates/2018_temp.svg.xml new file mode 100644 index 0000000..b5b63cd --- /dev/null +++ b/_graph_templates/2018_temp.svg.xml @@ -0,0 +1,11 @@ + + + + + year=2018, month=1, day=1, hour=0 + year=2018, month=12, day=31, hour=23 + %b + + + + diff --git a/_templates/current.txt b/_templates/current.txt new file mode 100644 index 0000000..e83dda4 --- /dev/null +++ b/_templates/current.txt @@ -0,0 +1,19 @@ +#encoding utf8# +#locale True# +#timezone local# +#hourly# +Stand: #idx "%Y-%m-%d %H:%M %Z"#
+Temp gemessen: #temp_out "%.1f ℃"#
+Temp gefühlt: #calc "apparent_temp(data['temp_out'], data['hum_out'], data['wind_ave'])" "%.1f ℃"#
+Luftfeuchte: #hum_out "%d%%"#
+Wind aus #wind_dir "%s" "-" "winddir_text(x)"#
+Wind mit #wind_ave "%.0f ㎞/h" "" "wind_kmph(x)"#
+Wind max. #wind_gust "%.0f ㎞/h" "" "wind_kmph(x)"#
+Regenfall #rain "%0.1f ㎜"#
+Luftdruck rel. #rel_pressure "%.0f ㍱"#
+Luftdruck abs. #abs_pressure "%.0f ㍱"#
+Luftdruck Trend: #pressure_trend "%s" "" "pressure_trend_text(x)"#
+Quellwolkenuntergrenze: #calc "cloud_base(data['temp_out'], data['hum_out'])" "%.0f m"#
+ +Wettertrend: #calc "Zambretti(params, data)"#
+