Giter Site home page Giter Site logo

gpio_fan's Introduction

GPIO Fan daemon

A small daemon for controlling a fan on a GPIO pin, similar to the dtoverlay gpio-fan.

Default configuration is to handle a fan on pin 18, activating it at 55°C and deactivating it again at 45°C.

The -t/--temp option will set a range in the same way as the dtoverlay gpio-fan, though with floating point values. (so 75°C would be 75, whereas the gpio-fan dtoverlay would want the value 75000)

Usage: gpio_fan [OPTIONS...]

Args:
  -p --pin PIN      Set the GPIO pin to toggle
  -n --interval SEC Set the delay between temperature checks (in seconds)
  -t --temp TEMP    Set temperature range as in gpio-fan

  -m --min MIN      Set turn-off point
  -M --max MAX      Set turn-on point

A systemd unit is provided which is suitable for use with Raspberry Pi OS or Debian, for Alpine or other non-systemd dists you can run it with rc.local or similar methods.

gpio_fan's People

Contributors

ananace 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.