homebridge-raspberrypi-temperature
homebridge-raspberrypi-temperature copied to clipboard
CPU Temperatur is only 4°C
Hi, the plugin works on my Raspberry Pi and I use C instead of F. But anyhow the temperature is between 3°C and 5°C instead of 39°C etc. I tried to use the multiplier for Orange Pi, but then the plugin does not work any longer. What can I check to solve this issue?
See issue https://github.com/YinHangCode/homebridge-raspberrypi-temperature/issues/14
The reason is that the value which is read from /sys/class/thermal/thermal_zone0/temp
is already provided in Celsius. (Actually in millicelsius) The value is divided by 1000 and then converted further if you have configured "Celsius" as unit, although the value is already in Celsius.
Therefore, the correct value is determined if you do not configure a unit.