EDIT: Solved (my bad)
I noticed that LibreELEC was always reporting wrong CPU temperatures (in fact both gputemp & cputemp reported the temperature reading for the GPU at ~60-80°C) so I went ahead and installed lm_sensors through the unofficial addon repository.
In an SSH shell I can now see the correct temperature readings for both CPU & GPU:
LibreELEC:~ # /storage/.kodi/addons/tools.lm_sensors/bin/sensors
radeon-pci-0100
Adapter: PCI adapter
temp1: +60.5 C (crit = +120.0 C, hyst = +90.0 C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +54.0 C (high = +78.0 C, crit = +100.0 C)
Core 1: +57.0 C (high = +78.0 C, crit = +100.0 C)
In order to receive just the CPU temp I run this:
LibreELEC:~ # /storage/.kodi/addons/tools.lm_sensors/bin/sensors coretemp-isa-0000 | sed -ne "s/Core 1: \+[-+]\([0-9]\+\).*/\1 C/p"
55 C
I added this to my advancedsettings.xml using the <cputempcommand> tag
<advancedsettings>
<splash>false</splash>
<loglevel hide="true">-1</loglevel> <!-- Disables logging -->
<playcountminimumpercent>95</playcountminimumpercent>
<skiploopfilter>0</skiploopfilter> <!-- For low CPU device use 16 or higher -->
<nodvdrom>true</nodvdrom>
<cputempcommand>/storage/.kodi/addons/tools.lm_sensors/bin/sensors coretemp-isa-0000 | sed -ne "s/Core 1:
\+[-+]\([0-9]\+\).*/\1 C/p"</cputempcommand>
<cache>
<buffermode>1</buffermode> <!-- Default is 1 -->
<memorysize>52428800</memorysize> <!-- Default is 20971520 bytes or 20 MB -->
<readfactor>4.0</readfactor> <!-- this factor determines the max readrate in terms of readfactor * avg bitrate of a video file. default is 4 -->
</cache>
<videolibrary>
<dateadded>0</dateadded> <!-- 0 results in using the current datetime when adding a video -->
<allitemsonbottom>false</allitemsonbottom> <!-- sorts the "*All" items at the bottom of the list when in Ascending order -->
<recentlyaddeditems>40</recentlyaddeditems> <!-- number of recently added items. Defaults to 25 -->
<importwatchedstate>true</importwatchedstate> <!-- import previously exported playdate and playcount from .nfo files. Defaults to false -->
<importresumepoint>false</importresumepoint> <!-- import previously exported resume point from .nfo files. Defaults to false -->
<hideallitems>true</hideallitems> <!-- removes the "*All" items from the video library -->
<hideemptyseries>true</hideemptyseries> <!-- hide empty series in the video library -->
</videolibrary>
<pvr>
<minvideocachelevel>30</minvideocachelevel>
<minaudiocachelevel>30</minaudiocachelevel>
</pvr>
<video>
<subsdelayrange>240</subsdelayrange> <!-- Delay range for subtitles, in seconds.
-->
<audiodelayrange>30</audiodelayrange> <!-- Delay range for audio/video sync, in
seconds. -->
</video>
</advancedsettings>
Display More
After a reboot the Kodi System Information page now shows just a '?' for the CPU temperature. Changing advancedsettings.xml back to <cputempcommand>cputemp</cputempcommand> works but reports the wrong temperature (GPU) again.
Full hardware specs (GPU is most important):
it's a fairly old x86_64 System (but great as a powerful Kodi box for years now).
- CPU: Intel C2D E8400 2x 3.0GHz
- Mainboard: Gigabyte G41MT-D3V
- RAM: 2GB DDR3
- Graphics: ASUS/AMD Radeon HD4670 silent mod (without fan)
- 8GB SSD
The LibreELEC version you are running:
- LibreELEC 8.2.1 Generic.x86_64 build
Full debuglog:
dmesg: