Logo of eSismos

eSismos

Earthquake alerts for Spain and worldwide (IGN, real-time EMSC and USGS): map, list, detail of each quake and zone alerts with quiet hours. On Android it keeps watching with the app closed.

Utilities Windows macOS Android
Screenshot of eSismos

What it is

eSismos shows earthquakes in Spain and its surroundings and around the world, and alerts you when one matches the rules you choose: near your places, in Spain or anywhere, above a given magnitude. It is meant for people who want to find out quickly, with clear data, what has happened, without relying on social media.

How it works

The app combines three public sources and cross-checks them:

  • EMSC, in real time over WebSocket, plus a periodic download of the last 48 hours.
  • IGN, with its table of recent days (depth, magnitude type and intensity), and its GeoRSS feed if the table fails.
  • USGS, with its summaries of recent quakes for the day and the week.

The same quake published by several sources is merged into a single event when they agree on time, place and magnitude. Within Spain and its surroundings IGN takes precedence; elsewhere, USGS and then EMSC.

Each new event goes through a rule evaluator (zone, minimum magnitude, how to alert) and the quiet hours. Before alerting, the app rereads the alert log so it never repeats one already given.

On Android it can keep watching with the app closed, in two ways: a foreground service with a discreet persistent notification that keeps the real-time connection open and starts when the device boots, or a battery-saving periodic task that does a pass every so often. The app and the background watch share the same alert log.

Main features

  • Map with Nearby, Spain and World views: size by magnitude, colour by depth and a ring on quakes from the last 2 hours.
  • List filterable by minimum magnitude and by period (24 h, 48 h or 7 days).
  • Detail of each quake: time, depth, distance and estimated intensity at each saved place, official maximum intensity, coordinates and what each source reports.
  • Alert rules by zone and magnitude, each with sound, vibration or silent.
  • Quiet hours with an exception for strong, nearby quakes.
  • Alert history.
  • Tsunami bulletins from PTWC and NTWC: recent warnings, watches and advisories.
  • Background watch on Android, in real time or in battery-saving mode.
  • Coastline map built into the app, with no external map services.

Technology

Written in Flutter and Dart with Riverpod for state and the shared theme of the in-house apps. Networking uses http and web_socket_channel; notifications, flutter_local_notifications; the Android background watch, flutter_foreground_task and workmanager. The map draws Natural Earth coastlines from TopoJSON with in-house projections. Estimated intensity is computed with the Atkinson and Wald (2007) equation.

Privacy is built into the design: the quakes are downloaded and the distance to your places is computed on the device. The city search only sends the typed text, and "My location" is rounded to one kilometre and never leaves the device.

Limits

eSismos is not an official earthquake warning system nor an early warning system: it alerts once the quake has been published, seconds or minutes later, and depends on the sources being available. The intensity it estimates for your places is approximate. Tsunami bulletins cover the Pacific, the Caribbean and the American Atlantic. In an emergency, the reference is Civil Protection, ES-Alert and 112.