Possible to display convert temperature sensor from celsius to fahrenheit?

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
sofakng
Posts: 37
Joined: 09 Jun 2020 06:09

Possible to display convert temperature sensor from celsius to fahrenheit?

Post 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!
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Possible to display convert temperature sensor from celsius to fahrenheit?

Post by PoltoS »

Yes, you need to change in /opt/z-way-server/config/Defaults.xml <Fahrenheit>0</Fahrenheit> to <Fahrenheit>1</Fahrenheit> (twice)
sofakng
Posts: 37
Joined: 09 Jun 2020 06:09

Re: Possible to display convert temperature sensor from celsius to fahrenheit?

Post by sofakng »

Thanks very much!

It is working but it still displays 'C' instead of 'F':
Image

It's not a huge problem but maybe you can fix it for the next release of Z-Way?

Thanks again very much!
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Possible to display convert temperature sensor from celsius to fahrenheit?

Post 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.
sofakng
Posts: 37
Joined: 09 Jun 2020 06:09

Re: Possible to display convert temperature sensor from celsius to fahrenheit?

Post by sofakng »

Changing the configjson file worked. Thanks again so much!
hemanthr417
Posts: 1
Joined: 07 Jul 2020 22:52
Contact:

Re: Possible to display convert temperature sensor from celsius to fahrenheit?

Post 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.
Post Reply