SteidlD / homebridge-inkbird-bt-thsensor

A homebridge-plugin for the Inkbird bluetooth temperature and humidity sensors.
GNU General Public License v3.0
8 stars 2 forks source link

homebridge shows C and i would like F #22

Open joshrp5 opened 2 years ago

joshrp5 commented 2 years ago

My homebridge is set for F but this sensor only shows C, is there a way to change this?

taigapup commented 11 months ago

Something like this (rounds to the nearest 10th, such as 101.5 degrees)

function cToF(celsius) { const fahrenheit = (celsius * 1.8 + 32).toFixed(1); return fahrenheit; }