Tile stopped working normally


#1

1) Give a description of the problem
Yesterday my Thermostat tile strip changed to dropping one of my thermostats, and duplicating two.

2) What is the expected behaviour?
Four Thermostats, four tiles.

3) What is happening/not happening?
Instead of “A/C,LR,MBR,Office” it’s: "A/C,LR,MBR,A/C,LR

**4) Post a Green Snapshot of the piston!

thermerr2

This WAS working properly until yesterday. All Thermostat batteries are fine.

The Temperature and battery tiles/strips are working fine with Office.


#2

Replying to my own post! :slight_smile:

I have another (row of) tiles that just report “temperature” and the office tile does work.

I think I’ll delete the Thermostat piston and redo it from the original example - see if that’ll recover it. That’ll be tomorrow!


#3

Continuing to reply to myself… To paraphrase the Joker: What this piston needs is an enema!

First I changed the category from “Tiles” to “Details” and I got: Thermostat. Device not found" which would explain the problem, or WOULD, if the Temperature tile a couple rows below wasn’t working either. Oh well. I deleted the piston, replaced it with an identical piston, and it’s working fine.


#4

NOT fixed. Now I’m here! WHY??

thermerr3


#5

Ok, from my log, here’s my problem:

+243ms ║║Calculating (string) Tile value 5 has invalid value and should be inbetween: 0 and + (string) 4 >> (string) Tile value 5 has invalid value and should be inbetween: 0 and 4
+250ms ║║Tile value 5 has invalid value and should be inbetween: 0 and 4

But I’m not sure how to change it!


#6

I do not have much freetime at the moment, but that error from line 47 happens before the {Tile} variable is set. (lines 50 & 53) Meaning at the time the log was written, the variable was still holding on to the last variable from the previous run.


Deleting the “EXIT” on line 48 should allow the rest of the piston to execute, and hopefully correct your integer. Alternatively, you could delete or disable the block on lines 44-49.


#7

That looks like we have a winner!! Yet again, thank you! I’m going to have to send you (and a couple others) something shiny as thanks!