Closed wormiedk closed 8 years ago
Are you referring to below 0°C or 0°F?
And could you test it using the npm package ds18b20?
Below 0°C As far as i know da18b20 always report in 0°C
Cheers
Den 18. jan. 2016 kl. 03.15 skrev DanTheMan827 notifications@github.com:
Are you referring to below 0°C or 0°F?
— Reply to this email directly or view it on GitHub.
The ds18b20 nodes package reports correctly Current temperature is -5.5
more /sys/bus/w1/devices/28-0000069621e9/w1_slave a8 ff 4b 46 7f ff 08 10 e5 : crc=e5 YES a8 ff 4b 46 7f ff 08 10 e5 t=-5500
On 18 Jan 2016, at 03:21, DanTheMan827 notifications@github.com wrote:
And could you test it using the nodejs package ds18b20 https://www.npmjs.com/package/ds18b20?
— Reply to this email directly or view it on GitHub https://github.com/DanTheMan827/homebridge-ds18b20/issues/1#issuecomment-172409148.
after hours of debuggin i found the problem... the problem is, that in the HAP framwork, temperature sensors are defined with a range of 0-100 degrees so. its not the sensors.. its not the ds18b20 library and its not the ds18b20 homebridge module.. they are all reporting negative numbers in the right way...
there are 2 possible fixes for this:
just change minvalue to -50 or something
so .. i did Number 1 as a workaround and it works without any problem
Thanks for the info, I've fixed the issue and published the patch to npm
hi there. The temperature reported is 0 whenever the temperature is below 0