I figure I'd pass this along. At least with sharptools, ran into a work around to display a GV. I currently don't use the built in dashboard, so am not 100% sure if can display a chosen attribute for it to work here
is there any way to display a global variable from rules machine in a tile? or use a variable to trigger a tile attribute like label, color, or image...
Basically, similar to a tile for what mode a hub is in. I have 3 different "modes" for my vThermostat (night, weekday, and normal), I'd like a tile showing which of the 3 is currently active.
I did find a workaround, to have a tile display a sting of my choosing by using a vTemp sensor and making a tile that displays temp attribute. then justā¦
then josh came up with a "cleaner" device to use here:
Here's a device driver that can be used for setting a variety of values (text, number) which can then be used in SharpTools.io dashboards.
To use it with Hubitat's Rule Machine global variables, you could create a triggered rule which watches for your desired variable to change and then copies the value from the variable into one of the devices supported commands.
For example, in the following Rule, I'm watching for the MyText global variable to change and then using the Notify capability ofā¦
This solution also gave me a means of passing a GV from RM to ST
3 Likes