IGN Sismología
The ign_sismologia
integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] lets you integrate a GeoRSS feed provided by the
Spanish Instituto Geográfico Nacional
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.
Configuration
To integrate the IGN Sismología feed, add the following lines to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.
# Example configuration.yaml entry
geo_location:
- platform: ign_sismologia
Configuration Variables
The minimum magnitude of an earthquake to be included.
The distance in kilometers around Home Assistant’s coordinates in which seismic events are included.
Latitude of the coordinates around which events are considered.
Latitude 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
geo_location:
- platform: ign_sismologia
radius: 100
minimum_magnitude: 2.0
latitude: 37.39
longitude: -5.99