For nvidia card it is possible to get temperature using WMI. For this you need “NV WMI” module installed, which is a part of nvidia drivers.
I’m using the following query to get nvidia gpu temperature: WMI=active:1,interval:5,namespace:root\cimv2\NV,query:ThermalProbe,display:%temperature%C,threshold1:5 75 0000FF,Text:NVgpu,chart:line linear 110 5 00ff00
WMI=active:4,interval:5,text:Температура процессора,namespace:root\wmi,query:MSAcpi_ThermalZoneTemperature,display: {{1.0d:%CurrentTemperature%/10-273.15}}Celsius
what is wrong?
Other progs like Aida and hardware monitor shows cpu temp correctly
There’s a chapter in the manual regarding this topic. Those other programs like Aida etc have very targeted code to acquire the cpu sensor readings. They don’t use WMI. As discussed, sometimes wmi will work, sometimes it won’t. It depends on the hardware manufacturer as to whether they expose their hardware sensors in WMI.
Your wmi call works on my machine and it will work on others but it won’t work on every computer.