← All modules

Weather

Built Configurable

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

Module type weather
Default expression ID wx
Refresh rate 1 hour (cached)
Required config latitudelongitude

Declaration

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

Properties

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

Name Description Example Format arg
temperature Temperature in user's preferred unit 18
feelsLike Feels-like temperature in user's preferred unit 16
temperatureUnit User's temperature unit (C or F) C
temperatureCelsius Temperature always in Celsius 18
feelsLikeCelsius Feels-like temperature always in Celsius 16
humidity Relative humidity (%) 72
windSpeed Wind speed in m/s 4.5
windDirection Wind direction in degrees 225
precipitation Precipitation in mm 0.0
weatherCode WMO weather code 3
weatherDescription Human-readable conditions Partly cloudy
weatherIcon Weather icon identifier cloudy

Events

Trigger Description
On weather update New weather data fetched from provider
On increased rain risk Precipitation probability rises above threshold