Giter VIP home page Giter VIP logo

argon_one's Introduction

Argon One fan control daemon

This is a rewritten version of the Argon One daemon.

Only the fan speed control feature was implemented.

Due to a hardware "bug" the fan speed control might not work. Please see the following thread.
I replaced the capacitor mentioned there (10uF -> 10nF).

Configuration

The default config file location is /etc/default/argonone.toml.

This location can be changed by the CONFIG_FILE environment variable.

Installation

Requirements:

  • smartctl (smartmontools)
  • lsblk
  • awk

Also requires additional python libraries:

  • smbus2
  • RPi.GPIO
  • toml
  1. Download the argonone.py file and place it in /usr/local/bin/.
  2. Run chmod 755 /usr/local/bin/argonone.py.
  3. Download argonone-example.toml, move it to /etc/default/argonone.toml, and adjust the configuration options.
  4. Set up the systemd unit.
Systemd unit

Please see this unit file.

You can copy it to /etc/systemd/system/ and adjust locations of the python3 binary and argonone.py if necessary.

Then execute the following as root:

systemctl daemon-reload
systemctl enable argonone.service
systemctl start argonone.service
References

argon_one's People

Contributors

isdn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.