Include Raspberry Pi System Temperature in openHAB
(This post is also contributed to the openHAB wiki) The Systeminfo Binding enables you to read system information through Sigar. The system information provided through this library can be extended with some additional important features. For example, reading system temperatures for your Raspberry Pi. CPU temperature The CPU temperature can be read with a terminal command: $ cat /sys/class/thermal/thermal_zone0/temp 46540 This output can be captured using the Exec binding. The value returned represents millidegrees Celsius. (I’m not sure if another OS localization returns Fahrenheit). So the actual needed CPU temperature is computed through a Javascript transformation. ...