Temperature colors in Mobile App


(Tolik) #1

Anyone know why temperatures show up in different colors?

I see: Gray, Green, Blue


(Matt) #2

its in the device handler if you look in your code you will find a value for the color by temperature


(Tolik) #3

So they mean nothing in particular just what the color the the device handler code was written in?


(Matt) #4

it is set in the DH. Red would be hot (whatever temp the person that wrote the DH set for hot) Blue is usually cold etc. Its all up to the person that wrote the handler


(Daniel) #5

In the Device Handler code, there is a specific color for each temperature range. So the colors will change based on the temperature range it is in. I think most Device handlers use the same ranges of colors.

	backgroundColors:[
	        [value: 31, color: "#153591"],
		[value: 44, color: "#1e9cbb"],
		[value: 59, color: "#90d2a7"],
                [value: 74, color: "#44b621"],
                [value: 84, color: "#f1d801"],
                [value: 95, color: "#d04e00"],
                [value: 96, color: "#bc2323"]
			]