Skip to main content
Pre-release

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.

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

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

ovos_phal_plugin_mk2_fan_control-0.0.3a2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file ovos_phal_plugin_mk2_fan_control-0.0.3a2.tar.gz.

File metadata

File hashes

Hashes for ovos_phal_plugin_mk2_fan_control-0.0.3a2.tar.gz
Algorithm Hash digest
SHA256 7227e66fe070595d9c2643be9686099916ba7b5cf33dfbd4a0ca2ca87e183635
MD5 8dc1a3eda8dee944a78460e91c67a9c5
BLAKE2b-256 66d23caa2e9a347efe2ecfb9255b1d1c469c820cd087bcbfdbceb167f6ea6ee7

See more details on using hashes here.

File details

Details for the file ovos_phal_plugin_mk2_fan_control-0.0.3a2-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_phal_plugin_mk2_fan_control-0.0.3a2-py3-none-any.whl
Algorithm Hash digest
SHA256 8ee3941d9cd1fe834e2366e74e30bff5f3f5f39df30a1aa3139eb7570935f2ac
MD5 c9b3be3a19066e8e7a23f07c4d93a37a
BLAKE2b-256 df61516a1ff769c8504d27364f24720276a7c295383460185a1baa7a05872f79

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3a2 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page