Changes

From Amahi Wiki
Jump to: navigation, search
367 bytes added ,  02:29, 2 September 2009
no edit summary
[[Category:Apps]]
 
HAMWeather should run out of the box; however, the "Current Conditions" section may have a bunch of N/As listed. If you don't, don't worry about this - you're fine. If you do, it's because the database doesn't know the closest airport to you (where it gets the current temp info from).
These instructions If you get N/As, there are for the unregistered version (which two options. The first is what to register; the app installs). If you register, they send developer will set you up with a database update with make all this unnecessaryevery US city and the closest airport, with no work on your part. See their website for details. After installing the file, you'll need to download this script:http://wiki.amahi.org/images/e/e8/Install_pt2.sh Note where you save it, and then (as root) run the following:
chmod The alternative, if you're in the US, is to run a+x install_pt2script to let the program know the closest airport to you.shThe script is created in the directory below html - by default, /var/hda/web-apps/weather/
To run it, type:
The ICAO identifier for your airport in the US is the 3-letter identifier (i.e., ORD for Chicago O'Hare) with a K at the front (KORD). Pick the airport closest to you.
Once you're done, you can delete the install_pt2.sh file, since you're done. If you want to add extra cities in the future, don't delete it - you can re-run it with different cities and airports.
If your city isn't found by the scriptor you're outside the US, you can follow the directions below.
If you're outside the US or To add your city isn't foundinformation, you need to edit the SQL database, using the instructions from:
http://www.hamweather.com/kb/index.php?article=21
and
http://www.hamweather.com/kb/index.php?article=20
The easiest way to do this is using phpMyAdmin (another webapp), which lets you modify the MySQL database. To do this, you need the 4 letter ICAO abbreviation for the airport closest to you. If you live in the US, it's going to be "K" followed by the 3-letter airport abbreviation - i.e., for Gainesville, it's "KGNV" instead of just GNV.
An alternative is to register HAMWeather - http://www.hamweather.com/hw3/store/, in which case they'll send you a complete database that is already updated.
 
=Template Help=
If anyone is good with HTML, PHP, and CSS, it'd be awesome to get a better-looking default template for Amahi. The HAMWeather site talks a little about customization here:
http://www.hamweather.com/kb/index.php?help=yes&article=18
54

edits