Awesome, thanks!!!
Details on how you got the all that to work? I donāt have any experience with the Fire, so I donāt know if thatās a native function or if you had to change something somehowā¦please share, if you donāt mind.
Reader digest version: (since Iām on my phone)
- Create virtual switch in smartthings, control that switch value in smartthings.
- use sharptools to subscribe to that switch.
- use sharptools tasker plugin to set a variable in tasker to follow virtual switch.
- use the tasker variable in the tasker profile that controls screen abilities.
I know thatās basic. I think itās pretty close to that.
Cool, thanks!
What is the CSS code for the music player tiles?
Can we make them vertical versus horizontal?
Has anyone done anything cool with these?
Is there still an easy way to hand off a link to someone so they can see the status of things (pref/security/view only) on a wall tablet ā¦ without having to have, and login to a smartthings account? I want to give access to see things like data center temperature, etc, but I donāt want them logging in and turning on and off the bathroom lights for practical jokes. Or is it totally locked down for 3rd party Oauth stuff now?
do I need to write my own little mini-smart tiles for a few bits of status and do the oauth myself?
Iāll have access to the tablet and a computer to type on later tonight if you need more details.
As of 5.8 this is how it is. SmartTiles V6 will have a feature to share dashboards, but it wonāt be available at launch.
Thanks Alex!
Banging my head against the wall and canāt seem to find an answer anywhere, I simply have a custom Mode in SmartThings called āDog Walkingā. I love smartTiles, but of course āDog Walkingā is not usable as a CSS class or element as it has a space in it. Iām trying to change the icon displayed when in the āDog Walkingā mode using the custom CSS feature but have had no luck.
Iāve tried:
.icon.Dog_Walking i::before {content: url(āhttp://cdn.device-icons.smartthings.com/Kids/kids3-icn@2x.pngā);}
.icon.Dog-Walking i::before {content: url(āhttp://cdn.device-icons.smartthings.com/Kids/kids3-icn@2x.pngā);}
.icon.Dog.Walking i::before {content: url(āhttp://cdn.device-icons.smartthings.com/Kids/kids3-icn@2x.pngā);}
.icon.Dog i::before {content: url(āhttp://cdn.device-icons.smartthings.com/Kids/kids3-icn@2x.pngā);}
.icon.Dog Walking i::before {content: url(āhttp://cdn.device-icons.smartthings.com/Kids/kids3-icn@2x.pngā);}
but of course none of those work. How would one get the SmartTiles app to correctly tag modes that have spaces? ā¦or will this be an enhancement request?
Thanks in advance!
Chris
Iām pretty new to SmartThings (Iām on about week 2 with my hub) and definitely new to SmartTiles (just installed late last week). I stumbled across your comment as I was looking into how complicated messing with CSS would beā¦ Iāve been in IT forever including programming so Iām definitely not a Luddite but Iād be more than happy to help if you need a female guinea pig
Maybe someone can help me? Iām trying to put text on a momentary button vice the icon. It wonāt do it. Keeps defaulting to the standard icon.
I can take the same CSS code change=> .tile.momentary to .tile.switch and text displays.
Can you NOT put text as the icon for a momentary switch?
@TN_Oldman,
Try this code snippet:
.momentary.active[data-device='Device-Code'] .fa:before {opacity: 0.8!important; color:gold; content:"TT";}
.momentary[data-device='Device-Code'] .fa:before {opacity: 1!important; color:#4682b4; content:"TT";}
The first code is active mode of the momentary switch is the default view of the button. Pressing it gets you the second piece of code, which is only visible for a few seconds while the button action is being processed.
Thanks, Iāll try it tonight.
I see where I possibly was off on my testing.
Thanks for the quick reply. Best part about this group. So many smart helpful people.
@DarcRanger Thanks again. Used your suggestion to get the results I wanted.
Hi there. I am currently trying to set this CSS without any luck:
.tile.momentary [data-device=āeeec51c0-eb2d-4848-af67-0ed9af4a159dā] {background-color: white;}
If I remove data-device part in square brackets then all momentary switches become white. The device ID is the one I took from the IDE Log view that appears when pressing the momentary switch. I also checked the source of the dashboard page and the same device ID appears there for the momentary switch I am after. What could I be doing wrong here?
Try removing the space between momentary and [data-deviceā¦].
It should look like this:
tile.momentary[data-device=āeeec51c0-eb2d-4848-af67-0ed9af4a159dā] {background-color: white;}
Otherwise look for another code snippet that changes the background color of the momentary tile.
I second what @DarcRanger said:
I would also stress to remove the quotes and retype them too as some text editors donāt transfer properly into the custom CSS.
I did one of my devices to test out the string, you will notice I used the double quote for mine:
.tile.momentary[data-device=ā31f1a2e5-9e54-4903-a8d2-58ca148a1de5ā] {background-color: white;}
Been there. Thatās where I started. I was using the wrong CSS for the active and inactive state. The Custom CSS page didnāt have the breadcrumb I needed for momentary buttons. (Or I missed it)
Read some forums, google searches and tried a few things on my own before I asked. I knew @DarcRanger or someone would know the answer. That page is VERY HELPFUL for a rookie like me trying to learn. I have used it as a guide for MOST of the stuff Iāve done. I appreciate the people who sacrifice their time to make guides for people like me.
Woman here! Happy to beta test. House full of us