Simple controller for 2- and 4- pin fans via GPIO
Project description
# SimpleFanController RaspberryPi fan management and control system for 2-pin and 4-pin (PWM controlled) fans connected via the onboard GPIO pins.
The system will consist of
SFController: responsible for managing and controlling the fans and GPIO pins
SFCAPI: provides a REST API for interacting with SFController (OAuth2 bearer token authentication)
SFCUI: is a Web UI for accessing the API (missing)
Documentation is available at [ReadTheDocs](https://simplefancontroller.readthedocs.io/en/latest/index.html).
Warning This piece of software is still being developed. Use with care!
## Usage ### Start SFC Usage with docker-compose:
download [docker-compose.yml](https://gitlab.com/tiuri/simplefancontroller/-/blob/main/docker-compose.yml)
run setup.sh to create an initial .env configuration file
run docker-compose up -d to start the containers.
Usage without Docker is possible but not encouraged:
- clone the git repository
``shell git clone https://gitlab.com/tiuri/simplefancontroller.git cd simplefancontroller ``
run setup.sh to create a .env configuration file
enter cd simplefancontroller and run python main.py
You can use tools like [supervisor](http://supervisord.org/) to run SFC in the background.
### Control SFC SFC controls fans connected via either two or four GPIO pins.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file simplefancontroller-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: simplefancontroller-0.0.1-py3-none-any.whl
- Upload date:
- Size: 24.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06b4977f13309f72642ac7bc42e50b2b2846a6b6ac95df04db5cdef37e97d6ae |
|
MD5 | de73a7289d3fd4000df70958c195bda8 |
|
BLAKE2b-256 | 1eb3dea9feded7fbeb0713f4a0bde20b4faa866d19e0d4d6cd12430c71eb38ea |