This script checks near earthquakes in Iran using the Iranian Seismological Center. The audio alert is prepared for raspberry pi.
Foreshock activity has been detected for about 40% of all moderate to large earthquakes, and about 70% for events of M>7.0. So, Awareness of small earthquakes can be effective.
- Connect an external speaker to Raspberry Pi.
- Install requirements:
pip3 install -r requirements.txt
- Set latitude and longitude in the
main.py
file. - Check the accuracy of your Raspberry Pi Clock using the
date
command. - Run the
main.py
.