Hi SmartThings Support Team,
I am browsing in the forum and I came across with this thread
I have been playing around with the htmlTile to see if it can help me solve one of my problems. Found something interesting. You can set an htmlTile as your main and it wil render in your Things list. If you have a small ‘webpage’ , like 1 line, it will move along with the list. If it is bigger, you can scroll the page inside the list (not really convenient).
Below the snippets needed (will post a full working one later if needed. It is now part of a device handler for the Neo plug and a lot of the code is irrelevant for this post):
htmlTile(name: "tileHtml", action: "getHtml", width:6, height: 5)
main "tileHtml"
mappings {
path("/getHtml") {
action: [GET: "getHtml"]
}
}
def getHtml () {
renderHTML {
head {
"""
<style type="text/css">
body {
background-color: #79b821;
}
</s…
Is there any available documentation for htmlTile? as I have been viewing the tiles documentation it doesn’t have any about including an html code in the tiles.
Regards,
Jonathan