Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.11 KB

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