homebridge-raspberrypi-temperature
homebridge-raspberrypi-temperature copied to clipboard
Temp off in Celsius
Hi
Thank you for your work! New to this and seing some issues.
Temp of CPU is 8 celsius! Allthough being around 50 celsius in Homebridge. Serial is unknown model 3B(is realy a Zero W)) Firmware 0.0.8 homebridge 1.1.6
is there a offset somewhere?
I have the same problem, the temperature shown in iOS Home is only 4 Celsius.
Hi
Thank you for your work! New to this and seing some issues.
Temp of CPU is 8 celsius! Allthough being around 50 celsius in Homebridge. Serial is unknown model 3B(is realy a Zero W)) Firmware 0.0.8 homebridge 1.1.6
is there a offset somewhere?
I have solved this problem.
Initially, my configuration looked like this:
"accessories": [{
"accessory": "RaspberryPiTemperature",
"name": "RaspberryPi CPU Temperature",
"temperatureMeasurement": "celsius"
}]
I deleted "temperatureMeasurement": "celsius"
, now it looks like the temperature display is normal.
As @huangyafei said,
"accessories": [{
"accessory": "RaspberryPiTemperature",
"name": "RaspberryPi CPU Temperature"
}]
Will solve this problem. Temperature will be in Celsius. Apparently, the conversion to Celsius in code is relevant if the initial temperature is in Fahrenheit.
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.
Hi
Thank you for your work!
New to this and seing some issues.
Temp of CPU is 8 celsius!
Allthough being around 50 celsius in Homebridge.
Serial is unknown
model 3B(is realy a Zero W))
Firmware 0.0.8
homebridge 1.1.6
is there a offset somewhere?
I have solved this problem.
Initially, my configuration looked like this:
"accessories": [{ "accessory": "RaspberryPiTemperature", "name": "RaspberryPi CPU Temperature", "temperatureMeasurement": "celsius" }]
I deleted
"temperatureMeasurement": "celsius"
, now it looks like the temperature display is normal.
Tnx 😉