WXforum.net
Weather Station Hardware => Weather Radios => Topic started by: PSJohn on April 28, 2007, 01:22:57 PM
-
I have just begun participating with WU in streaming local NOAA radio to them and was wondering how to take that stream and put it on my site?
I have seen sites that have the WU flash player embedded. I wound prefer that!
Any suggestions?
Thanks,
John
-
Do you have an example site?
-
I'm not sure what you're asking. I going to incorporate it into an existing page.
John
desertweather.com
The site that has the WU flash player is : http://american-fm.org/
-
The site that has the WU flash player is : http://american-fm.org/
Is this the only site which you've seen the flash player on?
I ask because the code look like something which is co-branded between American FM and WU.
-
If you copy the below code into an html page it should give you the same as your link.
Lonnie
<param name=quality value=high>
<embed src="http://www.wunderground.com/radio/radio-player.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="210" height="100" align="left">
</embed>
-
Is this the only site which you've seen the flash player on?
I ask because the code look like something which is co-branded between American FM and WU.
I think your right. There was one other site, and I can't seem to locate it right now, but like American FM it wasn't a weather related site.
Lonnie, your code worked (Thanks!) but for some reason the player only lists 19 locations!? weird
My NOAA Radio test page: http://www.desertweather.com/NOAAradio.php
-
Ok, I cracked the code...
<embed
type="application/x-shockwave-flash"
src="http://www.wunderground.com//radio/radio-player-v16.swf"
id="radio-player"
name="radio-player"
bgcolor="#ffffff"
quality="high"
allowscriptaccess="always"
movie="http://www.wunderground.com/radio/radio-player-v16.swf";
flashvars="XMLMode=HTTP&strStreamURL=http%3A//www.wunderground.com/wxradio/requestxml.html%3Faction%3Dgetsinglefromallstations%26stationid%3DCarterLake%7C515%7C11&autoplay=true"
height="100"
width="210">
Where you get the station ID from is:
http://www.wunderground.com/wxradio/requestxml.html?action=getsinglefromallstations&stationid=CarterLake|515|11
(you'll have to copy/paste into a browser)
If you edit, be careful not to remove the ASCII %7C (which is ASCII for pipes | )
I currently have it up as my test page:
http://www.carterlake.org/test.php
Oh and...
According to John Celenza, Director of Weather Technology at Wunderground.
Please feel free to use Wunderground images and data on personal sites, as long as you link those images to Wunderground or give direct credit. Something like "This image courtesy of Weather Underground" is appropriate.
Be sure to give credit where credit is due.
-
Thanks for the code. Here is the test page I set up.
http://www.nhweatherdata.com/noaaradiotest.html
Bob
-
Thank you, that's perfect.
Appreciate the help
-
Still trying to figure out how to get the autoplay to work...
-
Still trying to figure out how to get the autoplay to work...
Ugh... don't know about others, but I hate it when I open a web page and it starts to play something without my express written consent... :wink:
(I assume that's what you meant about "autoplay")
-
Carter Lake
Look at this. I know the code is long but was the only way I could get it to autoplay.
http://pulliamjr.com/test/radiotest.htm
Lonnie
-
Still trying to figure out how to get the autoplay to work...
Ugh... don't know about others, but I hate it when I open a web page and it starts to play something without my express written consent... :wink:
(I assume that's what you meant about "autoplay")
I tend to agree (MIDI music, ugh!), except when it comes to a page specifically setup for NOAA radio... I think if you click on that, you kind of expect it to start playing.
Carter Lake
Look at this. I know the code is long but was the only way I could get it to autoplay.
http://pulliamjr.com/test/radiotest.htm
Lonnie
Yeah, I thought of that... too much code for my liking.
One thing which is stopping me from considering flash is that is requires a download to use... I know most people have flash... but not everybody.
-
One thing which is stopping me from considering flash is that is requires a download to use... I know most people have flash... but not everybody.
You can't please everyone. :roll:
Chances are good if they don't have flash or java installed, they won't be coming to a web site for NOAA weather radio, if they even know what it is or where to find it in the first place.
I know that sounds knda rude, but think about it for a second......
Bob
-
You can't please everyone. :roll:
Chances are good if they don't have flash or java installed, they won't be coming to a web site for NOAA weather radio, if they even know what it is or where to find it in the first place.
I know that sounds knda rude, but think about it for a second......
Bob
Or from one of the thousands of large businesses which don't allow flash or Java to run on their machines.
I think I may add the flash player as an alternative though...
http://www.wunderground.com/wxradio/smallplayer.html?stationid=CarterLake|515|11
-
I almost forgot... another option would be to make your own custom flash player like Ken did at Saratoga Weather...
http://saratoga-weather.org/radio.php
He's using Playa - http://candyscript.com/projects/playa/
-
Or from one of the thousands of large businesses which don't allow flash or Java to run on their machines.
Then, in that case, I'm sure they wouldn't want their employees playing a NOAA weather radio stream either. So, it's sort of a moot point. :roll:
-
Hi guys,
I know this is an old topic, but I've been trying to embed the weather radio script into my web page with no luck.
Each time I try using the code I get an error saying something like " A script you are running is causing Flash 10 to run slowly. If you continue to run this script it could make your system unresponsive".
Now I do get the little NOAA symbol and it does say that it's connecting to my local stations. It just never goes beyond that point and allowing it to run, does cause the computer to become unresponsive.
I've tried viewing the link on two seperate computers with the same results.
If anyone has any suggestions, I'd apprecaite the help..
Dave
-
Hey guys, never mind...
I played around with the code a little bit and got it to work.
Thanks anyway....
Dave
-
Or from one of the thousands of large businesses which don't allow flash or Java to run on their machines.
Then, in that case, I'm sure they wouldn't want their employees playing a NOAA weather radio stream either. So, it's sort of a moot point. :roll:
I'll bet the companies would allow employees to have a NOAA All Hazards Weather Radio.
I did the Athens, Georgia NOAA wx streaming a couple of years ago. Then I thought; in a disaster, the Internet will be the first service to fail. My Internet connection & my long term electrical power will quickly fail. My PC battery back-up is good for only hours. I quit streaming the signal.
If my site visitors are depending on me to provide them with emergency information, I would have failed them for not being able to provide them with emergency info on their computers.
NOAA provides emergency information over a radio network to receivers specifically designed to be used everywhere even if the citizen has no power.
It's best for all citizens to get their own NOAA All Hazards Weather Radio.
At the least you should put an advisory that everyone should have an emergency portable radio with extra batteries available. Encourage them to depend on that means of emergency instructions and not rely on your site.
-
....
I did the Athens, Georgia NOAA wx streaming a couple of years ago. Then I thought; in a disaster, the Internet will be the first service to fail. My Internet connection & my long term electrical power will quickly fail. My PC battery back-up is good for only hours. I quit streaming the signal.
If my site visitors are depending on me to provide them with emergency information, I would have failed them for not being able to provide them with emergency info on their computers.....
You know that thought has crossed my mind as well but I'm still streaming it. I don't have backup power and my UPS is set to shut down after 5 minutes to save it's power so I can use it to run my DSL modem for use with my laptop on battery if need be. Even if I did have backup power the DSL and phones drop within a day or two without power once the batteries go dead in the remote terminal and those with cable internet suffer the same weakness probably even sooner if not immediately. Over the air radio transmission is still the best means to fall back.
Along with the weather radio I recommend people get a scanner and have it programmed to the local HAM frequencies the severe weather spotters use. Those guys are on battery power portable units and in the worse case they will be there and in this area at least one repeater still in operation that can be heard with a rubber duck antenna even if NOAA and all TV stations are off the air. The HAMS after all these years are still in my book our last line of defense when communications and electrical systems go down.
-
I agree somewhat that you shouldn't rely on an internet stream as your sole primary choice. Everyone needs a All Hazards Radio so they can't get alerted and the early warning of emergencies. With that said that, the internet stream can come in handy because if you are somewhere where you don't have a radio like work, home, etc. You can still monitor the weather if you know it is suppose to be or get bad. Worse case scenario is if the power went out, but not everything weather related is going to knock out power. I know here in Texas I get most of my listeners during Winter Weather like ice or snow is coming. Yea I know, sounds strange when we are in Tornado alley, but that just goes to show how comfortable people are with severe weather. So it can come it handy and it is something which is better then nothing.
My Wx PC is dedicated just for weather and runs three HD LCD monitors so I can monitor a lot at one time should things get hairy. Everything is running on a APC UPS should the power go out and the radio for the stream is AC powered with battery back up in the radio. I have two seperate radios in the office, one for the stream and one for my personal use. I agree with Mark though, even if you do have a weather radio it is possible in worse case scenario that the radio feed could go out and TV too like in a Hurricane or what not like has happened in Houston. So it would be a good idea to have a scanner with HAM freq programmed in.
-
Along with the weather radio I recommend people get a scanner and have it programmed to the local HAM frequencies the severe weather spotters use. Those guys are on battery power portable units and in the worse case they will be there and in this area at least one repeater still in operation that can be heard with a rubber duck antenna even if NOAA and all TV stations are off the air. The HAMS after all these years are still in my book our last line of defense when communications and electrical systems go down.
KJ4OFG thanks you for that plug... :-)
-
We (in Northern Georgia) are under a flash flood watch and hazardous weather outlook. I'm glad that no one is depending on me for streaming the All Hazards Radio.
Today, I put red warning banners on my site encouraging people to turn on their weather radios for flooding & heavy rain details.
I did the NOAA radio streaming a few years ago and quit. I'm glad that people have their own radios. Mine is a First Alert WX-167 & Radio Shack 12-152A.
-
I work for a school system here in the Atlanta area and we have weather multiple radios in the school. And surprisingly enough, we do not block Flash or Java.
I just use a link that pops up the WeatherUnderground Flash player. Clean and simple. You can find it on my website under NOAA Links, first item.
-
"the internet stream can come in handy because if you are somewhere where you don't have a radio like work, home, etc. You can still monitor the weather if you know it is suppose to be or get bad."
That was the whole idea for the WU streaming radio, to give people a heads-up about weather that is headed their way. It is not supposed to be a primary alerting device, as mentioned. When the shingles are being torn off, it is a little late to turn to the Internet for info.
The goal (although not yet achieved) is to write software that sits in the tray and talks to WU. When severe conditions are posted, the software could automatically alert the user (beeps, sounds, etc), then give them a one-click option to start streaming the radio. This would in effect put a weather radio on any PC, anywhere. The same could also be done for mobile devices like the iPhone, G-Phone, and other multimedia devices capable of streaming data.
Another important feature we want to add to the alerting software is the ability to monitor several locations. If for example, you have family in another state, you could be monitoring their location and streaming the radio from their location if bad weather arises.
Ideally, the user could set-up a configuration that tells the software exactly what type of alert to monitor, just like a SAME radio. I thought it might be a good idea to mimic the SAME codes as have the ability to update those codes over time. Custom codes would probably be simple to implement as well.
I have not found any .Net programmers that are interested in the project so I might have to write a tray application in MFC/C++. The problem, as always, is to find the time to do it. If there any C++/MFC programmers out there willing to spend some time on it (it will be freeware), let me know.
-
I spoke too soon. Starting sometime this week or over the weekend, they started blocking Flash for the school system. I'm having to jump though hoops to get it turned back on for WU.
-
Has anyone actually completed this attempt?
I mean a web page with the WU audio button on the page?
I would like to add this to my website, so I would love to get the complete code to insert into my page code.
Thanks in advance! :)
-
See if I'm doing what you're talking about. Go to daculaweather.com, click on the NOAA Links on the top menu bar, and click on the NOAA Wunderground Radio.
<a href="#" onclick="MyWindow=window.open('http://www.wunderground.com/wxradio/smallplayer.html?stationid=chrisinhoschton|197|3021','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=340,height=225'); return false;">Wunderground NOAA Radio</a>
You would need to change the stationid= section to a station close to you.
-
I'm using Carterlakes's code on my front page. Here's the code I have:
<embed type="application/x-shockwave-flash"
src="http://www.wunderground.com//radio/radio-player-v16.swf"
id="radio-player" name="radio-player" bgcolor="#ffffff"
quality="high" allowscriptaccess="always"
movie="http://www.wunderground.com/radio/radio-player-v16.swf"
;=""
flashvars="XMLMode=HTTP&strStreamURL=http%3A//www.wunderground.com/wxradio/requestxml.html%3Faction%3Dgetsinglefromallstations%26stationid%3DFCW%7C622%7C2207&autoplay=true"
height="100" width="210">
Ok, I cracked the code...
<embed
type="application/x-shockwave-flash"
src="http://www.wunderground.com//radio/radio-player-v16.swf"
id="radio-player"
name="radio-player"
bgcolor="#ffffff"
quality="high"
allowscriptaccess="always"
movie="http://www.wunderground.com/radio/radio-player-v16.swf";
flashvars="XMLMode=HTTP&strStreamURL=http%3A//www.wunderground.com/wxradio/requestxml.html%3Faction%3Dgetsinglefromallstations%26stationid%3DCarterLake%7C515%7C11&autoplay=true"
height="100"
width="210">
Where you get the station ID from is:
http://www.wunderground.com/wxradio/requestxml.html?action=getsinglefromallstations&stationid=CarterLake|515|11
(you'll have to copy/paste into a browser)
If you edit, be careful not to remove the ASCII %7C (which is ASCII for pipes | )
I currently have it up as my test page:
http://www.carterlake.org/test.php
Oh and...
According to John Celenza, Director of Weather Technology at Wunderground.
Please feel free to use Wunderground images and data on personal sites, as long as you link those images to Wunderground or give direct credit. Something like "This image courtesy of Weather Underground" is appropriate.
Be sure to give credit where credit is due.
-
See if I'm doing what you're talking about. Go to daculaweather.com, click on the NOAA Links on the top menu bar, and click on the NOAA Wunderground Radio.
<a href="#" onclick="MyWindow=window.open('http://www.wunderground.com/wxradio/smallplayer.html?stationid=chrisinhoschton|197|3021','MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=340,height=225'); return false;">Wunderground NOAA Radio</a>
You would need to change the stationid= section to a station close to you.
Thanks Steve!
That is EXACTLY what I was talking about! ;)
I got the code into my page and it is popping up the window, I couldn't figure out what the station ID was until I looked at yours and matched it to the URL I found for Atlanta! It was easy after I made that connection to find the one I needed for Sacramento Ca.!
Problem is now that when I click on the link, I get Anchorage AK! ](*,) The apparent ID for Sacramento is Xootneg - I got this by comparing the URL in your LISTEN link to the one for Sacramento. The part of the path where your ID was located is Xootneg for mine. But... It doesn't work! #-o
Here is my test page. WU Radio link is last one in right hand column in grey nav bar, top of page.
UPDATE 10/28/09
I have gone online with this now and the permanent URL is my home page:
http://basslake-weather.com (http://basslake-weather.com)
-
Hello,
I would like to embed a weather radio on my site and I would love to stream it with Weather Underground. However after reading all of the posts on Weather Underground NWS Streaming Project thread I was wondering if I could stream using my NOAA Weather Radio Midland WR-100 and I have been curious what kind of cablings do I need to use for streaming with the WR-100. However, I look forward to hear from you all soon.
Regards
Ryan
-
Hello,
I would like to embed a weather radio on my site and I would love to stream it with Weather Underground. However after reading all of the posts on Weather Underground NWS Streaming Project thread I was wondering if I could stream using my NOAA Weather Radio Midland WR-100 and I have been curious what kind of cablings do I need to use for streaming with the WR-100. However, I look forward to hear from you all soon.
Regards
Ryan
All the info you need for this is provided at Weather Underground.
Here is the link:
http://wiki.wunderground.com/index.php/NOAA_Weather_Radio (http://wiki.wunderground.com/index.php/NOAA_Weather_Radio)
Main WU Radio Page which includes the link to sign up to stream your internet re-broadcast:
http://www.wunderground.com/wxradio/index.html (http://www.wunderground.com/wxradio/index.html)
-
Thanks for the links, however, I don't think my Midland WR-100 have an audio output so I have to buy a new NOAA Weather Radio that has an audio output.
-
Thanks for the links, however, I don't think my Midland WR-100 have an audio output so I have to buy a new NOAA Weather Radio that has an audio output.
Yeah... You really do need to have that capability. Using a mic just doesn't cut it since you can never get rid of the ambient room echo unless you enclose the radio in a foam lined box, and even then, you would be forced to listen to the NOAA broadcast 24/7/365! #-o
I am using a CCRadio Plus for my broadcast source. It cost a lot more than the Midland 300, but I bought this thing years ago for the AM/FM performance and not so much for the weather band. Now that I live up here in the Sierra where our AM/FM reception is basically nill, surprisingly enough, the weather band is the only thing I can pick up with it here!
Worked out well though, since otherwise, this radio was basically useless to me. This thing also has an audio line-out, so it makes the perfect dedicated weather radio for the WU stream! I will be putting a 9 band graphic EQ in line between the radio output and the computer so I can pull some of the hiss out of the carrier. I tried software based EQ, but I was getting a lot of dithering in the stream, so I decided to try using an analog EQ upstream of the Macintosh computer I am using as my dedicated audio streamer.
I will find out if the analog EQ does the trick when it arrives tomorrow. ;)
-
i did everything from craterlakes code but I still cant get California off and Indianapolis, IN to show up
http://www.gosportwx.com/wxweatherradio.php (http://www.gosportwx.com/wxweatherradio.php)
-
Have you tried any of this? http://www.wunderground.com/wxradio/index.html
-
yea I got it working now :D sorry to bring back an old post I didn't wanna start another one due to this one existing