DEV Community

Cover image for OpenEEW a Call for Code Open Source Project
katie-maxwell for IBM Developer

Posted on


OpenEEW a Call for Code Open Source Project

Alt Text

The Basics

Open Earthquake Early Warning (EEW) is constructed to detect early signs of potential earthquakes and providing early signals to the community being affected.

This solution focuses on addressing the key areas of earthquakes such as:

  1. Detecting the early signals of an imminent earthquake

  2. Predicting the direction of a quake from multiple geographically dispersed sensors

  3. Warning communities and populations to take immediate action

Watch the OpenEEW online event
Join the Slack channel

Andy Meira- CEO & Founder of Grillo

Alt Text

Alt Text

Andy's Takeaways

One of the main takeaways Andy provided in the OpenEEW presentation was the effect of the earthquake in Haiti in 2010. Being reminded of the impact of losing over 300 thousand individuals, the impact of a 7.2 earthquake, and the aftereffect of the economy, painted a strong picture toward the audience.

The biggest takeaway was Andy speaking first hand, speaking about how he experienced the Haiti earthquake, saw the initial impact, but even worse, saw the lasting impact on Haiti. When you listen to Andy speak about a first-hand experience it glues your attention and creates a desire to listen more about how the OpenEEW capabilities can improve and overall save lives in the near future.

Alt Text

Another first-hand experience Andy encounter was being a part of the Mexico Earthquake in 2017. Having Andy seeing the magnitude, the first-hand effects of the Earthquake in Mexico, speaks to the need for OpenEEW to create awareness before the Earthquake occurs.

Alt Text

Alt Text

Specific Facts

Some specific numbers which stood out in the Open EEW presentation were:

2.7B people live with a threat of earthquakes globally (about a quarter of the world)

36,000 people die globally because of earthquakes each year (Average of past 15 years)

$3.1B USD the estimated economic cost of 2020 earthquakes in Puerto Rico

EEW Global Implementation

Even with the improved capabilities to technology in the past decade, there is only a handful of EEW’s around the world being used. Japan is the only country that implemented a full national Earthquake Early-Warning system (EEW). Understanding EEW’s capabilities, the challenge is the price. Japan implements an EEW which cost $1 Billion USD.

Developing Countries vs. Developed Countries

Another interesting point Andy was describing was the importance of implementing Open EEW in developing countries. Developing countries do not have the same materials, technology, and overall structure compared to more developed countries. Understanding the disadvantages developing countries experience increases the overall lack of safety when earthquakes occur.

OpenEEW Capabilities

The world’s first IOT-based EEW → off the shelf components drive down cost by orders of magnitude:

1. Low-noise MEMs accelerometers 

2. Powerful cloud computing 

3. AI earthquake detection 

4. Smart intensity prediction 
Enter fullscreen mode Exit fullscreen mode

Open EEW’s Components

The OpenEEW Open-Source Components include:

1. OpenEEW Sensors 

    a. <10% cost of traditional seismometer 

2. Cloud Monitoring + Detection: 

    a. Fast/accurate algorithms running in IBM cloud 

3. Multi-channel Alerts: 
    a. Predicts shaking intensity for each user 
Enter fullscreen mode Exit fullscreen mode

John Walicki- STSM, Lead Developer Advocate

Alt Text

John opens with the emphasis on open source communities and how it isn’t just IBMers working on OpenEEW. The best way to get involved with this project is by joining the slack channel here.

Alt Text

The Sensor

We want a bunch of sensors- distance and coverage matter!

Not only a sensor but also an alarm- John points out that most of these sensors are in rural areas with internet and power. A big concern was people unplugging the sensor when their internet connection was slow by adding an alarm to the sensor it gives people incentive to leave them plugged in!

Sensor Features

- Sensor and alarm  

- WIFI and ethernet  

- ESP 32 
Enter fullscreen mode Exit fullscreen mode

The sensor is mounted and listens to noise- we do not want to send every noise heard to the cloud (think door slams or vehicles driving by). The firmware has early detection for shaking and we use multiple sensors to detect an earthquake. The detection of an earthquake happens in the cloud using an algorithm that prevents false positives.

Alt Text

New Sensor Demo

Next, John shows us how to set up a new sensor through an app that can be found on the Google Play store (coming soon to the Apple App store). The sensors do not have a GUI or keyboard so the setup is through your mobile device. During setup, you will connect to your WIFI which will then be broadcasted to your sensor. There is no GPS or cameras on the sensor so it has no idea where it is- this important information is pulled from your mobile device.

Alt Text


John can see all of his sensors and where they are on the map. There is a world map with green dots to show where each sensor is. You can sort by different sensor networks (ex. Regional areas). While data is being fed from the sensor to the cloud we can also push alerts to the sensor to alert people when there is an earthquake. If we push the command that an earthquake is happening the sensor will blink red and make a loud beeping noise.

Below are some screenshots from the dashboards:

Alt Text

Alt Text

Provisioning Diagram & Tracking Code

Alt Text

Alt Text

Oaxaca Earthquake Demo

On February 16, 2018, there was a 7.2 magnitude earthquake in Oaxaca, Mexico. The OpenEEW team had sensors in place for the earthquake- this was a great opportunity because it is great to train the sensors with large magnitude earthquakes since they look very different than small magnitude ones. John showed the sensor data from the earthquake and you can see how the sensor picks up on the earthquake and the aftershocks. To put this into perspective the earthquake measured about 100 Gals- where slamming a door is about .5 Gals!

Alt Text

Top 5 Questions

Q: How can I get a sensor?
A: You can buy one! Click here to learn more.

Q: Where can I learn more about the deployment?

Q: Where is the best place to put the sensor and how many are needed?
A: On the ground floor and on structural members (concrete column) and where people aren’t moving around too much. Good internet and good power! No magic number- as many as possible would be great!

Q: Is there any training/simulation data available?

Q: Are you considering sharing alerts API to use with other systems or generate CAP alerts for public use?
A: Here's an open issue with a discussion on CAP support: Would love to see contributions from the community to move that along! Each country has different ways of alerting its population. We are very aware that not all countries want us to have that access so people can subscribe through the app.

Alt Text

If you are interested in answering the call use the resources below to join!

OpenEEW Website
Watch the OpenEEW online event
Join the Slack channel
OpenEEW Github

Written by:

dhiemenz image
katiemaxwell image

Top comments (0)