Thermostat Status Device Tiles

conditions
temperature
tiles

#1

Before I begin, I would like to thank bangali and RobinWinbourne for the idea, I used some of the coding they had on tile pistons that was posted on the Smartthings and WebCoRE sites and combined them for these pistons that was created.

I highly recommend creating a second instance of WebCoRE for the tiles like I did since it’ll split the memory usage and make everything run and work faster. The WebCoRE site will start to get slow too unless you do this, and you can link them together by registering another instance on the WebCore Dashboard:

image

All of the Device Tiles including the Thermostat Status Device Tile is now located on the webCoRE Wiki site located here:
https://wiki.webcore.co/Device_Tiles


Device Status Tiles
#2

LOL I have tried saving this piston 3 times and each time it hangs and doesn’t save. I close the window and try to load my dashboard but it doesn’t load until I clean up and rebuild data cache. When I reload the dashboard, the piston I attempted to save is in the paused pistons. I guess it is time to create a second instance of webcore. :slight_smile:


#3

works great with Honeywell
2017-11-20_194201


#4

This piston is smaller than my Weather Tiles that is 21 chucks big. Try a 2nd instance of WebCoRE just for any of the Piston Tiles like I do and I think that will fix it. This piston is only 16 chucks big, usually you’ll have problems if it’s over 21 chucks big. The chucks of a particular piston shows when you save the piston.


#5

That’s great to hear, wasn’t sure if other Thermostats DTH would have different behavior such as the Modes (Heat, Cool, Auto, Idle, Turned Off, etc).


#6

Yes, it installed fine in my new instance of WC.


#7

When I use my nest, I cannot get the temperature to show in the middle of the tile. For instance, running at 76 and cooling simply shows ‘Fan On’ but the snow-flake spins in the corner.


#8

I won’t be able to check until Thursday to dig into it more. I may of messed up the Cool mode when adding Celsius option.


#9

I fixed the issue, please replace the piston you already had with Code: dqiup

I didn’t setup the modes correctly when cooling mode is enabled so it was showing only the fan was turned on when the AC/Cooling was on.


#10

Nope. Same result


#11

Is that for cooling mode only? Please post logs so I can look along with a screenshot of the piston tile.


#12

I think its an easier fix than that… I’ll post logs when I get to a Mac…

Here is the screen shot… it looks simply as if the numbers aren’t converting over.


#13

Actually no… I will post logs in a bit.


#14

Hi, i’m new to webCoRE and still finding my way around forgive my ignorance, but how do i assign this thermostat info to a device tile? I’ve recreated the piston from the code and replaced the thermostat variable with my own. Logging shows expected values when tested, but i’m not sure how to proceed from there?!!


#15

I’m learning lol. Figured it out, created a new catergory, Details / Large Tiles which did the trick. I’m using the HIVE thermostat, will report back when working


#16

Works with my Radio Thermostat CT-100 plus x 6. Thanks.

Edit. For some reason the temperature is set to C on my thermostats and is showing the right number but °F is showing as the temperature. Tried changing the useCelsius but that did a temp conversion to the already converted temp. Tried changing the string but I don’t think that’s used unless the useCelcius is on. Any ideas?


#17

I may need to add another switch, for now change the °F manually to °C so it displays properly


#18

i am having the same issue with a Ecobee 4.

image

Issue seems to be at the .355ms

68 is my heating setpoint and 72 is my cooling setpoint (in this mode). It appears that it is just dividing those 2 numbers and getting the .94444444444 as a result.

Logs are as follows:

12/28/2017, 5:47:56 PM +171ms
+0ms ╔Received event [Home].time = 1514504876718 with a delay of -548ms
+201ms ║RunTime Analysis CS > 20ms > PS > 54ms > PE > 128ms > CE
+206ms ║Runtime (79827 bytes) successfully initialized in 54ms (v0.2.101.20171227) (204ms)
+207ms ║╔Execution stage started
+222ms ║║Cancelling statement #160’s schedules…
+227ms ║║Calculating (integer) 0 + (integer) 1 >> (integer) 1
+233ms ║║Executed virtual command setVariable (4ms)
+266ms ║║Calculating (string) auto == (string) on >> (boolean) false
+271ms ║║Calculating (string) auto == (string) off >> (boolean) false
+312ms ║║Calculating (string) 20 + (string) °C >> (string) 20°C
+315ms ║║Calculating (string) 68 + (string) °F >> (string) 68°F
+318ms ║║Calculating (boolean) false == (boolean) true >> (boolean) false
+344ms ║║Calculating (string) 22 + (string) °C >> (string) 22°C
+347ms ║║Calculating (string) 72 + (string) °F >> (string) 72°F
+350ms ║║Calculating (boolean) false == (boolean) true >> (boolean) false
+355ms ║║Calculating (decimal) 68.0 / (decimal) 72.0 >> (decimal) 0.9444444444444444
+358ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+362ms ║║Calculating (string) auto == (string) off >> (boolean) false
+405ms ║║Calculating (string) 22 + (string) °C >> (string) 22°C
+409ms ║║Calculating (string) 72 + (string) °F >> (string) 72°F
+412ms ║║Calculating (boolean) false == (boolean) true >> (boolean) false
+417ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+421ms ║║Calculating (string) auto == (string) off >> (boolean) false
+461ms ║║Calculating (string) 20 + (string) °C >> (string) 20°C
+464ms ║║Calculating (string) 68 + (string) °F >> (string) 68°F
+467ms ║║Calculating (boolean) false == (boolean) true >> (boolean) false
+472ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+476ms ║║Calculating (string) auto == (string) off >> (boolean) false
+481ms ║║Calculating (string) auto == (string) heat >> (boolean) false
+486ms ║║Calculating (string) auto == (string) cool >> (boolean) false
+490ms ║║Calculating (string) auto == (string) auto >> (boolean) true
+494ms ║║Calculating (string) heating == (string) idle >> (boolean) false
+553ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+557ms ║║Calculating (string) auto == (string) heat >> (boolean) false
+561ms ║║Calculating (string) auto == (string) cool >> (boolean) false
+565ms ║║Calculating (string) auto == (string) auto >> (boolean) true
+569ms ║║Calculating (string) auto == (string) off >> (boolean) false
+591ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+595ms ║║Calculating (string) auto == (string) off >> (boolean) false
+619ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+623ms ║║Calculating (string) auto == (string) off >> (boolean) false
+646ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+650ms ║║Calculating (string) auto == (string) off >> (boolean) false
+655ms ║║Calculating (string) auto == (string) heat >> (boolean) false
+659ms ║║Calculating (string) auto == (string) cool >> (boolean) false
+663ms ║║Calculating (string) auto == (string) auto >> (boolean) true
+668ms ║║Calculating (string) heating == (string) idle >> (boolean) false
+674ms ║║Calculating (string) 25 + (string) % >> (string) 25%
+677ms ║║Calculating (string) 25% + (string) >> (string) 25%
+728ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+732ms ║║Calculating (string) auto == (string) heat >> (boolean) false
+737ms ║║Calculating (string) auto == (string) cool >> (boolean) false
+741ms ║║Calculating (string) auto == (string) auto >> (boolean) true
+745ms ║║Calculating (string) auto == (string) off >> (boolean) false
+767ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+771ms ║║Calculating (string) auto == (string) off >> (boolean) false
+794ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+799ms ║║Calculating (string) auto == (string) off >> (boolean) false
+820ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+824ms ║║Calculating (string) auto == (string) off >> (boolean) false
+829ms ║║Calculating (string) auto == (string) heat >> (boolean) false
+833ms ║║Calculating (string) auto == (string) cool >> (boolean) false
+837ms ║║Calculating (string) auto == (string) auto >> (boolean) true
+841ms ║║Calculating (string) heating == (string) idle >> (boolean) false
+847ms ║║Calculating (string) 25 + (string) % >> (string) 25%
+849ms ║║Calculating (string) 25% + (string) >> (string) 25%
+854ms ║║Calculating (string) 19 + (string) °C >> (string) 19°C
+870ms ║║Calculating (string) 19°C + (string) 25% >> (string) 19°C 25%
+873ms ║║Calculating (string) 67 + (string) °F >> (string) 67°F
+878ms ║║Calculating (string) 67°F + (string) 25% >> (string) 67°F 25%
+881ms ║║Calculating (boolean) false == (boolean) true >> (boolean) false
+908ms ║║Calculating (string) auto == (string) on >> (boolean) false
+912ms ║║Calculating (string) auto == (string) off >> (boolean) false
+935ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+939ms ║║Calculating (string) auto == (string) off >> (boolean) false
+962ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+966ms ║║Calculating (string) auto == (string) off >> (boolean) false
+988ms ║║Calculating (string) heating == (string) fan only >> (boolean) false
+993ms ║║Calculating (string) auto == (string) off >> (boolean) false
+998ms ║║Calculating (string) auto == (string) heat >> (boolean) false
+1002ms ║║Calculating (string) auto == (string) cool >> (boolean) false
+1006ms ║║Calculating (string) auto == (string) auto >> (boolean) true
+1011ms ║║Calculating (string) heating == (string) idle >> (boolean) false
+1016ms ║║Executed virtual command setTile (2ms)
+1020ms ║║Cancelling statement #169’s schedules…
+1025ms ║║Executed virtual command setVariable (3ms)
+1033ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1039ms ║║Cancelling statement #172’s schedules…
+1042ms ║║Executed virtual command clearTile (1ms)
+1050ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1054ms ║║Cancelling statement #172’s schedules…
+1057ms ║║Executed virtual command clearTile (0ms)
+1065ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1071ms ║║Cancelling statement #172’s schedules…
+1077ms ║║Executed virtual command clearTile (2ms)
+1085ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1090ms ║║Cancelling statement #172’s schedules…
+1093ms ║║Executed virtual command clearTile (0ms)
+1100ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1105ms ║║Cancelling statement #172’s schedules…
+1109ms ║║Executed virtual command clearTile (0ms)
+1116ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1121ms ║║Cancelling statement #172’s schedules…
+1125ms ║║Executed virtual command clearTile (0ms)
+1132ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1137ms ║║Cancelling statement #172’s schedules…
+1140ms ║║Executed virtual command clearTile (0ms)
+1148ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1153ms ║║Cancelling statement #172’s schedules…
+1157ms ║║Executed virtual command clearTile (1ms)
+1165ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1170ms ║║Cancelling statement #172’s schedules…
+1173ms ║║Executed virtual command clearTile (1ms)
+1181ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1185ms ║║Cancelling statement #172’s schedules…
+1189ms ║║Executed virtual command clearTile (0ms)
+1196ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1201ms ║║Cancelling statement #172’s schedules…
+1204ms ║║Executed virtual command clearTile (0ms)
+1212ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1216ms ║║Cancelling statement #172’s schedules…
+1219ms ║║Executed virtual command clearTile (0ms)
+1227ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1231ms ║║Cancelling statement #172’s schedules…
+1234ms ║║Executed virtual command clearTile (0ms)
+1242ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1246ms ║║Cancelling statement #172’s schedules…
+1250ms ║║Executed virtual command clearTile (0ms)
+1257ms ║║Calculating (integer) 1 + (integer) 1 >> (integer) 2
+1261ms ║║Cancelling statement #172’s schedules…
+1264ms ║║Executed virtual command clearTile (0ms)
+1268ms ║╚Execution stage complete. (1062ms)
+1270ms ║Setting up scheduled job for Thu, Dec 28 2017 @ 5:48:36 PM CST (in 39.278s)
+1281ms ╚Event processed successfully (1282ms)


#19

Are you able to post the green snapshot of your piston so I can look at what’s causing this issue. I’ll look to work on updating this piston this weekend to also fix the Celsius display issue too mentioned a few posts up.


#20

Yes sorry. This is the piston. I just copied the backup version (dqiup) with no alterations.

I highlighted where I believe the issue is. On the tile display, and you can see in the log, it is dividing my heat set point (68) by my cooling setpoint (72) which = .944444444. Maybe I am wrong :smile: