GaruGaru / breeze

Smart, lightweight temperature based fan controller for raspberry pi using gpio written in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Breeze

Go Report Card

Smart, Temperature based fan controller for raspberry pi using gpio written in go

Schema for fan control using transistor

Schema (using gpio 12)

Usage

example:

When the detected temperature reaches the target-temperature (60°) the gpio pin n.12 will be set to HIGH until the detected temperature is 15% lower than the target-temperature

breeze controller --gpio-pin=12 --target-temperature=60 --temperature-cooldown-percent=15

Deploy

Docker

docker run --privileged -v /dev/gpiomem:/dev/gpiomem -v /sys/class/gpio:/sys/class/gpio garugaru/breeze:arm-latest controller 

kubernetes

kubectl apply -f https://raw.githubusercontent.com/GaruGaru/breeze/master/kubernetes/0_namespace.yml
kubectl apply -f https://raw.githubusercontent.com/GaruGaru/breeze/master/kubernetes/1_deployment.yml

About

Smart, lightweight temperature based fan controller for raspberry pi using gpio written in go

License:GNU General Public License v3.0


Languages

Language:Go 93.5%Language:Makefile 3.4%Language:Dockerfile 3.1%