Assistance Needed with Querying Device Consumption for Custom Tile

Is there a particular reason you’re doing this within a Custom Tile? If it is within a Custom Tile, you can programmatically access Things and Variables.

Alternatively, you might be able to use a SharpTools Rule to get the device data you are interested in and sum it into a variable (eg. with expressions). Then you could use that variable in any of the supported tile types including a Super Tile.

1 Like