Integrate with Existing Applications

National Weather Service Alerts with PageGate

PageGate can automatically poll the National Weather Service for weather warnings, watches and alerts and trigger SMS notifications.

Requirements: GUI Client, GetAscii, Filter Pack

Step 1 — Create Directories

  1. Create:
    c:\PageGateData\Weather\
    c:\PageGateData\Weather\posts\
    c:\PageGateData\Weather\ids\

Step 2 — Configure the NWS Data Carrier

  1. Open PG Admin. Right click Carriers, select Add.
  2. Specify:
    Name: NWS-GetData
    Protocol: HTTPGET
    Host: [NWS feed URL without https:// — find at alerts.weather.gov]
    Example: alerts.weather.gov/cap/wwaatmget.php?x=CAC001&y=1
    Port: 443 | Max Chars: 16000
  3. Go to Carriers — NWS-GetData — Template. In Settings enter the ResponsePath using \092 for backslashes (e.g. ResponsePath = C:\092PageGateData\092weather). Click Apply.

Step 3 — Create the WeatherCheck Recipient

  1. Right click Recipients, select Add.
    Full Name: WeatherCheck | Recipient: weathercheck
    Carrier: NWS-GetData | ID/PIN: [Leave blank] | Max Chars: 16000
    Click Apply.

Step 4 — Configure GetAscii with the NWS Filter

  1. Download nwsfilter.zip and unzip to c:\PageGateData\weather\
  2. Open nwsfilter.xml. Replace all INSERT THE PATH TO YOUR WEATHER FOLDER with your actual path. Replace YourRecipientOrGroup with the PageGate recipient or group. Save.
  3. In PG Admin, go to Interfaces — GetAscii — Template. In Settings enter:
    RawInterfaceFilter = [full path to nwsfilter.xml using \092 for backslashes]
    UseFilterDll = True
  4. Go to Interfaces — GetAscii — Settings — Advanced Polling — Files. Add *.txt pointing to the weather folder, and *.asc pointing to weather\posts. Click Apply.

Step 5 — Schedule the Weather Check

  1. Open PageGate GUI Client. Select WeatherCheck. Type Check the weather in message field.
  2. Click Options. Set Resend Message Every to your preferred interval (minimum 1 minute). Set Stop Sending far into the future. Click Apply, then Send.

Return to Integration Directory

Need help with this integration?

Our support team can walk you through the configuration steps.