recalbox / recalbox-manager

Django project to manage a Recalbox from a web interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU temperature in monitoring

digitalLumberjack opened this issue · comments

Could be great !

@Sikahalv

The psutil library we use to monitor system don't know anything about sensors, as it's probably not something consistent on every systems.

Seems there are some tricks, but again not consistent through every system, have to check http://stackoverflow.com/questions/2440511/getting-cpu-temperature-using-python

commented

found on the french wiki :
cat /sys/class/thermal/thermal_zone0/temp and divide by 1000
source : https://github.com/recalbox/recalbox-os/wiki/Commandes-linux-%28FR%29