After weeks of coding, debugging, and testing, it is finally ready to go live. free version 1.0Weather script system
What does WSS do?
creates a 45-60 second wav file of a voice reading the local weather or any weather station on earth. includes death valley(125F) and Antarctica(-85F) codes for your amusement.
play the wav on sam and have live local weather on your station
I use a commercial voice. you can test this same voice in your setup. a link for it is in the zip package. this is Much better than the free google voice. worth the $35 price should you chose to license it. but you can use any sapi4 of sapi5 voice. the test voice is full version one. not a trial so no restrictions. I am only providing a link. not my file. i will be looking at ava a new voice soon. try nextup.com for comm voices.
cheaper than paying a weather person
....automatic, you control when.
how does WSS work?
a script you schedule to run on your pc.
Uses the API from Weatherunderground.com
gets the xml data from a station
reads the data
creates a text file (you could read it live of you want)
converts the text file to a wav file using a free speech engine.
you play the file same way you play a song using a pal or event or what ever.
fast too, script takes less than 10 seconds to pull data and create a new updated wav.
this uses the API so is not dependent on any rss feeds or webpage layouts.
fully XML based data stream and microsoft VBS. futureproof.
ver 1.0 includes
intro and outro phrases
city and area
metorologist name plus
reads, depending on time of day
sky conditions- like clear, partly cloudy, and thunderstorm- not sure about the sky condition "volcanic ash" though. if you hear that one...run away.
wind speed,dir, and gusts mph
feels like temp
air pressure and trend
sunrise sunset to sunrise
UV index 10-4
dew point 4 to midnight
forcast for the day mornings to 10
forcast for night 3-midnight
forcast for tomorrow 3- midnight
What do i need?
free api key from weather underground, link is in setup
free voice engine software from balabolka, link is in setup
at least one voice installed test voice link is in setup
wget for windows- comes installed in zip but link to install exe in setup.
WSS script in zip package. includes a backup in case you screw it up
setup instructions in zip.
how do i get WSS?
download the zip file, unpack and read the setup file. it explains how to setup and configure. includes download links to everything you need, including a voice file.
how to install? simple
read the setup text file. it tells you how to
download and install voice and engine.
get wu api key.
set your file paths, station id, wu key, city, dj intro and outro.
setup a scheduler job to run WSS every hour.
setup sam to play the wav file when you want the weather on your station.
The script has been tested for many things that can go wrong and is very robust. it has error control, debugging, err logging, and data checking. If a station is down it will report nicely to check back later. if a data item is not working it will not include it in the text. tested with a dozen stations.
parse "F" from temps in forecast should say degrees (api issue)
record high, and lows, and year set (data set working already)
forecast for days 3 and 4 option(data set working)
external config file.
dj name changing from text file that sam can create.
random outro phrase. change the comments around
Alerts like tornado and thunderstorm.
metric units? if demand
Download ver 1.0https://www.box.com/s/cczk3o0zazqfhxsslgpr
Sample of sound file created for broadcasthttps://www.box.com/s/hcidbycpgnekfkg8t7xd
If you use it please support. i have 100+ hours in it already
paypal donations accepted firstname.lastname@example.org
Give it try let me know how its working.