Watchmaker Wiki

The ultimate watch maker for Android Wear!

User Tools

Site Tools


tips:weatherage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
tips:weatherage [2015/02/13 17:17] – created jt3tips:weatherage [2015/02/13 17:18] jt3
Line 11: Line 11:
 The obvious way to display the last update time is to simply use the {wlu} tag, but that takes up a lot of real estate, and doesn't always fit the theme of your watch.  A simple way to indicate that the weather isn't current is to change the color of one of the displayed items.  I like to use the "Current Temperature" display, since that's probably what you care most about, but it can really be *any* item. The obvious way to display the last update time is to simply use the {wlu} tag, but that takes up a lot of real estate, and doesn't always fit the theme of your watch.  A simple way to indicate that the weather isn't current is to change the color of one of the displayed items.  I like to use the "Current Temperature" display, since that's probably what you care most about, but it can really be *any* item.
  
-Simply change the tint value of that item with the formula above.  What that does is convert both the current 24-hour time and the {wlu} time to the number of elapsed minutes in the current day.  Then, it simply subtracts the {wlu} total from the time total.  This gives you the number of elapsed minutes since the last update.  If it's less than 5, the current temperature display turns yellow.  Otherwise, it's white.+Simply change the tint value of that item with the formula above.  What that does is convert both the current 24-hour time and the {wlu} time to the number of elapsed minutes in the current day.  Then, it simply subtracts the {wlu} total from the time total.  This gives you the number of elapsed minutes since the last update.  If that's less than 5, the current temperature display turns yellow.  Otherwise, it's white.
  
 This is best used with a tap action to update weather, since it can take a few seconds to actually update, and the color change will indicate when that has happened. This is best used with a tap action to update weather, since it can take a few seconds to actually update, and the color change will indicate when that has happened.
tips/weatherage.txt · Last modified: 2020/06/27 21:08 by beachbumjk