General Weather/Earth Sciences Topics > Severe Weather
Paging Carterlake, Paging Carterlake.......
(1/1)
WeatherHost:
Two questions on your Severe Weather Alert script.
Could it be configured to play a .wav file when alerts are detected? A different .wav file for each level of alert?
Can it be run locally on a PC or server rather than on a website?
carterlake:
Oops... I wasn't logged in... so I wasn't seeing new posts...
You can program it to display any HTML you like... like HTML which plays a wav file. Yes.
The script is in PHP... so it behaves like PHP (server based, executed when the page loads).
I think what you're looking for is either a NOAA weather radio (mine works great!) or Interwarn.
Personally, I'd go with the radio.
kray1000:
--- Quote from: "WeatherHost" ---Could it be configured to play a .wav file when alerts are detected? A different .wav file for each level of alert?
--- End quote ---
I do something similar. If the output for the script is a warning, I play my Weather Underground NOAA weather stream.
Something like...
--- Code: ---
if ($warning == '1') {
$playradio = '1';
}
--- End code ---
... you would then just need to add code to play the stream (like the embed tag in html)
WeatherHost:
--- Quote ---I think what you're looking for is either a NOAA weather radio (mine works great!)
--- End quote ---
Nope. Got one of those also, but reception is flaky and warnings are sometimes delayed somewhat behind web based warnings.
--- Quote ---Something like...
--- End quote ---
I don't know diddly 'bout no scriptin', so how would that look for a .wav file? And do I need to run some local version of PHP?
Navigation
[0] Message Index
Go to full version