Closed wolfiesax closed 6 years ago
Hi, I've never tried negative values, in principle, it is handled in lines 143 to 148.
I am going to perform a test and tell you
Fixed in 1.3.3
and tested in my freezer ;-)
Verified ok here as well. Well done jchassin!!!
@jchassin, @wolfiesax I believe this is an issue again.
Hi. I can't get negative (Celsius) values to show when using OWFS_DS18B20, instead values seem to be saturated to 0.0.
I suspect this issue may be related to the (minValue) definition of Characteristic.CurrentTemperature in gen/HomeKitTypes.js of HAP-NodeJS:
mentioned as an issue here.
Could anyone else reproduce the problem? If the problem is due to the HAP-NodeJS issue, how can I update HAP-NodeJS and or homebridge-owfs to fix this? The solution seems very simple by just changing the min value from 0 to -100 for instance.
//Ulf