Getting the lowest value


#1

Not actually a problem. More of looking for a solution.

I’m trying to get the lowest value from a bunch of temperature sensors, and with that result would like to turn on a switch where the sensor is located.

I have no idea how to find the sensor that is reading the lowest temperature.

Any ideas on how to do this?


#2

Here is one way. This just finds the lowest temp, maybe more efficient ways, but something I came up with quickly.


#3

Here’s another one…


#4

Webcore can actually determine the min for you when setting a variable, see screenshot below.
The value defaults to average but can be changed to min (among other options).
*I stored my devices in a list but you can also just select each device.


#5

Also, if you dump the temps into variables, you can check the lowest with a simple Expression:

pic


#6

Thanks for that. Exactly what I was looking for.