Giter Site home page Giter Site logo

clevopycc's Introduction

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

clevopycc's People

Contributors

f-19-f avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.