recalbox / recalbox-manager

Django project to manage a Recalbox from a web interface
MIT License
14 stars 54 forks source link

CPU temperature in monitoring #38

Closed digitalLumberjack closed 8 years ago

digitalLumberjack commented 8 years ago

Could be great !

@Sikahalv

sveetch commented 8 years ago

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

substring commented 8 years ago

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