Skip to content

Krisinformation

Displays important messages from Krisinformation.se which is a web site run by the Swedish Civil Contingencies Agency that compiles and convey warnings, alerts, and emergency information from Swedish authorities to the public.

Configuration

krisinformation:
  title: Krisinformation
  enabled: true
  latitude: 53.1234
  longitude: 12.1234
  radius: -1
  country: true
  maxitems: 5
  maxage: 1000
  refreshInterval: 1h
  position:
    top: 0
    left: 0
    height: 1
    width: 3

Screenshots

Krisinformation screenshot

Attributes

Name Value
latitude
Optional The latitude of the position from which the widget should look for messages.
Decimal degrees
longitude
Optional The longitude of the position from which the widget should look for messages.
Decimal degrees
radius
Optional The radius in km from your position that the widget should look for messages, use latitude/longitude setting
Any positive integer
county
Optional The county from where to display messages
string
country
Optional Only display country wide messages. Default: true
true, false
maxitems
Optional Only display X number of latest messages. (-1 disables) Default: -1.
Any positive integer.
maxage
Optional Only show messages younger than maxage in hours. Default: 720
Any positive integer

Source Code

https://github.com/wtfutil/wtf/tree/master/modules/krisinformation