Yes, using the SharpTools Rule Engine, you can copy data out of a device attribute and into a SharpTools variable.
We don’t currently have a way to display a Text Variable as a Media Tile, but that sounds like a great Feature Request if you want to create one!
Side note: There’s also a feature request for HTTP Triggers for SharpTools Rules that could enable you to post data directly from Homeseer into SharpTools Variables using SharpTools Rules that you may wish to cast a vote on.
Edit: HTTP Triggers for Rules are now released!
New Feature: Rule HTTP Trigger
Since SharpTools supports the display of album art for Music Player devices, you could write the image URL directly to a device in Hubitat which implements the Music Player capability.
–
For the Album Art Tile, the device would need to implement the Music Player capability.
Within that capability, there’s an attribute called trackData
(or audioTrackData
in SmartThings) which is a string version of a JSON object which should have at least the following fields:
{
image: "http://your.album/artwork.png", // 'albumArtUrl' and 'trackImage' are valid alternative property names
title: "Track Title" // 'name' is a valid alternative
album: "Album Name",
artist: "Artist Name",
source: "spotify", //optional, 'mediaSource' is a valid alternative property name; icons are displayed for 'spotify', 'google play music', 'apply music', 'pandora', 'amazon music'
}