EMSC Provides Earthquake Information from https://seismicportal.eu/realtime.html websocket connection instantly. This custom component provides websocket connection to EMSC servers and gets the information to Home Assistant instantly.
You will need to install the emsc_earthquake manually.
-
Create custom_components folder if it does not exist to get following structure
config/custom_components -
Create emsc_earthquake folder inside custom_components folder
config/custom_components/emsc_earthquake -
Copy all files from custom_components/emsc_earthquake/ into the previously created folder
-
Restart Home Assistant
-
Go to
Settings/Devices & services -
Press
+Add Integrationbutton -
Select
EMSC Earthquake
-
name : Name of the sensor
-
center_latitude: Latitude of your base location, default is zone.home latitude
-
center_longitude: Longitude of your base location, default is zone.home longitude
-
radius_km: Distance of all earthquakes to be informed of, within a radius from your base location (in km)
-
min_mag: Minimum magnitude of earthquakes to be informed of, within the radius defined earlier.
-
total_max_mag: Independent from earlier parameters, show all earthquakes larger than this magnitude from all over the world.

