summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-03-25 21:19:28 +0300
committerMaxim Devaev <[email protected]>2022-03-25 21:19:28 +0300
commited23fef5121f8f71b47b3e6aefe409a7e36fd9a7 (patch)
tree07fb271740bca9a244b6d1bf87f9f098292cd108 /kvmd/apps/__init__.py
parent67180e244f4d521816c2f2a82457874da5dcb202 (diff)
fan monitoring
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index b31ac936..75600390 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -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": {