Skip to main content

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.

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


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.3a1.tar.gz (5.1 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.3a1.tar.gz.

File metadata

File hashes

Hashes for ovos_phal_plugin_mk2_fan_control-0.0.3a1.tar.gz
Algorithm Hash digest
SHA256 e2d99440b1091f25d7c890fd34d484587342d6d3087aaa9342727b3923531228
MD5 c407185aff9ffee8faba959d269aac52
BLAKE2b-256 657baef9da5f5d67ece62f6e8a8d1adca9d16634585b9401b258234ac1fb1093

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ovos_phal_plugin_mk2_fan_control-0.0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 ade1a761d195dae29ed032e338046d73992232e596e5dbe408f94c7529bc0622
MD5 1489f3b42775d09cfb765b9bdc99105f
BLAKE2b-256 373453cf90b6a3d205a1f3715766258a884682c7991c7d3a8e28ee2f9d60fc36

See more details on using hashes here.

Supported by

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