Weather-Widgets

weather.current weather.forecast weather.forecastweek weather.map weather.mapslides


weather.current

Displays the current weather at location

Parameters
{{ weather.current(id, location, repeat, itemtemp, itemwind, windfmt, itemhumi, humitxt, humifmt, itemmisc, misctxt, miscfmt, itemmisc1, misc1txt, misc1fmt) }}
id
unique id for this widget
location
location as string (optional)
repeat
the refresh interval for this widget using relative time format (optional, default 15i = 15 minutes)
itemtemp
item for temperature from backend (optional) will be displayed as value with unit 'temp'
itemwind
item for wind speed from backend (optional) either as value or as text from backend
windfmt
format for wind: 'value' = value with unit 'speed' or 'text' = text item from backend (optional, default='value')
itemhumi
item for an additional feature (e.g. humidity, rain or air pressure)
humitxt
leading text for additional feature
humifmt
format or unit for additional feature (e.g. '%','l/m²' or 'hPa') (optional)
itemmisc
item for a second additional feature (e.g. humidity, rain or air pressure)
misctxt
leading text for second additional feature
miscfmt
format or unit for second additional feature (e.g. '%','l/m²' or 'hPa') (optional)
itemmisc1
item for a third additional feature (e.g. humidity, rain or air pressure)
misc1txt
leading text for third additional feature
misc1fmt
format or unit for third additional feature (e.g. '%', 'l/m²' or 'hPa') (optional)
Examples
If no location is given, the default location from config (in your case Germany/Bayern/Würzburg) is being used.
{{ weather.current('weather1') }}
If the location is specified as parameter, the location format must match the format required by the configured online service. Otherwise the read request will fail.
{{ weather.current('weather2', 'lat=45&lon=7') }}
 
 
 
New in v3.0: Weather data from backend
The weather widget can now display weather data which are delivered by items from the backend. Temperature, wind conditions and humidity values from the online weather service can be used by leaving the corresponding parameters empty. Otherwise they will be replaced by the item values. Two additional items take further values.
The following example shows temperature from the online service and other values from the backend. The wind condition comes as a string constructed by the backend (option 'text').
{{ weather.current('weather3','','','', 'weather.wind', 'text', 'weather.airpressure', 'Air pressure ', 'hPa', 'weather.rain', 'Rain ', 'l/m²', 'weather.humidity', 'Humidity ', '%') }}
 
 
 

based on jDigiClock by Radoslav Dimov - http://www.radoslavdimov.com

Widgets

Design

Misc