USGS Quakes is a custom integration for Home Assistant that monitors earthquake events from the USGS Earthquake Hazards Program. It provides geo_location entities for each event matching your filter criteria.
- Monitors earthquakes from the USGS GeoJSON feed.
- Filters by:
- Minimum Magnitude (Mw)
- Maximum Distance from your location (Radius)
- Creates
geo_locationentities for each event. - Includes a special sensor
sensor.usgs_quakes_latestthat:- Stores only new earthquake events (based on their unique
id) - Exposes a formatted list of recent events:
- Title
- Place
- Magnitude
- Date/time (local)
- Google Maps link to epicenter
- Stores only new earthquake events (based on their unique
- Home Assistant 2024.6.0 or newer
- Internet access to fetch data from USGS
- Open HACS in Home Assistant.
- Go to Integrations → Custom Repositories.
- Add this repository:
Select type: Integration
https://github.com/Geek-MD/USGS_Quakes - Install and restart Home Assistant.
- Go to Settings → Devices & Services → Add Integration and select USGS Quakes.
- Download this repository.
- Copy the folder
custom_components/usgs_quakes/into your Home Assistantconfig/custom_components/directory. - Restart Home Assistant.
- Add the integration via the UI.
All configuration is done through the UI.
- Latitude / Longitude – Your location
- Radius (Km) – Max distance to include earthquakes
- Minimum Magnitude (Mw) – Ignore earthquakes below this
- Feed Type – Select from 20 different USGS feeds (past hour, day, week, etc.)
You can modify these settings anytime from the integration’s Options menu.
Supported USGS feed types include:
- All earthquakes (past hour, day, week, month)
- Only significant events
- Filtered by magnitude: 1.0+, 2.5+, 4.5+
Full list: USGS GeoJSON Feed Documentation
This sensor exposes:
state: Timestamp of the latest eventevents: List of the last 10 new earthquakesformatted_events: Multiline string with summary info
M 5.2 - Near Valparaíso, Chile
Place: 8 km NW of Valparaíso
Magnitude: 5.2 Mw
Date/Time: 2025-09-18 04:33:22
Location: https://www.google.com/maps?q=-33.0458,-71.6197
Call the following service to manually refresh the earthquake feed:
service: usgs_quakes.force_feed_updateYou can trigger this from Developer Tools, automations, or UI buttons.
For visualizing data in Lovelace, install the USGS Quakes Cards from USGS Quakes Cards repository:
- Map of recent earthquakes
- List of formatted events
- Button to manually refresh the feed
These cards are not included in this repository and must be added manually or via HACS (coming soon).
- On first setup, all events matching the filters are included.
- On updates, only new events (based on USGS
id) are added. - Sensor shows events in reverse chronological order (newest first).
- All magnitude and distance values follow standard units (Mw, km).
Developed by @Geek-MD
Powered by USGS GeoJSON Feed
Special thanks to @AdamsLab01 for reporting critical bugs and improvements.
MIT © Edison Montes @GeekMD
💻 Proudly developed with GitHub Copilot 🚀