Here are the screenshots I promised!
These are some of the features I have coded into the module.
1. Full city and country or state name is displayed.
2. Added text display of current conditions.
3. Added 'Feels Like' temperature.
4. Added probability of precipitation for each day.
5. Units of measure is now stored in a global variable. Which
gives you the capability to switch between metric and standard
units on the fly. A reboot or re-install will default back to the
units you set in the 'Parameters' page.
6. Added some code to keep the city from reverting to the default (1)
when switching between metric and standard units.
7. The 5-day forecast data will display the average forecasted icon and
text description up until 2:00pm local time. Between 2:00pm and time
of sunset the current conditions data is to be used. After sunset,
the night time forecast will be displayed. The reason for this is that
forecasted data for the day is no longer available after 2:00pm and
will only display an 'N/A' for both.
8. Can switch between day and night forecast by pressing on the day
button situated beside the '°C' button. The button will change to a
moon and stars image to let you know you are viewing night data.
9. If the length of the string for the weather text is too long, the
short-form data string will be used.
10. Changed the graphics and layout and also used larger weather icons
from
www.weather.com. To be redone from scratch at a later date.
11. Used the new 'stretchImage' command to alter the size of the icons
when necessary.
12. More detailed information about today's weather including the phase
of the moon can be displayed in a pop-up window.
Currently working on figuring out the phases of the moon that can be obtained form the feed. I have figured out the following so far.
1. There are a total of 30 icons (numbered 0 to 29)
2. There are 8 text descriptions for the phases
a) New Moon
b) Waxing Crescent
c) First Quarter
d) Waxing Gibbous
e) Full Moon
f) Waning Gibbous
g) Last Quarter
h) Waning Crescent
3. I believe I have figured out the pattern of distribution of the icons between the 8 phases. I will confirm it over the next couple of weeks and create the appropriate icons to be displayed.
So far everything is functioning correctly. I am testing some code to store the high temp for the day, so that it is still available after 2:00pm when that data is no longer published by the weather channel.