Scaling temp output

How can I convert in the device handler temperature readings.

It’s an external thermometer on a water tank and tops out at 50degrees C. I expect and will test that is about 85 degrees.

Now it might be an offset I need but I might need to scale it every so often. So 20degrees is a different offset to 25 or 30.


Device Handlers run Groovy and will accept most basic Java math commands.

1 Like