A python API act as Control Center to control your Clevo Laptop via wmi on windows.
Usage
# pip3 install pymifromclevo_wmiimportCLEVO_GETCG=CLEVO_GET()
# set fan1(CPU Fan) speed to maxCG.SetFanSpeedPercent(1,100)
# set fan speed to auto control by ecCG.SetFansAuto()
# or just get fan info (temperature rpm_percent ..)# fan2 means GPU fan in my deviceprint(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
Generalise Prometheus metrics. takes out server specific, replaces variables and such. makes it easier to copy from Prometheus console straight to Grafana.