An OVOS PHAL plugin to control the fan on the mark2 dev kit
Project description
ovos-PHAL-plugin-mk2-v6-fan-control
Compatible with
- Mycroft Mark2 dev kit
Usage
There are a few ways for this plugin to get enabled.
- Enable manually
Add this to your ~/.config/mycroft/mycroft.conf
{
"PHAL": {
"ovos-PHAL-plugin-mk2-v6-fan-control": {
"enabled": true
}
}
}
With this configuration, no other validation checks are made. It is assuming you have a compatible HAT installed.
- Automatically with ovos-i2csound
When ovos-i2csound is installed and running, it creates a file at /etc/OpenVoiceOS/i2c_platform with the HAT name it detected. This plugin then checks that file and if a compatible HAT is detected, the plugin is activated.
- Automatically with hardware detection
If the above two options don't work, the plugin tries to detect a compatible HAT using i2c-detect. If a compatible device address is found, the plugin will activate.
From this point, if you are running OVOS on a Mark2 dev kit, your fan should be automatically controlled.
Configuration
The temperature at which the fan turns on can be configured
{
"PHAL": {
"ovos-PHAL-plugin-mk2-v6-fan-control": {
"max_fanless_temp": 60.0,
"max_fan_temp": 80.0
}
}
}
"max_fanless_temp" -> This is where the fan turns on
"max_fan_temp" -> At this temp, the fan runs at 100%
Project details
Release history Release notifications | RSS feed
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.3a1.tar.gz.
File metadata
- Download URL: ovos_phal_plugin_mk2_fan_control-0.0.3a1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2d99440b1091f25d7c890fd34d484587342d6d3087aaa9342727b3923531228
|
|
| MD5 |
c407185aff9ffee8faba959d269aac52
|
|
| BLAKE2b-256 |
657baef9da5f5d67ece62f6e8a8d1adca9d16634585b9401b258234ac1fb1093
|
File details
Details for the file ovos_phal_plugin_mk2_fan_control-0.0.3a1-py3-none-any.whl.
File metadata
- Download URL: ovos_phal_plugin_mk2_fan_control-0.0.3a1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ade1a761d195dae29ed032e338046d73992232e596e5dbe408f94c7529bc0622
|
|
| MD5 |
1489f3b42775d09cfb765b9bdc99105f
|
|
| BLAKE2b-256 |
373453cf90b6a3d205a1f3715766258a884682c7991c7d3a8e28ee2f9d60fc36
|