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
Create:
c:\PageGateData\Weather\
c:\PageGateData\Weather\posts\
c:\PageGateData\Weather\ids\
Step 2 — Configure the NWS Data Carrier
Open PG Admin. Right click Carriers, select Add.
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
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
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
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.
In PG Admin, go to
Interfaces — GetAscii — Template. In Settings enter:
RawInterfaceFilter = [full path to nwsfilter.xml using \092 for backslashes]
UseFilterDll = True
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
Open PageGate GUI Client. Select WeatherCheck. Type Check the weather in message field.
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