Giter VIP home page Giter VIP logo

mmm-earthquake's Introduction

This API is currently disabled due to heavy user demand.

MMM-Earthquake

The probability of an earthquake in your city. You'll be surprised!

Example

Takes up very little of your precious screen real estate

Earthquake Magnitude Scale

  • 2.4 or less ---------- Usually not felt, but can be recorded by seismograph. ----- 900,000 per year
  • 2.5 to 5.4 ----------- Often felt, but only causes minor damage. ----------------- 30,000 per year
  • 5.5 to 6.0 ----------- Slight damage to buildings and other structures. ---------- 500 per year
  • 6.1 to 6.9 ----------- May cause a lot of damage in very populated areas. ------- 100 per year
  • 7.0 to 7.9 ----------- Major earthquake. Serious damage. ------------------------- 20 per year
  • 8.0 or greater ------ Great earthquake. Can totally destroy communities. -------- 1 per 5-10 years

Installation of module and dependencies

  • git clone https://github.com/mykle1/MMM-Earthquake.git into ~/MagicMirror/modules directory.
  • npm install in your ~/MagicMirror/modules/MMM-Earthquake directory.

Add to Config.js

{
    module: "MMM-Earthquake",
    position: "top_left",
    config: {
		place: "New York, NY", // New York, NY is default (Enter your city and state)
		radius: "50",          // 50km = 31.0686 miles (search radius)
		days: "365",           // 365 is default within how many days (1 - 365)
		mag: "2.5",            // Magnitude = 1.0 - 9.9 (9.5 highest ever recorded)
		maxWidth: "300px",
		header: "Earthquake Probability",  // Empty the quotes for no header
    }
},

Special thanks to

  • Charles F. Richter - Developer of the Richter scale.
  • United States Geological Survey
  • OpenHazards.com - Earthquake Forecasting and Hazard Analysis
  • Space Cowboy

mmm-earthquake's People

Contributors

mykle1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rubenix

mmm-earthquake's Issues

Doesnt display anything

Hi

Thank you for sharing this feature. I have cloned the git url. However it just shows as "EARTHQUAKE!..." with no further data as displayed in the screenshot.

Please help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.