IGN Sismología

The ign_sismologia platform lets you integrate a GeoRSS feed provided by the Spanish Instituto Geográfico Nacional with information about seismic events like earthquakes on the Iberian Peninsula and Canary Islands. It retrieves incidents from a feed and shows information of those incidents filtered by distance to Home Assistant’s location.

Entities are generated, updated and removed automatically with each update from the feed. Each entity defines latitude and longitude and will be shown on the default map automatically, or on a map card by defining the source ign_sismologia. The distance in kilometers is available as the state of each entity.

The data is updated every 5 minutes.


To integrate the IGN Sismología feed, add the following lines to your configuration.yaml.

# Example configuration.yaml entry
  - platform: ign_sismologia

Configuration Variables

minimum_magnitude float(Optional, default: 0.0)

The minimum magnitude of an earthquake to be included.

radius float(Optional, default: 50.0)

The distance in kilometers around Home Assistant’s coordinates in which seismic events are included.

latitude string(Optional)

Latitude of the coordinates around which events are considered.


Latitude defined in your configuration.yaml

longitude string(Optional)

Longitude of the coordinates around which events are considered.


Longitude defined in your configuration.yaml

State Attributes

The following state attributes are available for each entity in addition to the standard ones:

Attribute Description
latitude Latitude of the earthquake.
longitude Longitude of the earthquake.
source ign_sismologia to be used in conjunction with geo_location automation trigger.
external_id The external ID used in the feed to identify the earthquake in the feed.
title Original title from the feed.
region Textual description of named geographic region near to the event.
magnitude Reported magnitude of the earthquake.
publication_date Date and time when this event occurred.
image_url URL to a map supplied in the feed marking the location of the event. This could for example be used in notifications.

Full Configuration

# Example configuration.yaml entry
  - platform: ign_sismologia
    radius: 100
    minimum_magnitude: 2.0
    latitude: 37.39
    longitude: -5.99