Skip to content

Latest commit

 

History

History
51 lines (29 loc) · 1.92 KB

README.md

File metadata and controls

51 lines (29 loc) · 1.92 KB

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