Author Topic: Paging Carterlake, Paging Carterlake.......  (Read 3902 times)

0 Members and 1 Guest are viewing this topic.

Offline WeatherHost

  • Forecaster
  • *****
  • Posts: 3649
Paging Carterlake, Paging Carterlake.......
« on: May 12, 2007, 04:02:18 PM »
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?

Offline carterlake

  • Senior Contributor
  • ****
  • Posts: 243
    • CarterLake.org
Re: Paging Carterlake, Paging Carterlake.......
« Reply #1 on: May 12, 2007, 06:32:40 PM »
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.

Davis VP2 6153; Weather Display (LIVE w/ Ajax); Quickcam for Notebooks Pro; Boltek w/ Nexstorm; GRLevel3; live NOAA Radio

Offline kray1000

  • Purveyor of wry
  • Forecaster
  • *****
  • Posts: 1336
    • http://www.roanokevalleyweather.com
Re: Paging Carterlake, Paging Carterlake.......
« Reply #2 on: May 12, 2007, 07:50:19 PM »
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?


I do something similar.  If the output for the script is a warning, I play my Weather Underground NOAA weather stream.

Something like...
Code: [Select]

if ($warning == '1') {
  $playradio = '1';
}

... you would then just need to add code to play the stream (like the embed tag in html)

Offline WeatherHost

  • Forecaster
  • *****
  • Posts: 3649
Re: Paging Carterlake, Paging Carterlake.......
« Reply #3 on: May 13, 2007, 12:37:44 AM »
Quote
I think what you're looking for is either a NOAA weather radio (mine works great!)



Nope.  Got one of those also, but reception is flaky and warnings are sometimes delayed somewhat behind web based warnings.


Quote
Something like...



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?