I need an icon for an IR blaster learning mode (ZXT-120)

I have modified my device code to make Learning Mode work on the ZXT-120.

Does anyone know of an icon that would be good to represent the IR learning mode ?

Right now I am using this one as a place holder :slight_smile:

I don’t see any here that I like
http://scripts.3dgo.net/smartthings/icons/

Heya Ron . . .

Using the custom device type you should be able to add your own icon or even better use the icon hack:

Its nearly 1am here but i knocked together some options for you, abstract but its a very obscure use case i guess 
 IR LEARNING DEVICES dont really have an icon standard as such hahaha

1.) IR & A SHEET // as if to represent rules for IR on a sheet of paper

2.) IR EAR // as if to represent listening for IR rules

3.) WAVE INTO IR // as if to represent signal going into an IR Device not out of


4.) IR & CHECKLIST // as if to represent rules for IR on a sheet of paper

5.) IR & A COGS // as if to represent rules or settings based around IR

6.) IR & PEN ON PAPER // as if to represent rules been written for IR on a sheet of paper

7.) IR WAVE & A SHEET // as if to represent rules for IR on a sheet of paper

they are all icons with the correct BLACK 30% Opacity rule of thumb, so if used they will look like the rest of your icons style wise in the phone app . . .

hope this can help

cheers

kyle

2 Likes

Nice icons but I don’t know how to use them.
I thought you have to provide an icon location as in st.Bath.bath17

standardTile(“issueLearningCommand”, “issueLearningCommand”, inactiveLabel: false, decoration: “flat”) {
state “issueLearningCommand”, label:‘learn’, action:“issueLearningCommand”, icon:“st.Bath.bath17”
}

How do I take the icon images you provided and make them available in my device code ?

The link for the hack you provided is to replace icon with device name. I am trying to add an icon to a tile within the device page.

Seen here, I want to replace the toilet paper roll place holder :slight_smile:

Simply save any of them icons you like and upload that icon to the web somewhere taking not of the url and replace the url for the toilet roll holder with the url for the IR learning one

1 Like

I have tried that in the past but it never works for me.

I placed the icon on my server. http://gouldner.net/smartthings/icons/IrPaper.png

Then changed tile to the following two attempts. Neither works.
standardTile(“issueLearningCommand”, “issueLearningCommand”, inactiveLabel: false, decoration: “flat”) {
state “issueLearningCommand”, label:‘learn’, action:“issueLearningCommand”, icon:“gouldner.net/smartthings/icons/IrPaper.png”
}
also tried
standardTile(“issueLearningCommand”, “issueLearningCommand”, inactiveLabel: false, decoration: “flat”) {
state “issueLearningCommand”, label:‘learn’, action:“issueLearningCommand”, icon:“http://gouldner.net/smartthings/icons/IrPaper.png”
}

BTW what tool do you use to create these
nice work.

1 Like

Weird that, has always worked for me, as a graphic designer i have custom iconed everythingggggggggg

Ill have to ask the help of more advanced users on this one . . . @JDRoberts @tgauchat @obycode @jody.albritton any thoughts on custom tile icons not working with direct urls ?

Ps: illustrator & photoshop

@Ron, are you using Android? The documentation says:

iOS devices support specifying a URL to a custom image.

So I guess that means it doesn’t work on Android.

1 Like

I am using android but strange part is my icon worked a few hours later.

version now working includes the http protocol
“http://gouldner.net/smartthings/icons/IrPaper.png”

@AutomateEverything could I bother you to move the icon up a bit. The text overwrites the image.

1 Like

Custom icons are hit or miss on Android. Or at least they were the last time I did serious device development. I just don’t use them now, opting for the built in icons and flat layout.

@jodyalbritton what does “hit or miss” mean ? I am on Android but the icon seems to be displaying now.

Did you find it worked for a while and then stopped or is a matter of works for some tiles and not for others ?