ClevoPyControlCenter

A python API act as Control Center to control your Clevo Laptop via wmi on windows.

Usage

# pip3 install pymi
from clevo_wmi import CLEVO_GET
CG = CLEVO_GET()
# set fan1(CPU Fan) speed to max
CG.SetFanSpeedPercent(1,100)
# set fan speed to auto control by ec
CG.SetFansAuto()
# or just get fan info (temperature rpm_percent ..)
# fan2 means GPU fan in my device
print(CG.GetFanInfo(2))
# you can call method in root\WMI namespace

Implement your method

  • open cmd
  • excute wbemtest
  • connect to "root\WMI" name space
  • open class "CLEVO_GET" or CLEVO_*
  • if no error,there are many items in methods ,choose one and call like clevo_wmi.py do

Acknowledgement

GitHub - F-19-F/ClevoPyCC at pythonawesome.com
A python API to control clevo laptop via wmi.Need control center installled. - GitHub - F-19-F/ClevoPyCC at pythonawesome.com