scheduled emails of high/low data

Requests for future functionality

Moderator: Mattk

Post Reply
uhf
Fresh Boarder
Fresh Boarder
Posts: 13
Joined: Fri Mar 13, 2009 5:24 am
Location: Iowa, USA

scheduled emails of high/low data

Post by uhf »

I would like to be able to schedule emails with selected values of weather, such as 24 hour precip, high/low temperatures since midnight, peak wind gust, etc. I used that feature extensively in virtual weather station to automatically log daily weather info with a local broadcast station.
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Re:scheduled emails of high/low data

Post by wfpost »

you can do this with the upload feature, meteohub offers.
you´ll need to create a html file with the various variables you want the values of included in your email and store it at \\\\meteohub\\public\\graphs folder.
Next step is within the graphs upload menu to define a schedule and setup the html file to be sent as email instead of uploaded via ftp.

e.g. I´m using the html code below to send me an email three times a day with various values of my VP2.

At the moment the email is plain text only as I have not figured out as how to set up the mail demon Boris has installed with meteohub sending html emails. My guess is that the current demon is not supporting html-emails :unsure:

---
Wetterdaten aus Honsolgen - automatisch gesendet von meteohub 3x am Tag
-------------------------------------------------------------------------------------------------------------------------

Forecast: [actual_thb0_fc_text:-]

LuftTemp: [actual_th0_temp_c:-]°C
BodenTemp: [actual_t0_temp_c:-]°C
GewächshausTemp - rF: [actual_th4_temp_c:-]°C - [actual_th4_hum_rel:-]%
Taupunkt: [actual_th0_dew_c:-]°C
Rel. Luftfeuchtigkeit: [actual_th0_hum_rel:-]%
Abs. Luftfeuchtigkeit: [actual_th0_hum_abs:-] g/m³

Baro: [actual_thb0_sealevel_hpa:-] hpa -- letzte 60 Minuten: [last60m_thb0_sealevel_hpa:-] hpa
Wind: [actual_wind0_speed_kmh:-] km/h aus Richtung [actual_wind0_dir_de:-]
Böe: [actual_wind0_gustspeed_kmh:-] km/h
Regen: [day1_rain0_total_mm:-] mm

--------

Extrema vom [actual_date0_day_local].[actual_date0_month_local].[actual_date0_year_local]

Tmax: [day1_th0_tempmax_c:-]°C ([day1_th0_tempmax_time#IJ]:[day1_th0_tempmax_time#KL] Uhr)
Tmin: [day1_th0_tempmin_c:-]°C ([day1_th0_tempmin_time#IJ]:[day1_th0_tempmin_time#KL] Uhr)
Solar: [day1_sol0_radiationmax_wqm:-] W/m² ([day1_sol0_radiationmax_time#IJ]:[day1_sol0_radiationmax_time#KL] Uhr)
UV-Index: [day1_uv0_indexmax:-] ([day1_uv0_indexmax_time#IJ]:[day1_uv0_indexmax_time#KL] Uhr)
Wind: [day1_wind0_speedmax_kmh] km/h | [day1_wind0_speedmax_mph] mph | [day1_wind0_speedmax_kn] kn | [day1_wind0_speedmax_bft] bft ([day1_wind0_speedmax_time#IJ]:[day1_wind0_speedmax_time#KL] Uhr)
Böen: [day1_wind0_gustspeedmax_kmh] km/h | [day1_wind0_gustspeedmax_mph] mph | [day1_wind0_gustspeedmax_kn] kn | [day1_wind0_gustspeedmax_bft] bft ([day1_wind0_gustspeedmax_time#IJ]:[day1_wind0_gustspeedmax_time#KL] Uhr)
Hauptrichtung: [day1_wind0_maindir_de] | [day1_wind0_maindir_deg]°

----
Sonnenaufgang (Morgendämmerung): [actual_sunrise_standard_local] ([actual_sunrise_civiltwilight_local]) Uhr
Sonnenuntergang (Abenddämmerung): [actual_sunset_standard_local] ([actual_sunset_civiltwilight_local]) Uhr
Tageslänge: [actual_daylength_standard_hhmm] ([actual_daylength_civiltwilight_hhmm]) h
Mondphase: [actual_lunar_phase_de] - Sichtbarkeit: [actual_lunar_phase_percentage]%

---------

Zusätzliche Temperaturen:

Gewächshaus Tmax: [day1_th4_tempmax_c:-]°C ([day1_th4_tempmax_time#IJ]:[day1_th4_tempmax_time#KL] Uhr)
Gewächshaus Tmin: [day1_th4_tempmin_c:-]°C ([day1_th4_tempmin_time#IJ]:[day1_th4_tempmin_time#KL] Uhr)

Boden Tmax: [day1_t0_tempmax_c:-]°C ([day1_t0_tempmax_time#IJ]:[day1_t0_tempmax_time#KL] Uhr)
Boden Tmin: [day1_t0_tempmin_c:-]°C ([day1_t0_tempmin_time#IJ]:[day1_t0_tempmin_time#KL] Uhr)

Wohnzimmer Tmax: [day1_th1_tempmax_c:-]°C ([day1_th1_tempmax_time#IJ]:[day1_th1_tempmax_time#KL] Uhr)
Wohnzimmer Tmin: [day1_th1_tempmin_c:-]°C ([day1_th1_tempmin_time#IJ]:[day1_th1_tempmin_time#KL] Uhr)

Dachboden Tmax: [day1_th3_tempmax_c:-]°C ([day1_th3_tempmax_time#IJ]:[day1_th3_tempmax_time#KL] Uhr)
Dachboden Tmin: [day1_th3_tempmin_c:-]°C ([day1_th3_tempmin_time#IJ]:[day1_th3_tempmin_time#KL] Uhr)

Keller Tmax: [day1_th5_tempmax_c:-]°C ([day1_th5_tempmax_time#IJ]:[day1_th5_tempmax_time#KL] Uhr)
Keller Tmin: [day1_th5_tempmin_c:-]°C ([day1_th5_tempmin_time#IJ]:[day1_th5_tempmin_time#KL] Uhr)

---------

Monatswerte:

Tmax: [month1_th0_tempmax_c:-]°C (am [month1_th0_tempmax_time#GH]/[month1_th0_tempmax_time#EF] um [month1_th0_tempmax_time#IJ]:[month1_th0_tempmax_time#KL] Uhr)
Tmin: [month1_th0_tempmin_c:-]°C (am [month1_th0_tempmin_time#GH]/[month1_th0_tempmin_time#EF] um [month1_th0_tempmin_time#IJ]:[month1_th0_tempmin_time#KL] Uhr)
Solar: [month1_sol0_radiationmax_wqm:-] W/m² (am [month1_sol0_radiationmax_time#GH]/[month1_sol0_radiationmax_time#EF] um [month1_sol0_radiationmax_time#IJ]:[month1_sol0_radiationmax_time#KL] Uhr)
UV-Index: [month1_uv0_indexmax:-] (am [month1_uv0_indexmax_time#GH]/[month1_uv0_indexmax_time#EF] um [month1_uv0_indexmax_time#IJ]:[month1_uv0_indexmax_time#KL] Uhr)
Wind: [month1_wind0_speedmax_kmh] km/h | [month1_wind0_speedmax_mph] mph | [month1_wind0_speedmax_kn] kn | [month1_wind0_speedmax_bft] bft (am [month1_wind0_speedmax_time#GH]/[month1_wind0_speedmax_time#EF] um [month1_wind0_speedmax_time#IJ]:[month1_wind0_speedmax_time#KL] Uhr)
Böen: [month1_wind0_gustspeedmax_kmh] km/h | [month1_wind0_gustspeedmax_mph] mph | [month1_wind0_gustspeedmax_kn] kn | [month1_wind0_gustspeedmax_bft] bft (am [month1_wind0_gustspeedmax_time#GH]/[month1_wind0_gustspeedmax_time#EF] um [month1_wind0_gustspeedmax_time#IJ]:[month1_wind0_gustspeedmax_time#KL] Uhr)
Hauptrichtung: [month1_wind0_maindir_de] | [month1_wind0_maindir_deg]°
Regenmenge: [month1_rain0_total_mm:-] mm
Regenrate max: [month1_rain0_ratemax_mm:-] mm/h (am [month1_rain0_ratemax_time#GH]/[month1_rain0_ratemax_time#EF] um [month1_rain0_ratemax_time#IJ]:[month1_rain0_ratemax_time#KL] Uhr)
Regentage: [month1_rain0_days:-] Tage


---------

Jahreswerte 2009:

Tmax: [year1_th0_tempmax_c:-]°C (am [year1_th0_tempmax_time#GH]/[year1_th0_tempmax_time#EF] um [year1_th0_tempmax_time#IJ]:[year1_th0_tempmax_time#KL] Uhr)
Tmin: [year1_th0_tempmin_c:-]°C (am [year1_th0_tempmin_time#GH]/[year1_th0_tempmin_time#EF] um [year1_th0_tempmin_time#IJ]:[year1_th0_tempmin_time#KL] Uhr)
Solar: [year1_sol0_radiationmax_wqm:-] W/m² (am [year1_sol0_radiationmax_time#GH]/[year1_sol0_radiationmax_time#EF] um [year1_sol0_radiationmax_time#IJ]:[year1_sol0_radiationmax_time#KL] Uhr)
UV-Index: [year1_uv0_indexmax:-] (am [year1_uv0_indexmax_time#GH]/[year1_uv0_indexmax_time#EF] um [year1_uv0_indexmax_time#IJ]:[year1_uv0_indexmax_time#KL] Uhr)
Wind: [year1_wind0_speedmax_kmh] km/h | [year1_wind0_speedmax_mph] mph | [year1_wind0_speedmax_kn] kn | [year1_wind0_speedmax_bft] bft (am [year1_wind0_speedmax_time#GH]/[year1_wind0_speedmax_time#EF] um [year1_wind0_speedmax_time#IJ]:[year1_wind0_speedmax_time#KL] Uhr)
Böen: [year1_wind0_gustspeedmax_kmh] km/h | [year1_wind0_gustspeedmax_mph] mph | [year1_wind0_gustspeedmax_kn] kn | [year1_wind0_gustspeedmax_bft] bft (am [year1_wind0_gustspeedmax_time#GH]/[year1_wind0_gustspeedmax_time#EF] um [year1_wind0_gustspeedmax_time#IJ]:[year1_wind0_gustspeedmax_time#KL] Uhr)
Hauptrichtung: [year1_wind0_maindir_de] | [year1_wind0_maindir_deg]°
Regenmenge: [year1_rain0_total_mm:-] mm
Regenrate max: [year1_rain0_ratemax_mm:-] mm/h (am [year1_rain0_ratemax_time#GH]/[year1_rain0_ratemax_time#EF] um [year1_rain0_ratemax_time#IJ]:[year1_rain0_ratemax_time#KL] Uhr)
Regentage: [year1_rain0_days:-] Tage
uhf
Fresh Boarder
Fresh Boarder
Posts: 13
Joined: Fri Mar 13, 2009 5:24 am
Location: Iowa, USA

Re:scheduled emails of high/low data

Post by uhf »

I'm not seeing an option to send as email instead of FTP.

EDIT: Nevermind.. I see now I just need to enter an email addy instead of a file name.

But how do I give the emails a subject?
Post Reply