[RELEASE] Tile Master - Display multiple devices that can be Controlled from the tile!

Use a VPN.

none that i'm aware of. this applies to any images used, hosted internally or externally. once you're accessing it over the cloud, it won't use the images.

as @672southmain, if you use a VPN, you'll be put on your LAN and the images will appear

New to loading user APPs and Drivers , when i go to save it won't with TM2 and TM2 Child
Reports problem on line 57 on one, and Line 62 on the other. So what am i doing wrong.

Metadata Error: Parent App 'BPTWorld:Tile Master 2' not found on line 57
}

definition(
name: "Tile Master 2 Child",
namespace: "BPTWorld",
author: "Bryan Turcotte",
description: "Create a tile with multiple devices and customization options.",
category: "",
parent: "BPTWorld:Tile Master 2",
iconUrl: "",
iconX2Url: "",
iconX3Url: "",
importUrl: "https://raw.githubusercontent.com/bptworld/Hubitat/master/Apps/Tile%20Master/TM2-child.groovy",
)

With user apps and drivers, the parent app always needs to be saved first. This is found in the HE Docs (link on top of every forum page) or visit my GitHub and look in the Docs folder for my instructions.

Thanks

Is anyone trying to use the new hub mesh in 2.2.4 to virtualize TM2 tiles across hubs? Think I’m going to give it a try.

I LOVE what TM2 has done for my dashboards, but I’ve found the app consumes a lot of hub processing time and I have a fair number of TM tiles. So I’m thinking of moving all the TM apps over to a separate lightly used hub that I have and then passing only the resulting tile device to my main hub for dashboarding.

Just spitballing. Thoughts?

Hi, I’ve been playing around with TileMaster to display some air quality info on a single tile. I wanted to color the text based upon AirQuality, there is more than 2 available options though, would it be possible to add more than 2 conditions for colouring?

Also, i it possible to reduce the vertical space somehow? I’ve tried the vertical alignment options, but that doesn’t seem to make a difference. The tile to the left is Cobra’s supertile and the one to the right with the green text is Tile Master.

Thanks for all the work on this and your other apps!

1 Like

Sorry, the tile is what it is. Choice is good, use the one that best suites your needs.

Dan,
In these "things to check" instructions, it says-

  • Be sure to go into the Device and visually CHECK to make sure the Attribute actually contains the data you want to display on the tile

There nothing on the device page that reads "Attribute"

It may seem elementary to the experienced, but in all of the Hubitat documentation there is no explanation (for dummies) about the relationship between Attributes, State Variables, and Current State. (I assume they are somehow related and connected.)

1 Like

Relatively new to the community, but figuring things out pretty well. Trying to make a tile for my garage door opener that contains more info than the standard tile, while retaining control capability. I've had good success for the most part, have created the tile the way I want, with the info and colors I set out for. I can also control the door both up and down using local control. But when I try to use cloud based control, I am only able to open the door. Once the door is open, the close command is not working.

Interestingly, I can take the Close Maker URL and manually type it into the browser, and it works perfectly. But when I try to execute that command from within the Child App, I get no response. If I hover my mouse over the icon in this state, I do not get the correct URL showing. Instead, it shows something of the form "[HUB LAN ID]/apps/api/15/dasboard/null". Obviously that is not going to do what I need.

I am searching high and low trying to figure out why the app would have created the link perfectly correctly for the open command, but not for the close command. Cannot find anything. Can anybody help point me in the right direction?

Thanks,
Jerry

Quick update... I changed the app to specify the URLs using Bitly, and now it works. Seems strange, wondering if the close URL is bumping up against a text string length limit? The close URL is only one character longer than the open lURL, so would have to be right at the very edge. The local URLs are shorter and both work, so maybe?

@furom you could try Formatted Date and Time on Dashboard Tiles works great and very flexible

2 Likes

Hey Bryan, thought you might appreciate knowing about this edge case....

If you have a string variable on a tile, and the variable contains a comma (the value not the name), weird stuff happens with the formatting of the title. I'm solving for it by (duh) NOT using commas in the string variables. Probably dumb for me to use reserved characters to begin with. Figured you'd wanna know fwiw.

As long as I'm at it, I'm attaching my main dashboard below so folks can see what one can do with Tile Master. I recognize that most folks aren't big fans of Hubitat's dashboard, but with TM you can do some pretty good stuff! L O V E T H I S A P P ....

Bryan, you can see in the red oval (bottom center) where the formatting went a little haywire.

P.S. I was updating all my hubs when I took the above snapshot. That explains why there are so many announcements saying that hubs are "down". It's really not that bad! :slight_smile:

3 Likes

Hi Bryan,

Great app, thanks! I'm just getting into the groove consolidating info into more compact tiles with this tool. One question I've encountered that I can't for the life of me figure out:

Is it possible to extract and display the hub's current mode (e.g. Day, Evening, Night...)?

Follow-up question: I'd like to assign a series of icons to my Thermostat's thermostatOperatingState property. From what I can tell this enum has 5 values: heating, heat pending, idle, cool pending, and cooling. However, when I select this attribute and then select the option to use icons in place of displaying the value, it only gives me an option for two icons. Is this a limitation of TM or did I mess up somehow?

New version on GitHub...
2.4.9 - 12/02/20 - Added current mode wildcard

Yes, there are only two icon options per device. This won't change, sorry.

1 Like

I'm speachless at your response time... WOW! Thanks for the mode wildcard... it works well. Too bad about the icon limitation... looks like I'll have to get creative. If I think of something I'll be sure to post the solution.

1 Like

OK I cobbled together a solution that gets me 1 extra icon. Read on if you care to see how a novice got the job done... I've hidden the solution so it won't bore everyone to death.

Summary

TM2 allows 3 icons for numeric-valued properties, so I took a copy of @bravenel 's code that converts a contact sensor to a motion sensor and modified it to parse the thermostatOperatingState enum from a thermostat and assign a numeric value, which I then store in a virtual temperature sensor. Here's how it operates:

  1. create a virtual temperature sensor as an integer storage device
  2. subscribe to the thermostatOperatingState of a thermostat device and parse the enum into bins:
    a) "cooling" and "pending cool" are assigned a value of 0
    b) "idle", "fan only", and "vent economizer" are assigned a value of 2
    c) "heating" and "pending heat" are assigned a value of 4
  3. When setting up my tile in TM2, I select the virtual temperature sensor and not the thermostat device. This lets me flip the switch to get the 3rd icon, since the only available property (temperature) is numeric.
  4. I set a "low" threshold of 1 and a "high" threshold of 3, and then assign icons for cooling, fan/idle, and heating.
  5. Profit!

Code is here. I make no guarantees it'll be interesting or useful to anyone but me... however, if you're looking for a way to get Tile Master to select between 3 icons based on an enum-typed device property, this is one way to go.

Here's the tile I created. It shows hub mode, thermostat mode (heating or cooling), current thermostat activity (3 values: "heating," "idle," and "cooling"), and the state of an Ecolink contact sensor I've converted into a power monitoring device.
combo_tile

The other two icons for the activity column:
heating cooling

Cheers!

3 Likes

forgive me but I'm clueless. I tried doing some cursory searches but got nothing to show me how to do this.

So loaded up Tile Master app parent+child+drvr.

GOAL: I want to do exactly what @JasonJoel achieved. Not sure what he had as his sensor but I have the Xiaomi Temperature Humidity working well but want this same tile he created:
Screenshot 2019-09-21 at 8.54.59 AM

Could I ask this noobie a howto simple step by step guide? I feel like an fool since I code as a living. So weird I just can't get a grip on this. In the meantime, I'll keep RTFM but if someone could point me to get me started doing this exact thing would be awesome and could bring you mucho karma :wink:

I will pay it forward by posting a howto once I get my tiles to not look like someone dropped a pizza on the floor :slight_smile:

Hi @bptworld !

I´ve developed a rudimentary "file driver" ...

It has some limitations, of course, but I think it may help you with reading and writing files.

Take a look. Maybe it is useful for you.

Marco

Think I found a bug.

I'm trying to display the level attribute of a Virtual Dimmer. In the dashboard, the level on the tile does not update. The switch (on/off) attribute does behave normally. When the dimmer is on and I click on the Child App it throws this:

Error: No signature of method: java.math.BigDecimal.toLowerCase() is applicable for argument types: () values: []

Logs show this - [error] groovy.lang.MissingMethodException: No signature of method: java.math.BigDecimal.toLowerCase() is applicable for argument types: () values: [] on line 2172 (tileHandler)

If I turn the dimmer off, the child app loads normally.