I haven’t used imgur before, but it does look like the files get renamed.
Because of that… You will need to change the image references (i.e. thunderstorm = “your_file_name”) and or the file (image) extension (i.e. “png”) in the getWeatherBkgrd function.
NOTE: For imgur - Use the URL: https://i.imgur.com/
Hello everyone, Newbie here but can someone explain how do I go about loading the images to a server, I can’t seem to figure this part out to get the animated images, Thanks.
It varies, depending on the hosting provider. Most provide an “Upload” button (select files), and or a “drag and drop” option. Before you upload… Be sure to unzip the file.
NOTE : Imgur will rename the uploaded image files - You will need to update the getWeatherBkgrd function (code) to reflect the new file name(s) (i.e. thunderstorm = “new_file_name”).
Thanks for the response Michael, I am new to this so forgive my knowledge issue, I went to GitHub and tried to upload an image but it is saying they have to be less than 1mb, after unzipping to I need to do anything to the files they are named 200, 300 500 and so on, thanks.
You do not want to change the file names (200, 300, etc) - Choose a hosting service and upload the files as is. IF they get renamed… you will have to change the function variables (i.e thunderstorm = “new name”, rain = “new_name”, and so on).
You should be able to upload the images to GitHub - (100 MB Limit)
After signing up for an account and creating a repository… you should see a set of buttons inside the repository that looks like this:
Click ‘Add file’ > ‘Upload files’ which will then take you here:
Click ‘choose your files’ (which will open up the file window) and select the folder which contains the images. Then, drag the entire folder and drop it in the boxed area. After it finishes adding all the files > Scroll to the bottom and click the ‘Commit changes’ button. You should now have a folder (presumably named “images”) containing the images in your repository.
It occurred to me that… In order to get (be aware of) a possible update, you would need to visit the community on a regular basis. I’ve updated the Weather Collection widgets, to include an option to be notified (via the dashboard tile) if an update is available.
Go into the Developer Tools to update (recommended) your current version (see how above).
Note: The notification option is turned off by default. Go into the tile settings to change it (on/off).
Christian,
A couple notes on this:
The Horizontal Widget is thought to fill the width of a dashboard (max 10x)
1)You could increase the font size slightly to 1.25vw (currently 1vw) but anything larger… the text will begin to overlap.
2)The max tile dimension (width) is currently 10 - If the dashboard (width/columns) is larger than the tiles width… the font will scale relative to the dashboard, and at some point, become too small to read.
3)You could create some custom tiles that ‘split up’ the week,
Example: Create 1 custom tile for days 1-3 and a second for 4-6. The font size could then be increased appx 3X.
but if your dashboard is greater than 30 columns… you may want to consider a different solution/design approach.
There is a SmartThings driver that would give you a little more flexibility when working with a large dashboard size/columns. You would need a SmartThings account to install the handler and the app to enter the location (ie. zip code or latitude & longitude) and authorize access/add it to SharpTools.
NOTE: Enter latitude & longitude, separated by a comma (i.e. 123.456,789.123), in the zip code setting.
First off, great reply. I hadnt considered this. If this works off The weather station ide mine hasnt worked for a while, dont know why but The old or The new doesnt update The temp. Going to remove and re add this then try these Tiles.thanks again
A New version (V2) of the Weather Widget and Horizontal Weather Widget is available to download. This update includes several additional options/features and is fully customizable.
The import button(s) can be found above.
To update an earlier version
Open the Developer Tools
Select the desired Custom Tile from the list
In the code editor, tap the ‘gear’ icon and select ‘Update from Source’
Be sure to scroll down and click ‘Update’ IMPORTANT NOTE: You will need to edit the tile and update the Unit Measure(Celsius/Fahrenheit). Your API, Geo Location and Language will be saved.
Features:
Icons: Choose from 3 designs (Default/Outline, Solid, Color), with an option to animate the ‘color’ icons.
You can customize the Icon Color, Text Color, and If ‘Color’ icons are selected … ALL elements are customizable (i.e. Sun/Thunder, Raindrops, Snow, Broken Cloud).
Weather: Current condition, Forecast (Daily/Hourly), or Both.
NOTE: Tap the tile to toggle between daily and hourly forecast.
Forecast (Days/Hours): Select from 3,5,7
Display Style: View weather horizontally in a Row (across) or vertically as Columns in a row.
Themes: Select from pre-defined styles or create your own.
If you select the ‘Transparent’ or ‘Custom’ theme… You can customize the Background Color, Icon Color and Text Color. If ‘Color’ icons are selected … ALL elements are customizable (i.e. Sun/Thunder, Raindrops, Snow, Broken Cloud).
NOTE: When ‘Transparent’ is selected… the background color of the Tile will show through.
Text Size: Enter a number. NOTE: Decimals are accepted (e.g. 1.5).
I am a very new user here and can’t tell you how much I appreciate these custom tiles. I had a questions @MIchael regarding the Live Weather Widget. Have the descriptions provided from the OpenWeather API changed? I see in the code that “partly cloudy” is described, however with the API, I am starting to see different descriptions displayed (ie. “Overcast Clouds” or “Light Snow”). More of a curiousity than anything on my part.