Weather Tile - Open Weather - Current and Forecast

Yes! That sounds like the summary of it!

And if anyone is a developer and wants to take a stab at using the /forecast endpoint and aggregating the data into a daily format, I would welcome it! That would probably make things easier for everyone else!

1 Like

This is great !..since Sharptools migration, Weather DTH is not working anymore :confounded:, but now Open Weather Custom Tile is doing great…

Also, based on HTML code I did a simple tile for my mobile dashboard…(test and fail method)

But I would like to go forward…but my very poor skills in HTML make me not the right person, I understand code logic, but I do not get HTML logic and commands at all…so anyone can helps me and play with these designs?..I can invite to him/her any beers as you ask !! :grin: :beers: or guide me with some tips about how to try them at least…




Is there a way to pull weather alerts / statements via OpenWeather? e.g. - “Tornado Warning”, “Snow Flurries”, “Severe Thunderstorm Watch”, etc

In theory, this custom tile could be edited to display any data from Open Weather. If you decide to take a stab at it, feel free to share your changes here so other community members can benefit from it.

Alternatively, some community members have been doing this with the HTTP Action in SharpTools rules so they can grab specific things from Open Weather and store them in variables either for display on their dashboards or for use within rules:


I’d like to adjust the openweather custom tile in the first post but am having some trouble with the html code. Would anyone be willing to provide some guidance?

I want the Right image to look like the left image.

I can get the entire value to move but cannot seem to isolate moving the icon left and down

I am having a hard time adding the weather tile. I have followed all the steps, but I can’t see the weather. I am using Amazon Fire HD 10 tablet. Any help will be greatly appreciated.


Did you select edit and enter your weather API key, latitude, and longitude?

Yes, I did enter the API key, latitude, and longitude.

Welcome to the community and thanks for posting!

As noted in the instructions, one thing to look out for is you should NOT edit the settings displayed immediately after the import as those are where a developer defines which settings are shown in the tile editor. After importing, you should immediately scroll down and save and then go to a dashboard and add the custom tile to your dashboard. You would edit the tile on the dashboard and enter the settings there.

Also make note of the comment from Damian (linked in the first post) that you have to tweak things to use the V3 OneCall and sign up for that on the Open Weather site.


I just finished all the steps and still have a similar problem. This time the tile looks a little different.

Do you have a computer to test with? If so, does it work there?

If not, can you please share screenshots of the Custom Tile Developer screen showing the settings section along with a screenshot of the configuration of the tile on the dashboard?

Edit: was the previous screenshot where you saw the relatively blank purple tile with no values on the same device? If you edited the code to support v3, I suspect something probably went wrong there. I’ll have another version out this evening that directly supports v3 if you want to wait.

I’ve just pushed an update to better support the new and old Open Weather API keys.

This introduces a new ‘API Preference’ option which allows you to choose from:


  • 2-5multi - the new default as it’s the most compatible with old and new API keys
  • 2-5onecall - if you have an old OpenWeather API key, this gets you 2 more days of forecast
  • 3-0onecall - if you’ve explicitly subscribed to the ‘One Call by Call’ subscription plan in Open Weather, this gets you 2 more days of forecast

You can use the steps here to update to the latest code to get the new API Preference option.

There’s also a significant difference in the current day’s High/Low value between multi and onecall API preferences. For the onecall API, it’s the low and high for the day… whereas with the multi it’s the regional high/low for that point in time. I’m tempted to drop the H/L value from the current day when not using the ‘OneCall’ endpoint as I think the indicator could be confusing – thoughts?

If today’s high/low value is significant to you, feel free to sign up for the OneCall subscription and use that it includes a ‘daily’ forecast value which is otherwise unavailable on the free tier.

OneCall API top, Multi API bottom

Another minor difference is the forecast icons - since the multi API Preference aggregates data from the ‘every 3 hour’ forecast, it picks the icon that occurs most often in the 3 hour forecasts for that day. I’m open to suggestions for alternative logic if someone has a better idea. :slight_smile:


As a OneCall 3.0 user, thank you! This is a terrific update. It’s much more complete, as well as more accurate.

5 posts were merged into an existing topic: Rules to query the Open Weather API

6 posts were merged into an existing topic: Rules to query the Open Weather API

Set this up the other day and its working great. I have it on a 2x2 tile and have realized that the future days forecast is too small on my tablet and would prefer to just see the current temp in large font, the day’s forecasted high/low, rain % and wind speed on a 2x2 tile so that the current temp could be seen from 4’ to 6’ away on my 7" tablet and the other details visible as walking out the door to know if we need to grab a coat for the day or an umbrella. Simlar sizing to the 2x2 date/time tile. Would also prefer it to follow my dashboard theme for a cohesive design. Does anyone have the code for this already? I tried looking at the code for this tile and immediately knew it was gonna be an excessive number of manhours for me fumbling through trying to modify it.

This is great. Works well.

Just out of curiosity, do we know what the “2” in a mustard color box next to “Feels Like” Means?

It’s air quality index.

1 Like

Yes, it’s AQI. And the Air Quality Index only shows up if you check the box for it in the tile’s settings, so you can uncheck it if you don’t want to

1 Like

Doh! Thanks. Had that turned on. Now that I know what it is, I will keepit.

1 Like