Page 1 of 1
Possible to display convert temperature sensor from celsius to fahrenheit?
Posted: 19 Jun 2020 06:21
by sofakng
I'm using a Z-Wave device that reports temperature in celsius. I've checked with the manufacturer and there is no way to change this using configuration parameters, etc.
Is it possible to have Z-Way convert this from celsius to fahrenheit on the dashboard? (i.e. instead of display the celsius value, I'd like to see it automatically convert to fahrenheit)
Thanks for any help!
Re: Possible to display convert temperature sensor from celsius to fahrenheit?
Posted: 21 Jun 2020 12:06
by PoltoS
Yes, you need to change in /opt/z-way-server/config/Defaults.xml <Fahrenheit>0</Fahrenheit> to <Fahrenheit>1</Fahrenheit> (twice)
Re: Possible to display convert temperature sensor from celsius to fahrenheit?
Posted: 21 Jun 2020 17:07
by sofakng
Thanks very much!
It is working but it still displays 'C' instead of 'F':
It's not a huge problem but maybe you can fix it for the next release of Z-Way?
Thanks again very much!
Re: Possible to display convert temperature sensor from celsius to fahrenheit?
Posted: 21 Jun 2020 22:59
by PoltoS
If you re-include, it will work. Or you can change it in automation/storage/configjs-...... while z-way is stopped - change C to F. No re-inclusion will be needed.
Re: Possible to display convert temperature sensor from celsius to fahrenheit?
Posted: 22 Jun 2020 03:07
by sofakng
Changing the configjson file worked. Thanks again so much!
Re: Possible to display convert temperature sensor from celsius to fahrenheit?
Posted: 07 Jul 2020 22:56
by hemanthr417
To convert a reading in Celsius to Fahrenheit, multiply your reading by 1.8 and add 32. For example, if your thermometer reads 45 degrees C, your reading in Fahrenheit would be (45 x 1.8 = 81 + 32) or 113 degrees F.