This release is a pre-release and may not be stable for production use.
ovos-PHAL-plugin-mk2-v6-fan-control
This is an OVOS PHAL plugin. It controls the fan on the Mark2 dev kit hardware.
Compatible with
- Mycroft Mark2 dev kit
Install
pip install ovos-PHAL-plugin-mk2-fan-control
Usage
The plugin activates in one of three ways.
- Enable manually
Add this to your ~/.config/mycroft/mycroft.conf.
{
"PHAL": {
"ovos-PHAL-plugin-mk2-v6-fan-control": {
"enabled": true
}
}
}
With this configuration, the plugin makes no other validation checks. It assumes you have a compatible HAT installed.
- Automatically with OpenVoiceOS/ovos-i2csound
When ovos-i2csound is installed and running, it creates a file at /etc/OpenVoiceOS/i2c_platform with the name of the HAT it detected. This plugin then reads that file. If it finds a compatible HAT, it activates.
- Automatically with hardware detection
If the two options above do not work, the plugin tries to detect a compatible HAT with i2c-detect. If it finds a compatible device address, it activates.
Once active on a Mark2 dev kit, the plugin controls your fan automatically.
Configuration
You can set the temperature at which the fan turns on.
{
"PHAL": {
"ovos-PHAL-plugin-mk2-v6-fan-control": {
"max_fanless_temp": 60.0,
"max_fan_temp": 80.0
}
}
}
max_fanless_temp— the temperature at which the fan turns on.max_fan_temp— the temperature at which the fan runs at 100%.
Related projects
- OpenVoiceOS/ovos-i2csound — detects the installed HAT and triggers this plugin automatically.
License
This project is licensed under the MIT license. See LICENSE for the full text.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_phal_plugin_mk2_fan_control-0.0.3a2.tar.gz.
File metadata
- Download URL: ovos_phal_plugin_mk2_fan_control-0.0.3a2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7227e66fe070595d9c2643be9686099916ba7b5cf33dfbd4a0ca2ca87e183635
|
|
| MD5 |
8dc1a3eda8dee944a78460e91c67a9c5
|
|
| BLAKE2b-256 |
66d23caa2e9a347efe2ecfb9255b1d1c469c820cd087bcbfdbceb167f6ea6ee7
|
File details
Details for the file ovos_phal_plugin_mk2_fan_control-0.0.3a2-py3-none-any.whl.
File metadata
- Download URL: ovos_phal_plugin_mk2_fan_control-0.0.3a2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ee3941d9cd1fe834e2366e74e30bff5f3f5f39df30a1aa3139eb7570935f2ac
|
|
| MD5 |
c9b3be3a19066e8e7a23f07c4d93a37a
|
|
| BLAKE2b-256 |
df61516a1ff769c8504d27364f24720276a7c295383460185a1baa7a05872f79
|