Three Tile questions


#1

How would I go about showing the status of a global variable in the webcore tiles?

Also, how to display a tile showing the difference between 2 temperature sensors (indoor and outdoor).

And a tile that displays the max and min temp for a particular sensor today.


#2

The key here is to be able to log or SMS yourself the values of the variables you want. Once you’re able to do that, setting those values to a tile would be just a little more added work.


#3

For your first question, here is an example that I use. I can tell Alexa I am warm, cool, or just right, and webCoRE will set my global variable (@@myBodyTemp) accordingly. Then, in another piston, the following code draws a tile based on what is found in that global variable.

You could, of course, replace title, text, or footer to display the global variable directly, but I like the human friendly example shown above.


#4

For your second question, here is an example that I use. It grabs outside temp from WUnderground, and gets inside temp from an average of 3 of my indoor sensors… Then does the math… Then draws the tiles, changing colors etc based on the results.


#5

I will let someone else tackle your third question.
(I use ‘fuel streams’ for this one)


#6

Thanks all. That’s helpful. It’s given me a starting point.