← All modules

Weather

BuiltConfigurable

Current weather conditions from Met.no. Cached with 1-hour TTL, stale-while-revalidate.

Module typeweather
Default expression IDwx
Refresh rate1 hour (cached)
Required configlatitudelongitude

Declaration

<module type="weather" id="wx" />

Properties

Reference any of these from a template via{wx:propertyName}.

NameDescriptionExampleFormat arg
temperatureTemperature in user's preferred unit18
feelsLikeFeels-like temperature in user's preferred unit16
temperatureUnitUser's temperature unit (C or F)C
temperatureCelsiusTemperature always in Celsius18
feelsLikeCelsiusFeels-like temperature always in Celsius16
humidityRelative humidity (%)72
windSpeedWind speed in m/s4.5
windDirectionWind direction in degrees225
precipitationPrecipitation in mm0.0
weatherCodeWMO weather code3
weatherDescriptionHuman-readable conditionsPartly cloudy
weatherIconWeather icon identifiercloudy

Events

TriggerDescription
On weather updateNew weather data fetched from provider
On increased rain riskPrecipitation probability rises above threshold