Your home, earthquake-aware.
When the GeoShake network confirms an earthquake, your smart home can react in seconds — flash the lights, sound a siren, announce a warning, run your emergency scene. Free, open source, five-minute setup.
Home Assistant
Native integration via HACS. An Earthquake sensor plus full automation power — lights, sirens, scenes, announcements. Sign in with your GeoShake account; no code, no YAML.
Set it up →Google Home
Link your GeoShake account directly in the Google Home app — no hub or extra hardware needed — and build routines on the GeoShake Seismic Sensor.
Two ways to connect →Smart Life / Tuya
The sensor shows up in the Smart Life or Tuya Smart app as a device you can automate — lights, plugs, sirens, cameras. No hub, no bridge; scan one code and it is there.
Set it up →Apple Home
Mirror the Earthquake sensor into Apple Home with Home Assistant's built-in HomeKit Bridge. As a safety sensor it can trigger HomePod automations and stronger notifications.
See how →API & MQTT
Building something custom? Real-time earthquake events and station data through the GeoShake API — plus FDSN-compatible access for research.
api.geoshake.org →Amazon Alexa
Earthquake announcements and routines on Echo speakers. In the meantime, Alexa users can already connect through Home Assistant.
More on the way
IFTTT, webhooks, Matter… the roadmap is shaped by the community. Tell us which integration would make your home safer.
Suggest an integration →Home Assistant
AvailableBring GeoShake earthquake alerts into Home Assistant in about five minutes. No coding, no configuration files — you just sign in with your GeoShake account.
What you'll need
- A running Home Assistant installation (version 2024.11 or newer — OS, Container or Supervised all work)
- HACS (Home Assistant Community Store) installed
- Your GeoShake account (email + password)
- About 5 minutes
How it works
Network confirms
3+ GeoShake stations agree an earthquake is real — false alarms stay out.
Secure alert
The event reaches your Home Assistant over a personal, read-only, encrypted (TLS) connection.
Sensor turns ON
The Earthquake sensor flips ON for two minutes, then clears itself automatically.
Your home reacts
Automations run — lights, sirens, announcements, scenes, phone notifications.
The integration sets up its own connection — it does not use or occupy Home Assistant's MQTT integration.
Setup
Install the integration (HACS)
- In Home Assistant, open HACS.
- Click ⋮ (top right) → Custom repositories and add the repository below with type
Integration:
- Search for GeoShake in HACS → Download (latest version).
- Restart Home Assistant (Settings → System → Restart).
Sign in with your GeoShake account
- Go to Settings → Devices & Services → + Add Integration and search GeoShake.
- Choose "Sign in with GeoShake account (recommended)".
- Enter your GeoShake email and password → Submit.
That's it — your personal connection credentials are created automatically behind the scenes, and your account password is never stored in Home Assistant. A GeoShake Network device appears with three entities:
| Entity | What it shows |
|---|---|
| Earthquake | ON when the network confirms an earthquake; clears after 2 minutes. Attributes: intensity class, station count, max PGA, coordinates, distance_km from your home. |
| Last event | Time of the most recent confirmed event, with the same attributes. |
| Connection | Live connection status (diagnostic) — handy for support. |
Quick check: Developer Tools → States, filter by geoshake. Earthquake should show off and Connection should be Connected.
Create an automation
Make Home Assistant do something when an earthquake is detected. Use the visual editor — it's the easiest way and avoids YAML mistakes.
- Settings → Automations & Scenes → + Create Automation → Start with an empty automation.
- When (trigger): Add Trigger → Entity → State · Entity: the GeoShake Earthquake sensor · To:
On(Detected). - Then do (action): pick what should happen — e.g.
light.turn_onfor a light orswitch.turn_onfor a smart plug. - Save and name it, e.g. "GeoShake earthquake alert".
| Goal | Action to add |
|---|---|
| Flash lights red | light.turn_on → color red, brightness 100% |
| Power a siren or buzzer | switch.turn_on on the smart plug it's connected to |
| Voice announcement | tts.speak → "Earthquake warning. Take cover." |
| Run a scene | scene.turn_on → your "emergency" scene |
| Phone notification | notify.mobile_app_… → your device |
switch.turn_on. Using light.turn_on on a plug won't work. And for voice: some smart speakers have limited non-English support — an English announcement or a language-independent siren sound is the most reliable.Options — alert radius & auto-clear
Settings → Devices & Services → GeoShake → Configure:
| Option | Default | What it does |
|---|---|---|
| Alarm auto-clear delay | 120 s | How long the alarm stays ON after the last event. |
| Alert radius from home | 0 (off) | 0 = alarm for every confirmed network event. Set a distance in km to only trigger for earthquakes near your home. Uses your Home Assistant home location (Settings → System → General) — set it correctly first. The Last event sensor always shows every network event regardless of the radius. |
Apple Home
Via Home AssistantHome Assistant can expose the GeoShake sensor to Apple Home through its built-in HomeKit Bridge — so a confirmed earthquake can trigger HomePod automations, scenes and stronger notifications on your iPhone.
Add the HomeKit Bridge
Settings → Devices & Services → + Add Integration → HomeKit Bridge. When asked which entities to include, add the GeoShake Earthquake sensor.
Scan the code in the Home app
Home Assistant shows a setup / QR code. On your iPhone, open the Home app → Add Accessory → scan it.
Automate
The sensor appears in Apple Home as a safety sensor, so it can trigger HomePod automations — lights, scenes, alarm sounds — and time-sensitive notifications.
Google Home
AvailableTwo ways to connect — pick whichever fits your setup.
Easiest: link your account directly
GeoShake has a direct Google Home integration that doesn't need Home Assistant at all. In the Google Home app, link your GeoShake account, then create a routine on the GeoShake Seismic Sensor — for example: "When Earthquake is detected → Broadcast 'Earthquake warning' on your speakers."
Via Home Assistant Cloud
- Settings → Home Assistant Cloud → enable Google Assistant (Nabu Casa).
- Expose the GeoShake Earthquake sensor.
- In the Google Home app, create your routine on the exposed sensor.
Smart Life / Tuya
AvailableSmart Life and Tuya Smart are the same platform, and between them they run a very large share of the world's smart plugs, bulbs, sirens and cameras. Connect your GeoShake T1 once and a confirmed earthquake becomes something your house can act on — not just a notification you have to read. It only reacts to earthquakes within about 300 km of the sensor — a quake on the other side of the world does nothing.
What you'll need
A GeoShake T1 that is online, and a free account in Smart Life or Tuya Smart. Either app works — they share the same platform, so pick whichever you already have. No hub and no bridge: the sensor talks to the Tuya cloud through GeoShake.
Connect it
Nothing to scan. Open the GeoShake app → the My Station tab → tap your sensor → ⋯ at the top right → Integrations → Smart Life / Tuya Smart → Connect to Smart Life. The app hands you over to Smart Life to finish adding the sensor.
Open my.geoshake.org/devices, find your sensor and press Connect to Smart Life. A pairing code appears. In the Smart Life app tap + → Add Device → the scan icon at the top right, and scan it. Use this one if you are at a computer — you cannot scan a code that is on the same phone.
Build the automation
The sensor now appears in your app like any other device, so it can start a Tap-to-Run or an Automation: turn the hall lights on, open a smart lock, sound a siren, start a camera recording, cut power to a heater.
Two signals — network and local. Get this right.
The sensor reports two separate states, and they answer two different questions. Picking the wrong one is the single most common way these automations end up switched off after a week, so it is worth thirty seconds now.
Shock State (network) | Lock Shock (local) | |
|---|---|---|
| Answers | "Was there a real earthquake?" | "Did this sensor just move?" |
| Who decides | The GeoShake network — several stations have to agree, and the earthquake has to be within about 300 km of your sensor | This one device, on its own |
| Distance | Only within about 300 km of your sensor. Farther earthquakes are never sent, however strong | Not applicable — this device only |
| Values | normal → vibration → back to normal.The list also offers drop and tilt — GeoShake never sets them | normal → shaking → back to normal |
| How long | Stays in alert for two minutes, then clears itself | Short pulse, then a cool-down before it can fire again |
| False alarms | Very rare — one station alone can never trigger it | Expected. A slammed door, a passing truck or someone bumping the shelf will do it |
| Default | On | Off — you turn it on, and pick one of three sensitivity levels |
| Build on it | Yes — safety automations belong here. Lights, locks, sirens, cutting power | Only for "something happened in this room" reactions. Never for anything that must not fire by mistake |
A worked example: lights on when an earthquake is confirmed
Two minutes in the Smart Life app, no hub and nothing to install. This is the automation to build first.
- Open Smart Life (or Tuya Smart) → the Smart tab → Automation → +.
- When: choose When device status changes → pick your GeoShake sensor. The app offers two statuses: pick Shock State (the network signal) and set it to
vibration.
Watch out: that list also showsdropandtilt. GeoShake never sets those — an automation built on them will simply never run. For the network alert the only value that fires isvibration. - Then: Run the device → pick your hallway light → Switch: On, and if it is a bulb, Brightness: 100%. Add more tasks the same way — a plug for a siren, a smart lock to unlock.
- Save and name it something you will recognise at 3 a.m., e.g. "Earthquake — light the way out".
| If you want | Add this task |
|---|---|
| A lit exit route | Hallway, stairs and entrance lights → On, brightness 100% |
| To be woken up | A siren or buzzer on a smart plug → On |
| The door not to jam shut | Smart lock → Unlock (check your own risk trade-off first) |
| Less to burn | Heater, iron, water pump plugs → Off |
| To see what happened | Camera → Start recording |
You do not need a second automation to turn things off: the sensor clears itself after two minutes. If you want the lights to go off again, add a second automation on the same status going back to normal.
What people actually build
- Light the way out. Hallway, stairs and entrance lights to full brightness — power often goes at the worst moment, and a lit exit route is worth more than a phone in your pocket.
- Open the escape route. A smart lock or garage door that unlocks, so a jammed door frame is not what stops you.
- Wake the house. A siren or smart speaker announcement — the alert reaches people who are asleep or not holding a phone.
- Cut the risk. Smart plugs off for heaters, irons and the water pump; a fire that starts after the shaking is a well-documented pattern.
- Look afterwards. Cameras start recording, so you can check on rooms, pets or elderly relatives without walking through the house.
Understanding the alerts
- The sensor turns ON only for network-confirmed earthquakes (3+ GeoShake stations agree) — this keeps false alarms very low.
- By default it covers the whole GeoShake network. Only care about nearby events? Set the alert radius.
- The sensor clears itself automatically (default 2 minutes, configurable).
- An alert travels network → cloud → Home Assistant → your devices in a few seconds, so for a very close earthquake the warning window may be short. A helpful layer — never your primary warning.
Your data & privacy
- Your account password is never stored — it's used once during setup to create personal connection credentials.
- The connection is read-only and encrypted (TLS). Home Assistant can only listen — it can never publish to the GeoShake network, so injecting a fake alert from your side is impossible.
- Earthquake events are public data (they already appear on the live map) — nothing private is exposed.
Migrating from the old manual MQTT setup?
- Remove the
mqtt: binary_sensor:GeoShake block fromconfiguration.yaml(Developer Tools → Check Configuration → reload YAML). - If the GeoShake server occupied your MQTT integration, delete that MQTT config or repoint it to your own local broker — the new integration connects on its own and frees the MQTT slot.
- Install the integration (steps above) and update your automations to trigger on the new Earthquake entity.
Troubleshooting
"Invalid email or password"
Check your GeoShake account credentials — the same ones you use for the GeoShake app and Google Home linking.
"Too many attempts"
Wait about 5 minutes and try again — sign-in is rate-limited for security.
"Could not connect to the GeoShake server"
Check your internet connection and that outbound port 8883 isn't blocked by your firewall, then try again.
Entities show "Unavailable"
Check the Connection diagnostic entity. The integration reconnects automatically; if it stays disconnected, your network may block port 8883 — or your credentials were refreshed by a newer installation. Re-add the integration to sign in again.
The sensor exists but never turns ON
Normal until an earthquake occurs. The Last event sensor shows the most recent confirmed network event.
The alarm never triggers with a radius set
Make sure your Home Assistant home location is set (Settings → System → General) — the radius measures from there. Set the radius to 0 to receive all events.
The automation runs but nothing happens
Check that the service matches the device: smart plug → switch.turn_on, light → light.turn_on.
GeoShake doesn't appear in HACS search
Make sure you added the custom repository with type Integration, then refresh HACS.
Make your home part of the network.
The GeoShake T1 strengthens detection where you live — and your smart home reacts the moment it matters.