Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Eraden/argonfand
https://github.com/Eraden/argonfand
argonone cooling-control cooling-fans raspberry-pi raspberry-pi-4 raspberry-pi-gpio
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/Eraden/argonfand
- Owner: Eraden
- License: mit
- Created: 2021-04-02T07:35:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T21:57:47.000Z (over 3 years ago)
- Last Synced: 2024-08-03T06:01:41.235Z (5 months ago)
- Topics: argonone, cooling-control, cooling-fans, raspberry-pi, raspberry-pi-4, raspberry-pi-gpio
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-argonone - Eraden/argonfand
README
# ArgonOne Fan Service
## Requirements
* Create:
`/etc/modules-load.d/raspi-conf.conf`and fill it with `i2c-dev`
* Add to `/boot/config.txt`
must contain
```
dtparam=i2c_arm=on
dtparam=i2s=on
```Example:
```
enable_gic=1
dtparam=i2c_arm=on
dtoverlay=vc4-kms-v3d,i2c-rtc,ds1307,pcf85063
initramfs initramfs-linux.img followkernel
enable_uart=1
```Raspberry PI must be fully restarted after this so i2c module will be loaded.
## Run
ArgonOne case for Raspberry Pi 4B fan service.
```bash
./build.sh
sudo argonfand -g # generate default config, depends on case location it should be adjusted
sudo argonfand -f 100 # enforce max speed and exit
sudo argonfand # start service
```ArgonOne case fan is quite noisy so for your own comfort it should never be exposed to direct light and settings should set speed to 0 if temperature is below 55.
### Service
```bash
systemctl status argonfand.service
systemctl start argonfand.service
systemctl enable argonfand.service
```### Config
Config file must exists before starting application and is located:
`/etc/argonfand.toml`
Format:
```toml
verbose = false
delay = 1000[[values]]
temp = 45
speed = 0[[values]]
temp = 54
speed = 10[[values]]
temp = 55
speed = 50[[values]]
temp = 65
speed = 80[[values]]
temp = 80
speed = 100
```