question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sysinfo binding: CPU temperature not delivered on a Raspberry PI 2

See original GitHub issue

The sysinfo binding provides a lot of useful information on my RPi2, but obviously not the CPU temperature while other values work pretty well: 2016-10-13 15_05_22-home Someone said, it may not possible on Raspberrys - but other simple workarounds deliver the desired information easily.

In my loginfo I found only this hint: 22:32:12.601 [ERROR] [platform.linux.LinuxCentralProcessor] - Couldn’t find physical processor count. Assuming 1. 22:32:12.898 [ERROR] [platform.linux.LinuxCentralProcessor] - Unable to parse /proc/77/stat

Item definition: Number RaspberryCPUTemp "Temperatur RPi2 [%.1f °C]" { channel="systeminfo:computer:openHABianPi:sensors#cpuTemp" }

PS: I’m running the latest snapshot via openHABian

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cweitkampcommented, Jul 13, 2017

On Raspberry PIs (in detail on linux based OS) the channel sensors#cpuTemp now returns the current measured temperature of the CPU correctly. The channel sensors#cpuVoltage returns 0 as before.

0reactions
martinvwcommented, Jul 13, 2017

It should be fixed in the last snapshot or partly, maybe @cweitkamp can explain more about that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] CPU Temperature - Bindings - openHAB Community
Hi, i tried to read the cpu temperature of my Raspberry Pi 3 with raspbian and Openhab 2. I used exec binding, systeminfo...
Read more >
sysinfo binding: CPU temperature not delivered on a Raspberry PI 2
The sysinfo binding provides a lot of useful information on my RPi2, but obviously not the CPU temperature while other values work pretty...
Read more >
Sensors (temperature, fan speeds, voltage) don't return values ...
The OSHI library returns no values for Sensors (temperature, ... sysinfo binding: CPU temperature not delivered on a Raspberry PI 2 ...
Read more >
99% CPU usage? Avoid disaster by monitoring the Raspberry Pi
In OpenHab you can collect data about the system it is running on quite easily by using the Systeminfo Binding.
Read more >
Temperature - Raspberry Pi Forums
Because of the low thermal mass involved, the temperature will drop below 50C in a couple of seconds after removing the load. Running...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found