Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vrischmann/argonone
Custom program to control the fan in an Argon ONE Pi 4 case
https://github.com/vrischmann/argonone
Last synced: 30 days ago
JSON representation
Custom program to control the fan in an Argon ONE Pi 4 case
- Host: GitHub
- URL: https://github.com/vrischmann/argonone
- Owner: vrischmann
- License: mit
- Created: 2021-02-07T00:45:54.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-07T16:58:18.000Z (about 3 years ago)
- Last Synced: 2024-08-04T06:01:51.236Z (3 months ago)
- Language: Zig
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-argonone - vrischmann/argonone
README
# argonone
This is a program for controlling the fan speed in a [Argon ONE Pi 4](https://www.argon40.com/argon-one-m-2-case-for-raspberry-pi-4.html) case.
## Requirements
[Zig master](https://ziglang.org/)
## Build
Run this:
```
$ zig build -Dtarget=aarch64-linux-musl
```## Usage
Run it like this:
```
$ MIN_TEMP=30 MAX_TEMP=70 argonone
info(main): Setting fan speed at 46 for temperature 46.250999450683594°C
info(main): Setting fan speed at 46 for temperature 46.250999450683594°C
```There's a `argonone.service` systemd unit you can use as well.