Posts: 2
Joined: Feb 2017
Reputation:
0
Hope this is still the correct place to post questions like this. My CPU temperature was being displayed in the System Info with Kodi 16 but since the upgrade to Kodi 17 it shows as a question mark. After adding a section to the advancedsettings.xml for cpu temperature it will display but it is a static number. Whatever the temperature is when Kodi starts is what gets displayed always.
Posts: 2
Joined: Jun 2005
Reputation:
0
after some searching, i stubled upon this tread.
it didnt helped me to get my temp showing in kodi, so i looked further.
in the end i got it working.
my advancedsettings.xml are :
<advancedsettings>
<setting>value</setting>
<cputempcommand>sensors | tail -n 21 | sed -ne "s/Core 0: \+[-+]\([0-9]\+\).*/\1 C/p"</cputempcommand>
<cputempcommand>sensors | tail -n 21 | sed -ne "s/Core 1: \+[-+]\([0-9]\+\).*/\1 C/p"</cputempcommand>
<cputempcommand>sensors | tail -n 21 | sed -ne "s/Core 2: \+[-+]\([0-9]\+\).*/\1 C/p"</cputempcommand>
<cputempcommand>sensors | tail -n 21 | sed -ne "s/Core 3: \+[-+]\([0-9]\+\).*/\1 C/p"</cputempcommand>
<gputempcommand>echo "$(nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader) C"</gputempcommand>
<setting>value</setting>
</advancedsettings>
note, that it only shows one cpu temp not all four.
but the gpu temp shows fine.
Posts: 1,772
Joined: Aug 2009
Reputation:
24
Derek
Posting Freak
Posts: 1,772
you of course need sensors installed for that command to work. but its useless info anyway
Posts: 534
Joined: Dec 2008
Reputation:
14
If it's useless information it wouldn't be an option, now would it?
Some systems like the raspberry pi can overheat so it can be very useful to pull that information and see that yes indeed you're running way too hot it's time to do something about it.