Raspberry Pi Fan Script
Simple python script to turn on the fan when the internal temperature reaches above a certain threshold
Table Of Contents
Support
Join my Masta Coders Discord server and come join a community of coders, investors and thinkers come join!
You can also support me via Patreon! Every donation helps us afford more time to create projects and classes for underserved youth!
Installation
Use the package manager npm to install the dependencies. Then copy the example .env file and fill in with appropriate values.
git clone https://github.com/mastashake08/rpi-fan-script.git
Usage
python fan.py <GPIO_PIN> <BASE_TEMPERATURE>
I suggest you make this script run on startup.
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 update tests as appropriate.