New to SmartThings, just bought it a week ago. I wasn’t a fan of the original app design and wanted something more convenient that required less clicks to accomplish a task. After going through this community I found SmartTiles and thought it was the perfect solution for me. After getting it setup I modified the CSS a bit and came up with this:
I went through some SmartTile themes shared and didn’t see anything like this so I thought I’d share mine to show the possibilities. The images used are not mine, they are just images found using google images so I can’t take credit for them. Enjoy!
Would love to know if what you did for CSS was just attach an image type to a device type in the CSS. It looks like you can read it, but curious if you dimmed photo for off and full color for on. (that was what I had been thinking about doing)
@ehoffman73 that’s correct, I assigned an image to each device and then used CSS to overlay a black tint.
Here is a sample of my css:
.tile.light[data-device=‘PASTE DEVICE ID HERE’] {background-image: url(“URL OF IMAGE HERE”); background-size:cover; box-shadow: 0px 375px rgba(0, 0, 0, 0.4) inset;}
The last part with the rgba is the black overlay with an opacity of 0.4 … 1 is all black and 0 is fully transparent, just keep changing the number until it’s to your liking.
Would you mind sharing what CSS you used to get the 3x width tile at the top. I’m assuming it’s a blank tile which doesn’t appear to have a “data-type” property
/hide the icon on the tile/
.hello-home .icon {visibility: hidden;}
/hide the text on the tile/
.hello-home .title {visibility: hidden;}
If you want the tile to span only 2 tiles wide you change the width from 375px to 300px. If you want it to be only 1 row high, remove “height: 300px;” from the code.
How do you change that line to change the overlay based on active/inactive status? For example, if active, change overlay to 0 but if inactive, change overlay to 0.5.
My CSS is just a repetition of this code for each device, just changing the “data-device” id and background-image URL. Then I arrange everything using the Arrange Tiles option that SmartTiles comes with.
And that makes sense. Would’ve been nice to just get your pictures then because I really like them For your first big tile, how did you change the font? It looks cool.
The pictures were found using google image search. I have them uploaded to a private server for personal use. Since these aren’t my photos I do not want to get in trouble for redistributing them. This is one of the reasons why I’m avoiding sharing my entire CSS code, I’d like to keep my device IDs and URLs private.
As for the big tile, I made the photo myself using Photoshop. The dimensions are 600x375 px.
If so do you have any other screen shots, maybe like a tablet view or browser view, as well as the CSS code you used that you can share? If you do, please PM me with that info.