|
Click to Display Table of Contents Navigation: Operation > Additional features > Automatic Weather Announcements |
Updating weather data for your city
To update the weather data, create a scheduled event with the weather command, for example:
weather New York, US
weather Sydney, AU
You can include the state name in the request i.e.: weather Independence, KS, US
Set the event to repeat every 60 or 120 minutes to ensure the weather data is always up to date.
Weather data is available in variables
Current conditions |
1-day forecast |
|
?temp |
?temp_tom |
temperature (degrees Celsius) |
?temp_f |
?temp_tom_f |
temperature (degrees Fahrenheit) |
?wind_speed |
?wind_speed_tom |
wind speed (meters per second) |
?wind_speed_m |
?wind_speed_tom_m |
wind speed (miles per hour) |
?wind_speed_km |
?wind_speed_tom_km |
wind speed (kilometers per hour) |
?wind_name |
?wind_name_tom |
wind description in English (e.g. "Light Breeze") |
?humidity |
?humidity_tom |
humidity (percentage) |
?weather_text |
?weather_text_tom |
weather text (e.g. "Mostly sunny", "Cloudy", "Light Rain", "Rain and Snow") |
Automatic weather announcement using Text-to-Speech
To add TTS, in the top menu click Playlist->Extra->Add Text-To-Speech.

Phrase example:
Today is ?weather_text, temperature is ?temp degrees Celsius wind speed is ?wind_speed metres per second ?wind_name, humidity is ?humidity percent. Tomorrow ?weather_text_tom, temperature is ?temp_tom degrees Celcius ?wind_speed_tom metres per second ?wind_name_tom, humidity is ?humidity_tom percent.
Automatic weather announcements using pre-recorded files with temperature and humidity
Humidity and temperature files should be named to contain the numeric value, for example:
"TMP29.mp3" - temperature file saying "29 degrees Celsius".
"TMP-10.mp3" - "minus 10 degrees Celsius"
"HUM3.mp3" - "humidity is 3 percent"
Create a playlist with an appropriate track sequence, for instance, 3 tracks:
1. Weather intro
2. Temperature today (add one of the temperature files into the playlist)
3. Humidity today (add one of the humidity files into the playlist)
Save this playlist to a file, e.g., weather.m3u8
Open the playlist in a text editor (you can use the Notepad tab in RadioBOSS to edit the text). The file should look like this:
#EXTM3U #EXTINF:5,INTRO C:\Weather\WeatherToday.MP3 #EXTINF:2,TMP7 C:\Weather\Temp\TMP7.MP3 #EXTINF:2,HUM5 C:\WeatherAnn\Hum\HUM5.MP3 |
Change the numeric values to variables and save the file:
#EXTM3U #EXTINF:5,INTRO C:\Weather\WeatherToday.MP3 #EXTINF:2,TMP007 C:\Weather\Temp\TMP?temp.MP3 #EXTINF:2,HUM005 C:\WeatherAnn\Hum\HUM?humidity.MP3 |
Schedule this playlist to say the automatic weather announcement - on playback, RadioBOSS will substitute variables with the appropriate values, e.g., ?temp will become "20" and file name C:\Weather\Temp\TMP?temp.MP3 will be converted to C:\Weather\Temp\TMP20.MP3