![]() HDD WDC WDS100T2B0B-00YS70 Temperature Sensor #0 Temperature - 40.0☌ HDD WDC WD20EARX-00PASB0 Temperature Sensor #0 Temperature - 36.0☌ HDD ST31000528AS Temperature Sensor #0 Temperature - 37.0☌ GpuNvidia NVIDIA GeForce GTX 1070 Temperature Sensor #0 GPU Core - 60.0☌ SuperIO Nuvoton NCT6791D Temperature Sensor #6 Temperature #6 - 14.0☌ SuperIO Nuvoton NCT6791D Temperature Sensor #5 Temperature #5 - 16.0☌ SuperIO Nuvoton NCT6791D Temperature Sensor #4 Temperature #4 - 101.0☌ ![]() SuperIO Nuvoton NCT6791D Temperature Sensor #3 Temperature #3 - 25.0☌ SuperIO Nuvoton NCT6791D Temperature Sensor #2 Temperature #2 - 34.0☌ SuperIO Nuvoton NCT6791D Temperature Sensor #1 Temperature #1 - 35.0☌ SuperIO Nuvoton NCT6791D Temperature Sensor #0 CPU Core - 42.0☌ Here is the output on my system: OpenHardwareMonitor: HardwareHandle = initialize_openhardwaremonitor() Print(u"%s %s Temperature Sensor #%i %s - %s°C" % (hardwaretypes,, sensor.Index, sensor.Name, sensor.Value)) If sensor.SensorType = sensortypes.index('Temperature'): Hardwaretypes = openhardwaremonitor_hwtypes Sensortypes = openhardwaremonitor_sensortypes If type(sensor)._module_ = 'CPUThermometer.Hardware':Įlif type(sensor)._module_ = 'OpenHardwareMonitor.Hardware': Openhardwaremonitor_sensortypes = Ĭputhermometer_sensortypes = Openhardwaremonitor_hwtypes = Ĭputhermometer_hwtypes = You must run this as administrator: import clr #package pythonnet, not clr I have written a small script (python 3.6.5) to show every temperature sensor available on the system, you can of course easily modify this for other sensor types. No need to use WMI which requires the program to be active in the background. ![]() cputhermometer offers per-core CPU temps, openhardwaremonitor offers everything else. dlls and pull any stat that these programs offer. You can then use the pythonnet module to address the. Download and and extract OpenHardwareMonitorLib.dll and CPUThermometerLib.dll and place these in a directory. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |