Hello, I am learning about SuperTiles. I am creating one that will show me the status of my Front Door, battery status of the contact sensor and the ability to show the status of the lock and to be able to lock or unlock. I added the different parts but not sure if it is working properly. I added the Lock thing with the Tap action and Mode:Toggle. I am tapping the tile but nothing is happening. Would like some help on this.
Hey Don,
For a Super Tile lock toggle, a few things trip people up:
-
In the Super Tile editor, select the lock item (or click empty space so everything is deselected, then set the action on the whole tile), set Action to Thing, pick your lock, then choose Macro: Toggle. That macro sends lock/unlock based on the current state. If you want the tap to work anywhere on the tile, the whole-tile action is the right approach.
-
Flip the Edit toggle off in the top-right so you are in Preview, then tap the item that has the action. Tap actions do not fire while Edit is still on.
-
Make sure the tap is hitting the item (or whole tile) that actually has the Thing action. Status text, or a contact/battery item with Action: None, will do nothing when tapped. If another item without an action is layered on top of the lock item, that top item intercepts the tap.
-
Save the Super Tile, add it to a dashboard, and try it from there, not only the editor. A brand new Super Tile does not set up Thing attribute event subscriptions until it is on a dashboard, so Preview can show stale device state. There is a note in Preview about that.
If Macro: Toggle still does nothing, set the action to Thing and pick lock or unlock explicitly to confirm the device responds. You can also use a Rule as the Super Tile action if you want more control.
More detail here: Super Tiles - SharpTools Knowledge Base
If it still will not move after adding it to a dashboard, a screenshot of the Super Tile action settings for the lock item helps narrow it down.
Thank you. Got it to work. Can I do the same thing with an icon. Not sure how I want to layout the tile. Looking at the different possibilities.
Yes, Icons can have actions associated with them too.
Same notes above apply around layering and making sure the icon isn’t covered up by other items…
Thank you for the help. I was able to get it to work. This is very cool. I was also able to figure how to do status messages on the SuperTile. What I was looking for was a way to have the tile pop an overlay with a message saying who unlocked the front door. After creating a variable and a rule, I got it to work as a generic message. Smartthings will send me an alert that says who opened the door but I am not able to find the element that I can pull that information from. Kind of an all or nothing thing. Its a Schlage lock. Not all the elements are exposed when trying to setup the tile.
Some locks report extra ‘data’ values and you can access those details from the triggering event.
Sometimes it just reported as the codeId based on the slot of the keypad code entered, so you might want to correlate that back to a meaningful label in an expression.