Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cezary924/argon-one-fan-mode-changer

Change the behavior of the built-in fan at different times of the day
https://github.com/cezary924/argon-one-fan-mode-changer

argonone cezary924 changer fan python raspberry-pi raspberry-pi-4 raspberrypi rpi

Last synced: 7 days ago
JSON representation

Change the behavior of the built-in fan at different times of the day

Awesome Lists containing this project

README

        


Argon One Fan Mode Changer


𖣘


Change the behavior of the built-in fan at different times of the day


A badge with a label 'Lang 🇬🇧' - a link takes to README file in English
A badge with a label 'Lang 🇵🇱' - a link takes to README file in Polish

## ⚙️ Installation & Configuration
0. Get Argon One case for RPi and install dedicated script.
1. Clone this repo.
2. Edit files located in `files` directory:
- `first_mode.txt` - This file contains info about the fan speed _(%)_ depending on the temperature _(Celsius degrees)_. These correlactions will be used when the first mode is activated.
- `second_mode.txt` - This file contains info about the fan speed _(%)_ depending on the temperature _(Celsius degrees)_. These correlactions will be used when the second mode is activated.
- `start.txt` - This file contains the hour _(24h format)_ when the first mode should be activated.
- `stop.txt` - This file contains the hour _(24h format)_ when the first mode should be deactivated.
> _**IMPORTANT:** Every line in files that contain fan speed info should look like this: `temp=speed`, for example:_
```
40=25
45=50
50=75
55=100
```
> _**IMPORTANT:** The first mode must start and end on the same day._

## 🚀 Starting
1. To start, create a service running this script automatically with every boot, or execute this command in the main directory:
```
python bot.py
```
2. Enjoy!