Skip to content

A simple python script for controlling a fan wired to parallel port.

License

Notifications You must be signed in to change notification settings

pastel137/controlfan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

CONTROLFAN

Controlfan is a simple python script designed to control any fan wired to parallel port in your device such as thin clients or even desktop PCs.

Installation

Use the package manager pip to install all dependencies.

pip install pyparallel pathlib time

Usage

There are few lines allowing You to play with the config:

ON_THRESHOLD - Temperature at which the fan starts to spin.

OFF_THRESHOLD - Temperature at which the fan stops spinning.

SLEEP_INTERVAL - Time between updates.

The script can be started by issuing:

python3 controlfan.py

or

python3 controlfan.py &

to run it in background.

This command might need to use sudo in order to gain access to /dev/parport*.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to check the code for any bugs or errors

License

MIT

About

A simple python script for controlling a fan wired to parallel port.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy