+6
On Hold: Discussion Open

Generic Information Tile

Jeff Davis 10 months ago in Things & Capabilities / CoRE and webCoRE • updated by Joey 1 week ago 16 1 duplicate

I would like to see a generic information tile that I could programmatically update with something like WebCoRE.  The title of the tile should also be user-defined.


Example 1: Post the name and time of the last motion sensor triggered within a tile entitled "Recent Activity."

Example 2: Post the name and time of the last person who left the premises within a tile entitled "Last to Leave."

Example 3: Post the time when motion is first encountered in the morning within a tile entitled "Rise and Shine."

Answers

+1
Answer
... so why not set a text string variable for a simulated device? Then Action Tiles could just display it like any other device tile, maybe?


Probably something we've also answered several times, though I can't find an exact Topic match to point to...

ActionTiles is designed to conform to the SmartThings Capability paradigm. It abstracts the set of Commands and Attributes of any Device into a specific Capability or Capabilities with a standard documented definition.


Because we can trust this definition, we can trust that the Tile Types we define based on each Capability will function as expected.


SmartThings currently also allows a Device Type Handler developer to add arbitrary ad-hoc / custom Commands and/or Attributes, but there are absolutely no standards for this. One developer might call an Attribute "fullness" and another call it "volume". Without the Capability standards, ActionTiles would have to have an Artificial Intelligence engine; or major enhancements to the Builder to allow ad-hoc / custom Tile Types to be defined in concert with such arbitrary custom Commands and Attributes.


But we also invite DTH developers to make use of Capabilities that are documented, but don't have any common use case examples. Maybe Capability "Notification" could be something we could latch onto. But why bother if nobody uses it?


Yes... This isn't totally out of the question; but there's a lot of evolution going on at SmartThings right now (a whole new API!!!); and that's just one of many reasons to defer in-depth work on this.


Please do browse the various related Topics, though ... these and more:


Thanks,

...Terry

PINNED
On Hold: Discussion Open

Thanks for the Feature Request, Jeff... 


I haven't attempted to do much consolidation or merging yet, but the desire for Tiles which can be populated with data pushed or pulled from various sources, is now in multiple Topics. 


Using the interface(s) provided by WebCoRE might be one of the fastest and most secure ways to do this — or it might be limiting, complicated and risky. We just haven't done enough requirements, use case and other research, testing, and alternatives analysis yet. Some folks are suggesting we just offer some sort of iframes in which customers can embed arbitrary HTML... 


So... We like the concept at a very high level, but no idea what our time frame would be.

Duplicates 1

Discuss & Vote

Hi Yan,


Could you provide an example how you would use this functionality?

Hey Alex,


What I was working on was a way to display my home energy consumption.


I have a Neurio, and it has no SmartThings app. That one guy made something but has turned it into a paid project and it's overkill for what I need.


Neurio offers a very straight forward way to get the current power use (among many other info) through a JSON obtained directly on the device on the local network via HTTP. What I would be doing is host a simple python web server on my Raspberry Pi, and make a page that would return the parsed value (number of kW) from a curl request onto the Neurio. Or a script that just dumps the value onto a text file on the web server every second.


So the info I would display is e.g. "345 kW". And optionally at the bottom of the tile some add'l info like "12¢/hr" or the day average, etc.


I realize I would have to open a port to my web server for ActionTiles to grab it, but essentially the tile would query e.g. http://my-ip:12345/neurio/data.txt and display whatever is returned.


I suppose the main issue is you having to poll... If somehow the tile could fetch local data that would be better for everyone :)

I'm sorry, Yan ... I don't understand what you are saying in this comment...


Can you rephrase it, please?


  • What "polling"?
  • What do you mean by "fetch local data"?
  • Can your idea fit in the SmartThings paradigm? i.e., can the Tile be written as a Device / Thing ?

Thank-you!


(BTW: We already have an open Topic or two covering this Feature Request. I'll try to merge them together.

That's why I held this for moderation because we keep discussing the same (or very similar) Feature Request over and over again.)

Basically I think it's NOT something that fits in the Device / Thing paradigm. It has no link to SmartThings. But it's something I believe is very smart home dashboard-worthy. The information to be displayed is raw and is located inside my local network, and must (ideally) be refreshed every second to remain pertinent.


Ok for merging, or if you want point me to said similar topic, I can add my comments.


Thanks

Yan

That explanation helps, Yan, thank-you.


We'll discuss more after merging, but some quick points to note:

  1. Our core focus is on SmartThings integration and control. We think there is considerable value for "device" (& service) makers to integrate with SmartThings first and if it matches an existing official Capability then it will automatically be compatible with ActionTiles; but also compatible with the entire SmartThings feature-set (ie, arbitrary SmartApps, CoRE, Alexa and much more).
  2. ActionTiles has superficial "proof of concept" integration with non-SmartThings data display via Media Tiles. But obviously we have not explored or mined the full potential. Problem is that we need to focus on Video Streaming as a much higher priority than special use cases.
  3. Integration into other vendors APIs directly is off the short-term table, especially since many cases can be handled via #1.
  4. There is lots gray area, hybrids, comprises, etc. that may deliver "easy value", but much more research is required. This discussion is helpful, thank-you! ☺️
+1

I totally understand your points. I was indeed targeting the "easy value" or quick win, as I thought this could be super generic. But I also get the dangers of the "while you're there, could you do that one small thing". :) 


At any rate, I could probably write a smartapp myself but I honestly have no time for it. So let's just see what the future has in store.


Great day! 

I would also like something like this.  My use case would be for my SumpPump.  I would like to display "cycles per hour" and "run time" which aren't typical/supported SmartThings attributes.

PINNED
On Hold: Discussion Open

Thanks for the Feature Request, Jeff... 


I haven't attempted to do much consolidation or merging yet, but the desire for Tiles which can be populated with data pushed or pulled from various sources, is now in multiple Topics. 


Using the interface(s) provided by WebCoRE might be one of the fastest and most secure ways to do this — or it might be limiting, complicated and risky. We just haven't done enough requirements, use case and other research, testing, and alternatives analysis yet. Some folks are suggesting we just offer some sort of iframes in which customers can embed arbitrary HTML... 


So... We like the concept at a very high level, but no idea what our time frame would be.

Can Webcore push or provide a feedback  message accessible from anywhere?

+1

WebCoRE has some sort of interface(s).As I said: We haven't done any research yet.


Our priority is on Features that an "average SmartThings customer" is likely to find useable and valuable. WebCoRE is a "power-user" facility that targets a different demographic.

I'm not a programmer, but it would seem to me that someone could create a simulated device with a settable variable. We can already use Webcore to set color and such on lights, so why not set a text string variable for a simulated device? Then Action Tiles could just display it like any other device tile, maybe?


I know you're not concerned with a lot of this "extra" stuff. I'm just thinking out loud more than anything. Maybe someone with better skillsz than me will be inspired. Lol

+1
Answer
... so why not set a text string variable for a simulated device? Then Action Tiles could just display it like any other device tile, maybe?


Probably something we've also answered several times, though I can't find an exact Topic match to point to...

ActionTiles is designed to conform to the SmartThings Capability paradigm. It abstracts the set of Commands and Attributes of any Device into a specific Capability or Capabilities with a standard documented definition.


Because we can trust this definition, we can trust that the Tile Types we define based on each Capability will function as expected.


SmartThings currently also allows a Device Type Handler developer to add arbitrary ad-hoc / custom Commands and/or Attributes, but there are absolutely no standards for this. One developer might call an Attribute "fullness" and another call it "volume". Without the Capability standards, ActionTiles would have to have an Artificial Intelligence engine; or major enhancements to the Builder to allow ad-hoc / custom Tile Types to be defined in concert with such arbitrary custom Commands and Attributes.


But we also invite DTH developers to make use of Capabilities that are documented, but don't have any common use case examples. Maybe Capability "Notification" could be something we could latch onto. But why bother if nobody uses it?


Yes... This isn't totally out of the question; but there's a lot of evolution going on at SmartThings right now (a whole new API!!!); and that's just one of many reasons to defer in-depth work on this.


Please do browse the various related Topics, though ... these and more:


Thanks,

...Terry

+1

I am building out my own Alarm . As Part of this I have various settings - things like if this triggers 3 times then do something . I am using ActionTiles - simulated Dimmer and using the slider to set my parameter at the moment . Ideally I would like to set these using a variable in webCore and then using a tile display that setting . There are also other things I would like to do . To be able to have a tile where I can set its 'Display Text'  from webCore would be very useful ... 

+1

This is something I would like as well.  Ability to have a tile with texts -- like last events, or some kind of pushed message.  I can also use this to display the last time my wife left home, or last time someone was allowed in by my security guard at the gate.