added weather templates for nopacity

This commit is contained in:
louis 2015-01-15 11:20:32 +01:00
parent f589cbcb78
commit 44dde6d8b1
31 changed files with 533 additions and 2 deletions

View File

@ -190,6 +190,8 @@
{timestamp} timestamp of forecast in dd.mm hh:mm {timestamp} timestamp of forecast in dd.mm hh:mm
{temperature} current temperature in °C {temperature} current temperature in °C
{apparenttemperature} apparent (feeled) temperature {apparenttemperature} apparent (feeled) temperature
{mintemperature} minimum daily temperature in °C
{maxtemperature} maximum daily temperature in °C
{summary} short weather summary {summary} short weather summary
{icon} weather icon {icon} weather icon
{precipitationintensity} precipitation intensity in l/m2 {precipitationintensity} precipitation intensity in l/m2

View File

@ -193,6 +193,82 @@
<trans lang="en_EN">Pause</trans> <trans lang="en_EN">Pause</trans>
<trans lang="de_DE">Pause</trans> <trans lang="de_DE">Pause</trans>
</token> </token>
<token name="tr(apparenttemp)">
<trans lang="en_EN">Felt Temperature</trans>
<trans lang="de_DE">Gefühlte Temperatur</trans>
</token>
<token name="tr(todaymin)">
<trans lang="en_EN">minimum today</trans>
<trans lang="de_DE">heutiges Minimum</trans>
</token>
<token name="tr(todaymax)">
<trans lang="en_EN">maximum today</trans>
<trans lang="de_DE">heutiges Maximum</trans>
</token>
<token name="tr(precipitationprobability)">
<trans lang="en_EN">Precipitation Prob.</trans>
<trans lang="de_DE">Regenwahrsch.</trans>
</token>
<token name="tr(precipitationintensity)">
<trans lang="en_EN">Precipitation Intensity</trans>
<trans lang="de_DE">Regenmenge</trans>
</token>
<token name="tr(humidity)">
<trans lang="en_EN">Humidity</trans>
<trans lang="de_DE">Luftfeuchtigkeit</trans>
</token>
<token name="tr(apparenttemp)">
<trans lang="en_EN">Felt Temperature</trans>
<trans lang="de_DE">Gefühlte Temperatur</trans>
</token>
<token name="tr(windbearing)">
<trans lang="en_EN">Wind Bearing</trans>
<trans lang="de_DE">Windrichtung</trans>
</token>
<token name="tr(windspeed)">
<trans lang="en_EN">Wind Speed</trans>
<trans lang="de_DE">Windgeschwindigkeit</trans>
</token>
<token name="tr(cloudcover)">
<trans lang="en_EN">Cloud Cover</trans>
<trans lang="de_DE">Bewölkung</trans>
</token>
<token name="tr(pressure)">
<trans lang="en_EN">Pressure</trans>
<trans lang="de_DE">Luftdruck</trans>
</token>
<token name="tr(ozone)">
<trans lang="en_EN">Ozone</trans>
<trans lang="de_DE">Ozon</trans>
</token>
<token name="tr(visibility)">
<trans lang="en_EN">visibility</trans>
<trans lang="de_DE">Sicht</trans>
</token>
<token name="tr(conditions)">
<trans lang="en_EN">Weather Conditions</trans>
<trans lang="de_DE">Wetterlage</trans>
</token>
<token name="tr(from)">
<trans lang="en_EN">from</trans>
<trans lang="de_DE">aus</trans>
</token>
<token name="tr(felt)">
<trans lang="en_EN">felt</trans>
<trans lang="de_DE">gefühlt</trans>
</token>
<token name="tr(min)">
<trans lang="en_EN">min</trans>
<trans lang="de_DE">min</trans>
</token>
<token name="tr(max)">
<trans lang="en_EN">max</trans>
<trans lang="de_DE">max</trans>
</token>
<token name="tr(for)">
<trans lang="en_EN">for</trans>
<trans lang="de_DE">für</trans>
</token>
</translations> </translations>
<!-- <!--
The three Fonts FontOSD, FontFix and FontSml configured in VDR The three Fonts FontOSD, FontFix and FontSml configured in VDR

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -193,6 +193,82 @@
<trans lang="en_EN">Pause</trans> <trans lang="en_EN">Pause</trans>
<trans lang="de_DE">Pause</trans> <trans lang="de_DE">Pause</trans>
</token> </token>
<token name="tr(apparenttemp)">
<trans lang="en_EN">Felt Temperature</trans>
<trans lang="de_DE">Gefühlte Temperatur</trans>
</token>
<token name="tr(todaymin)">
<trans lang="en_EN">minimum today</trans>
<trans lang="de_DE">heutiges Minimum</trans>
</token>
<token name="tr(todaymax)">
<trans lang="en_EN">maximum today</trans>
<trans lang="de_DE">heutiges Maximum</trans>
</token>
<token name="tr(precipitationprobability)">
<trans lang="en_EN">Precipitation Prob.</trans>
<trans lang="de_DE">Regenwahrsch.</trans>
</token>
<token name="tr(precipitationintensity)">
<trans lang="en_EN">Precipitation Intensity</trans>
<trans lang="de_DE">Regenmenge</trans>
</token>
<token name="tr(humidity)">
<trans lang="en_EN">Humidity</trans>
<trans lang="de_DE">Luftfeuchtigkeit</trans>
</token>
<token name="tr(apparenttemp)">
<trans lang="en_EN">Felt Temperature</trans>
<trans lang="de_DE">Gefühlte Temperatur</trans>
</token>
<token name="tr(windbearing)">
<trans lang="en_EN">Wind Bearing</trans>
<trans lang="de_DE">Windrichtung</trans>
</token>
<token name="tr(windspeed)">
<trans lang="en_EN">Wind Speed</trans>
<trans lang="de_DE">Windgeschwindigkeit</trans>
</token>
<token name="tr(cloudcover)">
<trans lang="en_EN">Cloud Cover</trans>
<trans lang="de_DE">Bewölkung</trans>
</token>
<token name="tr(pressure)">
<trans lang="en_EN">Pressure</trans>
<trans lang="de_DE">Luftdruck</trans>
</token>
<token name="tr(ozone)">
<trans lang="en_EN">Ozone</trans>
<trans lang="de_DE">Ozon</trans>
</token>
<token name="tr(visibility)">
<trans lang="en_EN">visibility</trans>
<trans lang="de_DE">Sicht</trans>
</token>
<token name="tr(conditions)">
<trans lang="en_EN">Weather Conditions</trans>
<trans lang="de_DE">Wetterlage</trans>
</token>
<token name="tr(from)">
<trans lang="en_EN">from</trans>
<trans lang="de_DE">aus</trans>
</token>
<token name="tr(felt)">
<trans lang="en_EN">felt</trans>
<trans lang="de_DE">gefühlt</trans>
</token>
<token name="tr(min)">
<trans lang="en_EN">min</trans>
<trans lang="de_DE">min</trans>
</token>
<token name="tr(max)">
<trans lang="en_EN">max</trans>
<trans lang="de_DE">max</trans>
</token>
<token name="tr(for)">
<trans lang="en_EN">for</trans>
<trans lang="de_DE">für</trans>
</token>
</translations> </translations>
<!-- <!--
The three Fonts FontOSD, FontFix and FontSml configured in VDR The three Fonts FontOSD, FontFix and FontSml configured in VDR

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -25,8 +25,8 @@
<area x="2%" y="80%" width="14%" height="18%" layer="2"> <area x="2%" y="80%" width="14%" height="18%" layer="2">
<drawimage cache="true" imagetype="channellogo" path="{channelid}" width="94%" height="94%" align="center" valign="center"/> <drawimage cache="true" imagetype="channellogo" path="{channelid}" width="94%" height="94%" align="center" valign="center"/>
</area> </area>
<area x="18%" y="74%" width="60%" height="6%" layer="2"> <area x="18%" y="74%" width="42%" height="6%" layer="2">
<drawtext x="0" valign="center" font="{vdrOsd}" fontsize="95%" color="{clrWhite}" text="{channelnumber} {channelname}" /> <drawtext x="0" valign="center" font="{vdrOsd}" fontsize="95%" width="100%" color="{clrWhite}" text="{channelnumber} {channelname}" />
</area> </area>
</channelinfo> </channelinfo>
@ -46,6 +46,13 @@
</area> </area>
</datetime> </datetime>
<currentweather>
<area x="60%" y="74%" width="18%" height="6%" layer="2">
<drawimage name="weathericon" imagetype="icon" path="{icon}" x="{areawidth}/2 + {width(temperature)}/2 - {width(weathericon)}/2 + 5" valign="center" width="{areaheight}*0.7" height="{areaheight}*0.7"/>
<drawtext name="temperature" x="{areawidth}/2 - {width(temperature)}/2 - {width(weathericon)}/2" valign="center" font="{vdrOsd}" fontsize="70%" color="{clrWhite}" text="{temperature}°C" />
</area>
</currentweather>
<!-- Available Variables epginfo: <!-- Available Variables epginfo:
{currenttitle} Title of the current Schedule {currenttitle} Title of the current Schedule
{currentsubtitle} Subtitle of the current Schedule {currentsubtitle} Subtitle of the current Schedule

View File

@ -75,6 +75,20 @@
</area> </area>
</discusage> </discusage>
<currentweather>
<area x="63%" y="11%" width="25%" height="16%" layer="1">
<fill color="{clrBackground}"/>
</area>
<area x="63%" y="11%" width="25%" height="16%" layer="2">
<drawimage name="weathericon" imagetype="icon" path="{icon}" x="5" valign="center" width="{areaheight}*0.7" height="{areaheight}*0.7"/>
</area>
<area x="75%" y="11%" width="12%" height="16%" layer="2">
<drawtext align="right" valign="center" font="{vdrOsd}" fontsize="40%" color="{clrWhite}" text="{temperature}°C" />
<drawtext x="0" y="5" font="{vdrOsd}" fontsize="18%" color="{clrWhite}" text="{mintemperature}°C - {maxtemperature}°C" />
<drawtext x="0" y="82%" font="{vdrOsd}" width="100%" fontsize="15%" color="{clrWhite}" text="{summary}" />
</area>
</currentweather>
<!-- Available Variables devices: <!-- Available Variables devices:
{numdevices} number of available devices {numdevices} number of available devices
{devices[]} array with available devices {devices[]} array with available devices

View File

@ -0,0 +1,142 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd">
<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0" scaletvx="33%" scaletvy="10%" scaletvwidth="65%" scaletvheight="80%">
<scrollbar>
<area x="30%" y="11%" width="2%" height="78%" layer="2">
<fill color="{clrBorder}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrProgressbar}" />
</area>
</scrollbar>
<menuitems x="0" y="10%" orientation="vertical" width="100%" height="82%" align="center" numlistelements="10">
<!-- Available Variables:
{current}
{menuitemtext} "Current Weather", "Next 48 hours" or "Next 7 days"
{iscurrent} true if item is "Current Weather"
{ishourly} true if item is "Next 48 hours"
{isdaily} true if item is "Next 7 days"
{city} configured city to display weather for
{latitude} latitude
{longitude} longitude
If {iscurrent} is true, the following tokens are set:
{timestamp} timestamp in hh:mm dd.mm of current forecast
{temperature} current temperature in °C
{apparenttemperature} apparent (felt) temperature in °C
{summary} short summary of current weather
{icon} path to use in <drawimage> to display appropriate weather icon
{precipitationintensity} precipitation intensity in l/qm
{precipitationprobability} precipitation probability in %
{precipitationtype} precipitation type (snow, ...)
{humidity} humidity in %
{windspeed} wind speed in km/h
{windbearing} wind bearing in degrees
{windbearingstring} wind bearing as human readable string (e.g NE, NNE, ...)
{visibility} visibility in km
{cloudcover} cloud cover in %
{pressure} pressure in HPa
{ozone} Ozone in DU (Dobson Unit)
If {ishourly} is true, the following tokens are set:
{summary} short summary of weather
{icon} path to use in <drawimage> to display appropriate weather icon
{hourly[]} array with up to 48 hourly forecasts
{hourly[num]} number of forecast, starting at 1
{hourly[timestamp]} timestamp in hh:mm
{hourly[temperature]} temperature in °C
{hourly[apparenttemperature]} apparent (felt) temperature in °C
{hourly[summary]} short summary
{hourly[icon]} path to use in <drawimage> to display appropriate weather icon
{hourly[precipitationintensity]} precipitation intensity in l/qm
{hourly[precipitationprobability]} precipitation probability in %
{hourly[precipitationtype]} precipitation type (snow, ...)
{hourly[humidity]} humidity in %
{hourly[windspeed]} wind speed in km/h
{hourly[windbearing]} wind bearing in degrees
{hourly[windbearingstring]} wind bearing as human readable string (e.g NE, NNE, ...)
{hourly[visibility]} visibility in km
{hourly[cloudcover]} cloud cover in %
{hourly[pressure]} pressure in HPa
{hourly[ozone]} Ozone in DU (Dobson Unit)
If {isdaily} is true, the following tokens are set:
{summary} short summary of weather
{icon} path to use in <drawimage> to display appropriate weather icon
{daily[day]} day of forecast in dd.mm
{daily[dayname]} three letter abbrivated day name
{daily[temperaturemin]} minimum temperature at this day in °C
{daily[temperaturemintime]} time of minimum temperature
{daily[temperaturemax]} maximum temperature at this day in °C
{daily[temperaturemaxtime]} time of maximum temperature
{daily[summary]} short summary
{daily[icon]} path to use in <drawimage> to display appropriate weather icon
{daily[precipitationintensity]} precipitation intensity in l/qm
{daily[precipitationprobability]} precipitation probability in %
{daily[precipitationtype]} precipitation type (snow, ...)
{daily[humidity]} humidity in %
{daily[windspeed]} wind speed in km/h
{daily[windbearing]} wind bearing in degrees
{daily[windbearingstring]} wind bearing as human readable string (e.g NE, NNE, ...)
{daily[visibility]} visibility in km
{daily[cloudcover]} cloud cover in %
{daily[pressure]} pressure in HPa
{daily[ozone]} Ozone in DU (Dobson Unit)
-->
<listelement>
<!-- Background -->
<area x="0" width="28%" layer="2">
<drawimage condition="not{current}" imagetype="skinpart" path="menubutton" x="0" y="1%" width="{areawidth}" height="{areaheight}*0.98"/>
<drawimage condition="{current}" imagetype="skinpart" path="menubuttonactive" x="0" y="1%" width="{areawidth}" height="{areaheight}*0.98"/>
</area>
<areascroll condition="not{current}" scrollelement="menuelement" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="0" width="28%" layer="3">
<drawtext name="menuelement" x="10" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItem}" text="{menuitemtext}" />
</areascroll>
<areascroll condition="{current}" scrollelement="menuelement" mode="forthandback" orientation="horizontal" delay="1000" scrollspeed="medium" x="0" width="28%" layer="3">
<drawtext name="menuelement" x="10" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrFontMenuItemSelected}" text="{menuitemtext}" />
</areascroll>
</listelement>
<!-- additional element which is drawn for current element -->
<!-- All Tokens from listelement are available -->
<currentelement delay="100" fadetime="0">
<area x="32%" y="2%" width="67%" height="96%" layer="2">
<fill color="{clrTransBlack}" />
</area>
<area condition="{iscurrent}" x="32%" y="2%" width="67%" height="96%" layer="3">
<drawimage name="weathericon" imagetype="icon" path="{icon}" x="2%" y="0" width="{areawidth}*0.3" height="{areawidth}*0.3"/>
<drawtext align="right" y="2%" font="{semibold}" fontsize="6%" color="{clrWhite}" text="{city}" />
<drawtext align="right" y="8%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{timestamp}" />
<drawtext align="right" y="14%" font="{vdrOsd}" fontsize="12%" color="{clrWhite}" text="{temperature}°C" />
<drawtext align="right" y="26%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{summary}" />
<drawtext x="2%" y="45%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(apparenttemp)}: {apparenttemperature} °C" />
<drawtext x="2%" y="51%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(precipitationprobability)}: {precipitationprobability} %" />
<drawtext x="2%" y="57%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(precipitationintensity)}: {precipitationintensity} l/qm" />
<drawtext x="2%" y="63%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(humidity)}: {humidity} %" />
<drawtext x="2%" y="69%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(windspeed)}: {windspeed} km/h" />
<drawtext x="2%" y="75%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(windbearing)}: {windbearingstring} ({windbearing} °)" />
<drawtext x="2%" y="81%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(cloudcover)}: {cloudcover} %" />
</area>
<area condition="{ishourly}" x="32%" y="2%" width="67%" height="96%" layer="3">
<loop name="hourly" x="0" y="0" orientation="vertical" columnwidth="{areawidth}" rowheight="{areaheight}/12" overflow="cut">
<drawtext x="2%" font="{semibold}" fontsize="7%" valign="center" color="{clrWhite}" text="{hourly[timestamp]}" />
<drawimage imagetype="icon" path="{hourly[icon]}" x="22%" valign="center" width="{rowheight}*0.8" height="{rowheight}*0.8"/>
<drawtext x="35%" font="{vdrOsd}" fontsize="7%" valign="center" color="{clrWhite}" text="{hourly[temperature]}°C" />
<drawtext x="60%" font="{vdrOsd}" fontsize="5%" valign="center" width="38%" color="{clrWhite}" text="{hourly[summary]}" />
<drawrectangle x="2%" y="{rowheight} - 1" width="{columnwidth}*0.96" height="1" color="{clrWhite}" />
</loop>
</area>
<area condition="{isdaily}" x="32%" y="2%" width="67%" height="96%" layer="3">
<loop name="daily" x="2%" y="0" orientation="vertical" columnwidth="{areawidth}*0.96" rowheight="{areaheight}/7" overflow="cut">
<drawtext x="0" font="{semibold}" fontsize="{rowheight}/2" y="5" color="{clrWhite}" text="{daily[dayname]} {daily[day]}" />
<drawtext x="35%" font="{vdrOsd}" fontsize="{rowheight}/2" y="5" color="{clrWhite}" text="{daily[temperaturemin]}°C - {daily[temperaturemax]}°C" />
<drawtext x="0" font="{vdrOsd}" fontsize="{rowheight}*0.3" width="{columnwidth} - {rowheight}*0.7" y="{rowheight}*0.6" color="{clrWhite}" text="{daily[summary]}" />
<drawimage imagetype="icon" path="{daily[icon]}" x="{columnwidth} - {rowheight}*0.7" valign="center" width="{rowheight}*0.7" height="{rowheight}*0.7"/>
<drawrectangle x="0" y="{rowheight} - 1" width="{columnwidth}" height="1" color="{clrWhite}" />
</loop>
</area>
</currentelement>
</menuitems>
</menuplugin>

View File

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd">
<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0">
<background>
<area x="0" y="0" width="100%" height="100%" layer="1">
<fill color="{clrTransBlack}" />
<drawrectangle x="0" y="0" width="100%" height="10%" color="{clrBackground}" />
</area>
<area x="0" y="0" width="100%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="headertop" x="0" y="0" width="100%" height="100%"/>
</area>
</background>
<scrollbar>
<area x="97%" y="25%" width="2%" height="60%" layer="2">
<fill color="{clrBorder}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrProgressbar}" />
</area>
</scrollbar>
<!-- Available Variables in detailheader and tab:
{menuheader} "Current Weather"
{city} configured city to display weather for
{latitude} latitude
{longitude} longitude
{timestamp} timestamp in hh:mm dd.mm of current forecast
{temperature} current temperature in °C
{apparenttemperature} apparent (felt) temperature in °C
{temperaturemin} minimum temperature the day in °C
{temperaturemax} maximum temperature the day in °C
{summary} short summary of current weather
{icon} path to use in <drawimage> to display appropriate weather icon
{precipitationintensity} precipitation intensity in l/qm
{precipitationprobability} precipitation probability in %
{precipitationtype} precipitation type (snow, ...)
{humidity} humidity in %
{windspeed} wind speed in km/h
{windbearing} wind bearing in degrees
{windbearingstring} wind bearing as human readable string (e.g NE, NNE, ...)
{visibility} visibility in km
{cloudcover} cloud cover in %
{pressure} pressure in HPa
{ozone} Ozone in DU (Dobson Unit)
-->
<detailheader>
<area x="1%" y="10%" width="98%" height="15%" layer="2">
<fill color="{clrTransBlack}" />
</area>
<area x="1%" y="10%" width="97%" height="15%" layer="3">
<drawimage name="weathericon" imagetype="icon" path="{icon}" align="right" valign="center" width="{areaheight}*0.7" height="70%"/>
<drawtext name="temp" x="{areawidth} - {width(weathericon)} - {width(temp)} - 10" valign="center" font="{vdrOsd}" fontsize="50%" color="{clrWhite}" text="{temperature}°C" />
<drawtext x="2%" y="20%" font="{semibold}" fontsize="35%" color="{clrWhite}" text="{tr(conditions)} {tr(for)} {city}, {timestamp}:" />
<drawtext x="2%" y="55%" font="{semibold}" fontsize="35%" color="{clrWhite}" text="{summary}" />
</area>
</detailheader>
<tab name="current" x="2%" y="25%" width="94%" height="60%" layer="2" scrollheight="{areaheight}/4">
<drawtext x="0" y="6%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(apparenttemp)}: {apparenttemperature}°C" />
<drawtext x="0" y="12%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(todaymin)}: {mintemperature}°C, {tr(todaymax)}: {maxtemperature}°C" />
<drawtext x="0" y="18%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(precipitationprobability)}: {precipitationprobability} %" />
<drawtext x="0" y="24%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(precipitationintensity)}: {precipitationintensity} l/qm" />
<drawtext x="0" y="30%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(humidity)}: {humidity} %" />
<drawtext x="0" y="36%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(windspeed)}: {windspeed} km/h aus {windbearingstring}" />
<drawtext x="0" y="42%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(visibility)}: {visibility} km" />
<drawtext x="0" y="48%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(cloudcover)}: {cloudcover} %" />
<drawtext x="0" y="54%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(pressure)}: {pressure} HPa" />
<drawtext x="0" y="60%" font="{vdrOsd}" fontsize="6%" color="{clrWhite}" text="{tr(ozone)}: {ozone} DU" />
</tab>
</menuplugin>

View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd">
<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0">
<background>
<area x="0" y="0" width="100%" height="100%" layer="1">
<fill color="{clrTransBlack}" />
<drawrectangle x="0" y="0" width="100%" height="10%" color="{clrBackground}" />
</area>
<area x="0" y="0" width="100%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="headertop" x="0" y="0" width="100%" height="100%"/>
</area>
</background>
<scrollbar>
<area x="97%" y="25%" width="2%" height="60%" layer="2">
<fill color="{clrBorder}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrProgressbar}" />
</area>
</scrollbar>
<!-- Available Variables in detailheader and tab:
{summary} short summary of weather
{icon} path to use in <drawimage> to display appropriate weather icon
{city} configured city to display weather for
{latitude} latitude
{longitude} longitude
{daily[day]} day of forecast in dd.mm
{daily[dayname]} three letter abbrivated day name
{daily[temperaturemin]} minimum temperature at this day in °C
{daily[temperaturemintime]} time of minimum temperature
{daily[temperaturemax]} maximum temperature at this day in °C
{daily[temperaturemaxtime]} time of maximum temperature
{daily[summary]} short summary
{daily[icon]} path to use in <drawimage> to display appropriate weather icon
{daily[precipitationintensity]} precipitation intensity in l/qm
{daily[precipitationprobability]} precipitation probability in %
{daily[precipitationtype]} precipitation type (snow, ...)
{daily[humidity]} humidity in %
{daily[windspeed]} wind speed in km/h
{daily[windbearing]} wind bearing in degrees
{daily[windbearingstring]} wind bearing as human readable string (e.g NE, NNE, ...)
{daily[visibility]} visibility in km
{daily[cloudcover]} cloud cover in %
{daily[pressure]} pressure in HPa
{daily[ozone]} Ozone in DU (Dobson Unit)
-->
<detailheader>
<area x="1%" y="10%" width="98%" height="15%" layer="2">
<fill color="{clrTransBlack}" />
</area>
<area x="1%" y="10%" width="97%" height="15%" layer="3">
<drawimage name="weathericon" imagetype="icon" path="{icon}" align="right" valign="center" width="{areaheight}*0.7" height="70%"/>
<drawtextbox x="2%" y="15%" width="80%" maxlines="2" font="{semibold}" fontsize="35%" color="{clrWhite}" text="{summary}" />
</area>
</detailheader>
<tab name="current" x="2%" y="25%" width="94%" height="60%" layer="2" scrollheight="{areaheight}/4">
<loop name="daily" x="0" y="1%" orientation="vertical" columnwidth="{areawidth}" rowheight="{areaheight}/5">
<drawtext x="0" font="{semibold}" fontsize="8%" valign="center" color="{clrWhite}" text="{daily[dayname]} {daily[day]}" />
<drawimage imagetype="icon" path="{daily[icon]}" x="2.2*{rowheight}" valign="center" width="{rowheight}*0.8" height="{rowheight}*0.8"/>
<drawtext x="3.5*{rowheight}" font="{vdrOsd}" fontsize="{rowheight}*0.3" y="0" color="{clrWhite}" text="{daily[temperaturemin]}°C - {daily[temperaturemax]}°C ({tr(max)} {daily[temperaturemaxtime]}, {tr(min)} {daily[temperaturemintime]})" />
<drawtext x="3.5*{rowheight}" font="{vdrOsd}" fontsize="{rowheight}/4" y="{rowheight}*0.25" width="{columnwidth} - 3.5*{rowheight}" color="{clrWhite}" text="{daily[summary]}" />
<drawtext x="3.5*{rowheight}" font="{vdrOsd}" fontsize="{rowheight}/4" y="{rowheight}*0.5" width="{columnwidth} - 3.5*{rowheight}" color="{clrWhite}" text="{tr(precipitationprobability)} {daily[precipitationprobability]}%, {daily[precipitationintensity]} l/qm, {tr(windspeed)} {daily[windspeed]} km/h {tr(from)} {daily[windbearingstring]}" />
<drawtext x="3.5*{rowheight}" font="{vdrOsd}" fontsize="{rowheight}/4" y="{rowheight}*0.75" width="{columnwidth} - 3.5*{rowheight}" color="{clrWhite}" text="{tr(cloudcover)} {daily[cloudcover]}%, {tr(visibility)} {daily[visibility]} km, {tr(pressure)} {daily[pressure]} HPa, {tr(ozone)} {daily[ozone]} DU" />
<drawrectangle x="0" y="{rowheight} - 1" width="{columnwidth}" height="1" color="{clrWhite}" />
</loop>
</tab>
</menuplugin>

View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE menuplugin SYSTEM "../../../dtd/displaymenuplugin.dtd">
<menuplugin x="0" y="0" width="100%" height="100%" fadetime="0">
<background>
<area x="0" y="0" width="100%" height="100%" layer="1">
<fill color="{clrTransBlack}" />
<drawrectangle x="0" y="0" width="100%" height="10%" color="{clrBackground}" />
</area>
<area x="0" y="0" width="100%" height="10%" layer="2">
<drawimage imagetype="skinpart" path="headertop" x="0" y="0" width="100%" height="100%"/>
</area>
</background>
<scrollbar>
<area x="97%" y="25%" width="2%" height="60%" layer="2">
<fill color="{clrBorder}" />
<drawrectangle x="2" y="2" width="{areawidth} - 4" height="{areaheight} - 4" color="{clrTransparent}" />
<drawrectangle x="4" y="4 + {areaheight} * {offset} / 1000" width="{areawidth} - 8" height="{areaheight} * {height} / 1000 - 8" color="{clrProgressbar}" />
</area>
</scrollbar>
<!-- Available Variables in detailheader and tab:
{summary} short summary of weather
{icon} path to use in <drawimage> to display appropriate weather icon
{city} configured city to display weather for
{latitude} latitude
{longitude} longitude
{hourly[]} array with up to 48 hourly forecasts
{hourly[num]} number of forecast, starting at 1
{hourly[timestamp]} timestamp in hh:mm
{hourly[temperature]} temperature in °C
{hourly[apparenttemperature]} apparent (felt) temperature in °C
{hourly[summary]} short summary
{hourly[icon]} path to use in <drawimage> to display appropriate weather icon
{hourly[precipitationintensity]} precipitation intensity in l/qm
{hourly[precipitationprobability]} precipitation probability in %
{hourly[precipitationtype]} precipitation type (snow, ...)
{hourly[humidity]} humidity in %
{hourly[windspeed]} wind speed in km/h
{hourly[windbearing]} wind bearing in degrees
{hourly[windbearingstring]} wind bearing as human readable string (e.g NE, NNE, ...)
{hourly[visibility]} visibility in km
{hourly[cloudcover]} cloud cover in %
{hourly[pressure]} pressure in HPa
{hourly[ozone]} Ozone in DU (Dobson Unit)
-->
<detailheader>
<area x="1%" y="10%" width="98%" height="15%" layer="2">
<fill color="{clrTransBlack}" />
</area>
<area x="1%" y="10%" width="97%" height="15%" layer="3">
<drawimage name="weathericon" imagetype="icon" path="{icon}" align="right" valign="center" width="{areaheight}*0.7" height="70%"/>
<drawtextbox x="2%" y="15%" width="80%" maxlines="2" font="{semibold}" fontsize="35%" color="{clrWhite}" text="{summary}" />
</area>
</detailheader>
<tab name="current" x="2%" y="25%" width="94%" height="60%" layer="2" scrollheight="{areaheight}/4">
<loop name="hourly" x="0" y="1%" orientation="vertical" columnwidth="{areawidth}" rowheight="{areaheight}/5">
<drawtext x="0" font="{semibold}" fontsize="9%" valign="center" color="{clrWhite}" text="{hourly[timestamp]}" />
<drawimage imagetype="icon" path="{hourly[icon]}" x="{rowheight}*1.2" valign="center" width="{rowheight}*0.8" height="{rowheight}*0.8"/>
<drawtext name="temp" x="2.2*{rowheight} + 0.75*{rowheight} - {width(temp)}/2" font="{vdrOsd}" fontsize="11%" y="0" color="{clrWhite}" text="{hourly[temperature]}°C" />
<drawtext name="felt" x="2.2*{rowheight} + 0.75*{rowheight} - {width(felt)}/2" font="{vdrOsd}" fontsize="5%" y="{rowheight}*0.6" color="{clrWhite}" text="{tr(felt)} {hourly[apparenttemperature]}°C" />
<drawtext x="4.2*{rowheight}" font="{vdrOsd}" fontsize="{rowheight}/3-2" y="0" width="{columnwidth} - 4*{rowheight}" color="{clrWhite}" text="{hourly[summary]}" />
<drawtext x="4.2*{rowheight}" font="{vdrOsd}" fontsize="{rowheight}/3-2" y="{rowheight}/3" width="{columnwidth} - 4*{rowheight}" color="{clrWhite}" text="{tr(precipitationprobability)} {hourly[precipitationprobability]}%, {hourly[precipitationintensity]} l/qm" />
<drawtext x="4.2*{rowheight}" font="{vdrOsd}" fontsize="{rowheight}/3-2" y="{rowheight}*2/3" width="{columnwidth} - 4*{rowheight}" color="{clrWhite}" text="{tr(windspeed)} {hourly[windspeed]} km/h {tr(from)} {hourly[windbearingstring]}" />
<drawrectangle x="0" y="{rowheight} - 1" width="{columnwidth}" height="1" color="{clrWhite}" />
</loop>
</tab>
</menuplugin>

View File

@ -131,6 +131,8 @@
{timestamp} timestamp of forecast in dd.mm hh:mm {timestamp} timestamp of forecast in dd.mm hh:mm
{temperature} current temperature in °C {temperature} current temperature in °C
{apparenttemperature} apparent (feeled) temperature {apparenttemperature} apparent (feeled) temperature
{mintemperature} minimum daily temperature in °C
{maxtemperature} maximum daily temperature in °C
{summary} short weather summary {summary} short weather summary
{icon} weather icon {icon} weather icon
{precipitationintensity} precipitation intensity in l/m2 {precipitationintensity} precipitation intensity in l/m2

View File

@ -90,6 +90,8 @@
{timestamp} timestamp of forecast in dd.mm hh:mm {timestamp} timestamp of forecast in dd.mm hh:mm
{temperature} current temperature in °C {temperature} current temperature in °C
{apparenttemperature} apparent (feeled) temperature {apparenttemperature} apparent (feeled) temperature
{mintemperature} minimum daily temperature in °C
{maxtemperature} maximum daily temperature in °C
{summary} short weather summary {summary} short weather summary
{icon} weather icon {icon} weather icon
{precipitationintensity} precipitation intensity in l/m2 {precipitationintensity} precipitation intensity in l/m2