Open RavenSystem opened 5 years ago
Works fine for me with ds18b20_measure_and_read_multi()
I am using ds18b20_read_single()
Looks like there are 2 different approaches to calculate temperature, at https://github.com/SuperHouse/esp-open-rtos/blob/master/extras/ds18b20/ds18b20.c#L111 and https://github.com/SuperHouse/esp-open-rtos/blob/master/extras/ds18b20/ds18b20.c#L183
So bug is only related to ds18b20_read_single() function.
It seems that DS18B20sensor does not correctly read negative temperatures.
https://github.com/RavenSystem/esp-homekit-devices/issues/208#issuecomment-468413809