Skip to content

A python API to control clevo laptop via wmi.Need clevomof.dll from control center only

License

Notifications You must be signed in to change notification settings

F-19-F/ClevoPyCC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClevoPyControlCenter

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

Only works on Control Center 2.0 models. Control Center 3.0 model use acpi dsm to control device,thus wmi will not work.

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

dependents

clevomof.dll that install automatically by control center V2.0 run CheckWMI.py as administrator to check

Implement your method

  • open cmd
  • excute wbemtest
  • connect to "root\WMI" name space (if erro happen , run CheckWMI.py)
  • 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

About

A python API to control clevo laptop via wmi.Need clevomof.dll from control center only

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages