I have a program running on my tstat10e, and sometimes, I’ve noticed that the display temp will randomly jump to a bogus value randomly. I’ve attached my program logic, and .prog file. And here is a screenshot showing what I mean.

Jumps randomly to 122 for a second, but then returns back to normal. I’ve copy paste my program logic too. For reference, TMP is var11, which I chose as the parameter to display on my tstat lcd as temp. ROOMTEMP is in1, which is external temp sensor, and TEMP is in9 the default built in temp sensor.
I’ve noticed that sometimes upon boot, var11 will give me a bad reading, which is why I have lines 20-60, to prevent a bad reading from driving any logic.
I would just like to know if there’s anything wrong on my end, or if it’s just a glitch in the tstat. Also fyi, I am using edited open source code firmware running on this tstat. All that was adjusted was removing unneeded variables and icons from the lcd.
TSTAT10FINAFINAL.prog (65.6 KB)
Program code:
10 IF SYS = 0 THEN START DAMPCLOS , STOP DAMPOPEN , STOP FANLOW , STOP FANHIGH , STOP ELECHEAT , FCU = 2 , LOSPTIME = 0 , END
20 BADTMP = 0
30 IF ROOMTEMP > -30 AND ROOMTEMP < 150 THEN TMP = ROOMTEMP , PRIM = 1 , GOTO 60
40 IF TEMP > -30 AND TEMP < 150 THEN TMP = TEMP , PRIM = 0 , GOTO 60
50 BADTMP = 1
60 IF BADTMP = 1 THEN START DAMPCLOS , STOP DAMPOPEN , STOP FANLOW , STOP FANHIGH , STOP ELECHEAT , FCU = 2 , END
70 IF SYS = 1 AND FANMODE = 0 AND DAMPOPEN THEN START FANLOW , STOP FANHIGH
80 IF SYS = 1 AND FANMODE <> 0 AND DAMPOPEN THEN START FANHIGH , STOP FANLOW
90 IF NOT DAMPOPEN OR SYS = 0 THEN STOP FANLOW , STOP FANHIGH
100 IF TMP > SET + DB AND BUILDSTA = 0 THEN START DAMPOPEN , STOP DAMPCLOS , FCU = 3 , GOTO 70
110 IF TMP < SET AND FCU = 3 THEN START DAMPCLOS , STOP DAMPOPEN , STOP FANLOW , STOP FANHIGH , FCU = 1
120 IF TMP < SET - DB AND BUILDSTA = 1 THEN START DAMPOPEN , STOP DAMPCLOS , FCU = 4 , GOTO 70
130 IF TMP > SET AND FCU = 4 THEN START DAMPCLOS , STOP DAMPOPEN , STOP FANLOW , STOP FANHIGH , FCU = 1
140 IF TMP < SET - DB AND BUILDSTA = 0 AND AUXHEAT = 1 THEN START DAMPCLOS , STOP DAMPOPEN , STOP FANLOW , STOP FANHIGH , START ELECHEAT , FCU = 5 , GOTO 70
150 IF TMP > SET AND FCU = 5 THEN STOP ELECHEAT , FCU = 1
160 END