fan monitoring

This commit is contained in:
Maxim Devaev
2022-03-25 21:19:28 +03:00
parent 67180e244f
commit ed23fef512
9 changed files with 258 additions and 38 deletions

View File

@@ -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": {