This is a set of widgets that call the OpenWeather API
Admin Note: The author is no longer supporting this custom tile or sharing the code. They’ve indicated that anyone who already has it can continue to use it, but others should seek an alternative solution. We thank them for their contributions.You might be interested in this alternative:
The One Call API provides the following weather data for any geographical coordinates (latitude and longitude):
- Current weather
- Minute forecast for 1 hour
- Hourly forecast for 48 hours
- Daily forecast for 7 days
- National weather alerts
Weather Widget
7 Day Forecast and Current Conditions
Options include: Unit Measure (Celsius/Fahrenheit), Language, Time Format (12HR, 24HR), Weather (Forecast, Include Current Conditions), Icon Style (Outline, Solid, Color), Icon Animation, Icon Color, Icon (color) Elements (Sun/Thunder, Raindrops, Snow, Broken Cloud), Text Color, Widget Notification.
TIP: Tap (click) on the tile to toggle the forecast (hourly/daily).
Live Weather Widget
Background updates based on current conditions and time of day (sunset).
Options include: Daily or Hourly Forecast, Background Image, Text Colors, Clock, Navigation (back) button, Unit Measure (Celsius/Fahrenheit), Language, Widget Notification.
TIP: Tap (click) somewhere (middle/upper area) on the tile to change (toggle) the forecast (hourly/daily) view ‘on-the-fly’.
NOTE : Background images are not required to use this tile. If the option if not selected, the background color will change based on current weather conditions and time of day.
Background Images (click zip file)
IMPORTANT : Upload image files to a hosting service - Do not rename the provided images. If you decide to use your own/rename images, you will need to update the getWeatherBkgrd function to reflect the file name(s) and or extension (i.e. thunderstorm = “your_file_name”).
Horizontal (Header/Footer) Weather Widget
Forecast and/or Current Conditions
Options include: Unit Measure (Celsius/Fahrenheit), Language, Time Format (12HR, 24HR), Weather (Current, Forecast, Both), Forecast Days/Hours (3, 5, 7), Display (Column, Row), Icon Style (Outline, Solid, Color), Icon Animation, Themes, Background Color, Icon Color, Icon (color) Elements (Sun/Thunder, Moon, Raindrops, Snow, Broken Cloud), Text Color, Text Size, Widget Notification.
TIP: Tap (click) on the tile to toggle the forecast (hourly/daily).
NOTE: Custom Background Color must be entered as a hex value (e.g. #2196f3)
Post-it Note Weather Widget
The days weather forecast in a ‘Post-it note’
Options include: Post-it Note Color, Text Color, Font Style (Plain/Cursive), Text Size, Note Angle, Personal Message, Widget Notification.
Note: English only
TIPS:
-
Tap on the tile (toggle) to view more details and get the current conditions.
-
Edit the tile (Style) and set the background color to transparent and turn shadow off.
Analog Clock Weather Widget
An Analog Clock and Weather Forecast (includes current conditions)
Options include: Language, Unit Measure (Celsius/Fahrenheit), Clock Display (Temperature, Time, Both, None), Time Format (12HR, 24HR, Roman Numerals), Time Opacity, Time Text Size, Icon Style (Outline, Solid), Icon Color, Face Style (Solid, Weather Ambience, Wood Grain, Transparent), Face Color, Clock Hands (color), Second Hand (color), Widget Notification.
TIPS/NOTE:
-
Tap (click) on the tile to toggle the weather (forecast/current condition).
-
The Weather Ambience (Face Style) setting will display a color based on the current conditions and time of day.
-
Edit the tile (Style) and set the background color to transparent.
Setup
-
An API key is required to use the tile(s). Go to OpenWeather for information and signup.
-
Click the import button above to install the Weather Widget Tile into your SharpTools account and click Save
-
Add the tile to your dashboard, click edit, and enter the required information (API Key, Latitude, Longitude) and optional display options in the tile settings.
Default Settings:
Unit measure: Fahrenheit
Language: English (en)
Text/Icon Color: White
Note : The notification option is turned ON by default.
Quick Language Reference Guide: English: en, Spanish: es, German: de, French: fr
Supported language codes (click to expand)
• ar - Arabic
• bg - Bulgarian
• ca - Catalan
• da - Danish
• de - German
• el - Greek
• en - English
• fa - Persian (Farsi)
• fi - Finnish
• fr - French
• he - Hebrew
• hi - Hindi
• hr - Croatian
• hu - Hungarian
• id - Indonesian
• it - Italian
• ja - Japanese
• lt - Lithuanian
• no - Norwegian
• nl - Dutch
• pl - Polish
• pt - Portuguese
• ro - Romanian
• ru - Russian
• sv - Swedish
• sk - Slovak
• sl - Slovenian
• es - Spanish
• sr - Serbian
• th - Thai
• tr - Turkish
• uk - Ukrainian
• vi - Vietnamese
• zh - Chinese