Skip to content

anthonyborriello/metar-sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

METAR SMS Notifier

This Bash script allows users to fetch METAR (Meteorological Aerodrome Report) data for a given airport using its ICAO code.
It then sends the result via SMS using a GSM-USB dongle.

Something like the Huawei E-3531, ZTE MF-627 or Huawei E392 for LTE.

Usage

  1. Clone or Download the Repository: Click the green "Code" button and select "Download ZIP" to download the repository as a ZIP file. Extract the contents to a folder on your computer.

    Alternatively, you can copy and paste the following commands into your terminal to download the script directly:

    curl -O https://raw.githubusercontent.com/anthonyborriello/metar-sms/main/metar_sms.sh
    
  2. Install gammu: Make sure you have gammu installed and configured for sending SMS. If you haven't installed gammu yet, you can do so by running the following command in your terminal:

    sudo apt install gammu
  3. Run the Script:

    Linux/Raspberry Pi: Open Terminal and navigate to the folder where you extracted the repository. Then, execute the following commands to make the script executable and run it:

    bash metar_sms.sh
    
  4. Follow the Prompts: The script will prompt you to input the ICAO code of the airport and the destination phone number for SMS. Follow the prompts to enter the required information.

Acknowledgements

Thanks to aviationweather.gov for providing the METAR data used in this script.

License

This script is licensed under the MIT License.

Author

Antonio Borriello antonioborriello.wordpress.com

metar_sms sh

IMG_5447

About

Send Metar report via SMS using Gammu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages