Change On to Open

Then you would need to switch it to Edge 1st.

I don’t see an option to switch it to Edge. (in the drop down list of device types)

That part is more involved.

  1. Add the needed Edge driver
  2. Exclude the switch
  3. Remove any custom DTH for that switch if it exists or comment out the finger print in the DTH.
  4. Repair the device and it should pick up the Edge Driver.

Easier option is to wait until the automatic conversion from DTH to Edge occurs over the next few months.

Thanks for the help… I’ll wait.

So, the Super tile looks pretty close to the switch tile. I’m guessing that there is no way to make the icon “glow” or “pulse” when the device is “ON” like the switch tile…(?)
-Super Tile-

-Switch Tile-

You can set glow using a theme and CSS

.tile.--theme-style-dash-active .icon  {
   -webkit-filter: drop-shadow(0 0 2px #ffc30B) drop-shadow(0 0 2px #ffc30B);
   filter: drop-shadow(0 0 2px #ffc30B) drop-shadow(0 0 2px #ffc30B);
}

Custom CSS topic

Yes, the style features exist on the Super Tile too, so you can use animations on icons. Once it’s added to a dashboard, you can edit the style mappings. The difference is you have to add in the mappings yourself since a Super Tile can have multiple data sources.

I figured out a way to make a “thing” tile that ordinarily would be “ON” or “OFF” to be “OPEN” or “CLOSED” without any driver modifications or other surgery (LOL)…

Is there a way to move the icon down on the tile or can I relocate it?

You can use CSS to move the icon. Here a link with a lot of CSS code.
[WIKI] Custom CSS snippets, verified on SharpTools

The one you want is labeled Change Icon Size for Tiles

1 Like

Where does the CSS go? I looked at a previous thread earlier today and I don’t seem to have the CSS at the bottom of the screen like in the example.

EDIT: Never mind… Turn on Advanced…

When you open your theme there is an advance button on the top right. Click that and it will open a text space at the bottom.

Make sure the tile you want to move the icon on has a specific style created or you will end up adjusting all of your icons. (I may have learned this the hard way :smiley:)

You can then isolate that style by using
.tile.--theme-style-*your style name* followed by the rest of the CSS code
Let me know if you need more help.

So… I only want to do this on 2 tiles. Is there a better way as opposed to putting this on the Theme? Maybe on just the 2 tiles somehow?

Unfortunately, no. You have to target those 2 tiles using styles.

Is there a way to copy a theme just like making a copy of a dashboard? That way I have something to work with and if it doesn’t work out, I can go back to the working one…

So… Does this CSS only work on stock icons? It seems the stock icons can be enlarged/moved with this CSS, BUT, it appears the icons I drew and uploaded to my files are not changed. Thoughts???

Yes. Create a dashboard, open the settings and select configuration. Scroll down to theme and select copy theme. Make sure the theme is applied and hit save. You can then go back into the theme and edit. Also, if you open the configuration and hold control and select edit theme it will open in a new tab and you can adjust the theme without closing and see if the changes worked in the dashboard tab.

What file type are your images? If the are svg files, using .icon svg should work. If they are png or jpeg files you can try .icon img

2 Likes

They are .svg images. I also ran them through an svg stripper to insure they could inherit the theme styles…

Can you post the CSS code?

@Terri has you pointed in the right direction. You would likely need to adjust the Custom CSS slightly as @Terri demonstrated.

.tile .icon svg {width: 35%; height: 35%; margin: 0; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}

Changing 35% to 60% to see if it works enlarges ALL the stock icons on the page, but none of the .svg icons I drew and uploaded to “files” on that same page.