+2
Discuss & Vote

Show Power value on Switch tile

Brian Beaird 4 months ago in Panels (dashboards) / Special Tiles • updated by Terry (ActionTiles) (Co-Founder) 4 months ago 4

Are there any device handlers out there already where ActionTiles will combine a switch (or some other capability) and power meter capability into a single tile?


The context around this is I'm writing an integration that brings over data from a Sense Energy Monitor. It brings over a list of devices along with their current power usage. I'm running a custom handler right now that has switch and power capability, but if there's a standard handler out there I can use that ActionTiles will already combine, I can certainly do that. To got a step further, the most ideal option would be to use a "read-only" type switch or something since there really is no use in being able to toggle the on/off status manually since that does nothing at all (it's a 1-way data flow from Sense).


I realize this may be a bigger conversation around the one-off customization of special tiles like this - I know that requires a lot of extra work, but I figured I'd ask since it seems like it would be cool :-)





To add more clarity, I think what I'm asking is if there's a way the Power Meter capability could be a footer option similar to the way the battery capability is treated now. With my DTH, I've got both "switch" and "power" capabilities on the same device - it would be awesome if AT could just stick the power value as a footer.

Discuss & Vote

Hi Brian


We have a few similar requests to this with variations, so we might merge this, or add cross-links to the Topics.

  • There was a general Feature request to make the footer (and perhaps even the header and body!) of Tiles more flexible. It did not gain much popularity, though. So this may be something we explore incrementally, case-by-case, or may wait until we do a more substantial architecture change.
  • There's also a few requests for consolidated Tiles, summary Tiles, hybrid Tiles, etc., in order to save space or logical grouping and drill-down. Showing both Temperature and Humidity, or Power and Energy, or average Temperature of multiple sensors, or a Tile that indicates if any one or more of a group of Contact Sensors is open.

If the Switches are "read-only", though, why does a regular Power Tile not suffice? A value of Zero = Off, right?

That makes sense. My hope for this particular case was that it might be easier than some of the others given it's dealing with capabilities on the same device, but that's just me hoping :-)


I think the best option for now is probably just use the Power Tile for now and let 0 be off. It would just be a little nicer visually to show something as "on" with a bit more flair than raw numbers. Thanks.

+1

You're correct that showing multiple Attributes from a single Thing is substantially less complicated than the next level of combining or summarizing Attributes from multiple Things.


We never presume that any Feature is trivial though. In the case of Switch, the footer contains the State (on/off), and, where applicable, the Dimmer Level (0% to 100%). I don't think we even attempt to show Battery Level because 99% of Switches are mains (AC) powered.


Adding a Tile Setting to swap out the space allocated to Dimmer Level with Power is worth consideration. So voting on this Topic is encouraged. As mentioned earlier, however, we might wait until we come up with a more comprehensive feature.

FYI: We have another Feature Request that, if implemented, might be an alternative or interim solution.



i.e., This would allow informational Tiles with numeric values (e.g., Power), to have Intention and/or Custom Colors set based on the current value. Thus the Tile showing 0 Power utilization ("off") would be a default color, and all values above 0 would be a different color ... and maybe even extraordinarily high values would be a third color.


The above Feature Request has a practical use cases, and now your case can be added.