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.2a3.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.2a3.tar.gz.

File metadata

File hashes

Hashes for ovos_phal_plugin_mk2_fan_control-0.0.2a3.tar.gz
Algorithm Hash digest
SHA256 bc405648355e08e4a50f1d5fda4ac45dc96b1a73cab783c4fe9915f489607613
MD5 4d22a9a0bdb9123aec051ef85b4193de
BLAKE2b-256 50d2359e9a054e4be63b90a99d5d2beafc6030e90462d640bd7833d2654e4d25

See more details on using hashes here.

File details

Details for the file ovos_phal_plugin_mk2_fan_control-0.0.2a3-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_phal_plugin_mk2_fan_control-0.0.2a3-py3-none-any.whl
Algorithm Hash digest
SHA256 b2abbd3163b83daa4e7e564936ce59dc1fd2503336802fb281734682feb78e3b
MD5 53cafdf0ba415d2968eef1a7da7afddf
BLAKE2b-256 3ce5adcead0750332b0d2c5d2b6564c85d30709717a11da3b437d189a6a31567

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