Has anyone tried putting this device as an action tiles tile?
I tried and it came up with a question mark initially and then a pressed it and it looked like a normal switch. Any ideas how I can have it display just the top value?
Tried, discussed with @CosmicPuppy and not gonna work… you can get the main text to display in the footer of an action tiles tile, but not the centre where the question mark appears.
Well bummer, maybe I could make the footnote work. Nice work on this, though, as always, Robin!
We have a Category dedicated to WebCoRE in our ActionTiles Feedback forum.
Honestly, requests related to WebCoRE / ActionTiles integration have not been particularly popular; but the past couple of months have been quiet in WebCoRE too!
I didn’t see anything in the thread but is there anyway you could use icons instead of text?
You can use emoji but I don’t think ST supports the font awesome icons.
Wise guy huh? LOL I meant could you somehow link to graphics hosted someplace like you’d see in other device handlers?
haha… then no, external icon references would have to be placed in a button tile (2 icons for on/off) or garage door tile (4 icons)… and even then they are not dynamic, must be hard coded into the handler.
Maybe take a look at my alarm Clock DTH for some inspiration, it uses buttons with external references to icons on my GitHub.
There’s also a 4 state switch DTH in my github… just something I was tinkering with.
Can you provide an example of using this with REST API calls? I have data that I would like to show as a device. The data exist in (example: http://192.168.1.100:3000/status/device1/attribute1/), and there are other values for /device1/attribute2, attribute3, etc.
Is it possible to create a device with said value being populated via REST?
No idea lol… haven’t looked at the REST API… I don’t even have a ST hub anymore.
I have a thread in the smartthings forums to discuss this further:
Original Post Below, updated code in link above
I created an updated version of the above Average Temperature DH. There are 2 pistons to update the ave temps for any device with this DH:
“average temperatures” is the main piston, set your DH devices as the top 3 variables and set your temperature devices in the main define block. no other configuration should be needed. The current DH is limited to 10 temperature devices per variable group (upstairs/downstairs/garage).
“average temperature ctrl” piston runs the above piston every 20 minutes, or manually when the refresh button is pressed on the device details view. you need to set your DH switches and make sure the execute piston is pointing at the correct piston in your environment.