GithubHelp home page GithubHelp logo

raspberry-pi-pwm-fan-control's Introduction

raspberry-pi-pwm-fan-control's People

Contributors

coldfix avatar driftkingtw avatar funnym0nk3y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

raspberry-pi-pwm-fan-control's Issues

fan_control.py speed step calculation

In python2 integer divided by another integer results integer.
Fix:
step = float(FAN_HIGH - FAN_LOW)/float(MAX_TEMP - MIN_TEMP)
setFanSpeed(FAN_LOW + round( temp * step ))

Script eats a lot of CPU

not sure why, but running this script with python2 oder python3 shows me about 13%-21% CPU ussage in htop no matter what refreshrate i configure.

can someone confirm this bug?

ansible-deploy script

If you are interested I have created a ansible role to deploy this script as systemd service on an Ubuntu 20.04. I can publish the role and you can refer to it in your documentation.

Question: FAN_MAX & MIN_TEMP <-> OFF_TEMP

Hi there,

why is the constant FAN_MAX to be defined? It is not used in the code or do I miss something?

I have anther question regarding the MIN_TMEP and OFF_TEMP. What is the reason to define the OFF_TEMP constant? There is no case made if the temperature is between OFF_TEMP and MIN_TEMP which is 40 / 45 at default. Wouldnt it make sense to not use OO_TEMP and just stop the fan if the temp is below MIN_TEMP?

Thanks and best regards
Kai

How can I read speed from my Argon fan?

Hi! I hope you're doing okay! I'm working on my Raspberry Pi project and I came across your repository. I have an Argon mini fan (link) and I just can figure out why read_fan_speed.py comes back 0 every time, even when I hear the fan spinning. Could you help me out find a way to make my Raspberry Pi 4 (running Dietpi) read and display this fan's speed?

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.