Using your own URL for Smart App icon?


(Justin Eltoft) #1

Continuing the discussion from SmartApp with user selected Icon:

So I just now tried both dropbox and google drive to create my own icons. I don’t currently have other webspace setup already that I can use to store some icons. I created both a 120x120 @2x and the normal 60x60 size icon, and they were pngs just like the standard SmartThings ones. But neither worked.

Anyone know if it’s just not possible to use your own URL for the iconUrl and icon2XUrl options in a smart app?


(Geko) #2

Your icons are already on Github. What other webspace do you need? :smile:


(Justin Eltoft) #3

Well, true, but those aren’t my icons. Those are their icons, just downloaded for viewing convenience. I tried dropbox and google drive, but I will try github now for my own.


(Convinced ST will never be unbroken…) #4

My icons are hosted on an http server at 256px and 512px (@2x) and display fine.


(Tony - SmartThings Unpublished Contributor ) #5

I use dropbox to host my icons. Never had a problem.


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #6

My icons work fine, hosted on personal webspace, but I assume any URL that doesn’t require authentication is fine (yet risk performance delays without a CDN like Amazon…).

http://www.cosmicpuppy.com/SmartThingsAssets/

…CP / Terry.


(Dave Thomas) #7

Can you tell me how you use dropbox to host your icons? I uploaded a test icon to my dropbox and created a link but using it in place of the ST link for my standard tile doesn’t show anything on the UI.


(Tony - SmartThings Unpublished Contributor ) #8

You have to add a line to the definitions section of your smartapp or DTH.

iconUrl: “https://dl.dropboxusercontent.com/u/[YOUR DROPBOX USER CODE]/[FILE NAME]” <

You can get that URL by finding the desired icon via your web browser.