+10
Answered: Discussion Open

Weather Tile widget generation from theweather.com

JB Bentz 9 months ago in Media Tiles / Weather & Traffic • updated 1 day ago 17

I found a new resource that could come in handy for AT.  It's a weather widget that can generate an image, rather than just html.  Its fully customization, and may work for other tile sizes.  I just started screwing around with it. check it out:

The source can be found here - https://www.theweather.com/widget/

Discuss

Great find, JB! Thanks for the share...


...Terry.

still testing some things, but it definitely works for other tile sizes too:

+1

On a related note; folks that have a web server / Ruby and some extra skills should check out this Article on creating custom Media Tiles using Weather Underground; with thanks to Jim Knight.



https://medium.com/im-building-an-app/how-to-add-dynamic-content-to-actiontiles-d9883941bd68


Hi JB,

it looks nice but I am not able to add it as tile.

could you please help me with how you added it in AT.


Thanks

Nishant

+1

Nishant,

First create a Media object, using the left-navigation column, My Media.  Then it will be available in Panel Builder to add as a Media Tile.

+1

Just as Terry said....and only copy the url  portion of the code they provide.

+1

Thanks, This worked well. I like the different styles.

Is there any way to get around the "3" tile width dimension?  I am trying to get more than 3 days in there and it ends up extremely compressed when horizontally oriented.

+1

Yeah, we really should bump up tile dimensions...

+1

make sure you use the "image" option, and only copy the image URL...not the preceding code.

It should look like:  "https://www.theweather.com/wimages/foto72e6d565de9dfdfefb9b7c0c93b0938c.png"

sorted now i just forgot to put the 'png' at the end. stupid and silly mistake

image option???  Sorry, im new at this.  1st day in.

My tile doesn't expand to 3 wide even though it is configured to do so.





Answered: Discussion Open

You are likely just encountering this "known issue"; which has a workaround that might apply to you:


If the above workaround doesn't help, please write to Support@ActionTiles.com rather than extending here off-topic. Thanks!

Is there any way to manually edit the hex color of the background? I can change the hex numbers on the website, but it doesn't seem to do anything. I'm using an eyedropper to match the hex color of another tile.

I don't think so.  The hex code changes based on the color that you choose.  It appears that you can change the hex code yourself, but even when you do, it doesn't change the color to match.  I have just stuck with the set of ~20 colors that they have predefined.