The MythWeather module will obtain the weather information for the location that you specify. You must be running the CVS version of MythTV in order to use MythWeather.
Change into the MythWeather directory, then make and make install:
$ cd mythweather
$ make
$ su
# make install
# exit
MythWeather uses MSNBC.com as its source for weather data.
These are the keyboard commands for MythWeather:
Left Key Goes back one page, and extends the time spent
on the page you are on.
Right Key Goes forward one page, see above.
Space Pause, wait on the current page until space is hit
again.
Numeric Keys You can check other weather by keying in other ZIP codes.
Enter Key Switch between Celsius and Fahrenheit. Can also
be used a way to force a data update.
"m" Key Resets the location to the database default, then updates the data.
"i" Enter / Save settings
ESC Exit the settings screen without saving / Exit the program
MythWeather also has an "Aggressiveness" setting. This affects how long MythWeather waits for data from the msnbc.com website before timing out. If you are on a slow connection, or have a slow DNS, or MythWeather just doesn't seem to be working and you've already tried everything else, then try increasing the aggressiveness level parameter. This parameter is inverse; a higher number actually means that MythWeather will be less aggressive, and will therefore wait longer before timing out.
MythWeather will print debugging information on the terminal. If you wish to see additional debugging information while MythWeather is running, you'll need to modify the source and recompile.
Open file weather.cpp
and go to line 40. You should see debug =
false
. Change this to true, go back to the main mythweather directory
and run make clean distclean; make
then switch to superuser and run
make install
. MythWeather will now print additional data to the
terminal to allow you to troubleshoot MythWeather issues.