mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
fan monitoring
This commit is contained in:
@@ -375,6 +375,11 @@ def _get_config_scheme() -> Dict:
|
||||
"vcgencmd_cmd": Option(["/opt/vc/bin/vcgencmd"], type=valid_command),
|
||||
"state_poll": Option(10.0, type=valid_float_f01),
|
||||
},
|
||||
"fan": {
|
||||
"unix": Option("", type=valid_abs_path, if_empty="", unpack_as="unix_path"),
|
||||
"timeout": Option(5.0, type=valid_float_f01),
|
||||
"state_poll": Option(5.0, type=valid_float_f01),
|
||||
},
|
||||
},
|
||||
|
||||
"hid": {
|
||||
|
||||
Reference in New Issue
Block a user