MD1200/README.md

55 lines
1.3 KiB
Markdown
Raw Normal View History

2025-05-10 10:28:18 +02:00
# MD1200 fan noise reduction
2025-05-08 09:43:43 +02:00
2025-05-10 10:28:18 +02:00
A set of scripts that automagically set fan speed on a MD1200 (probably MD1220 as well) based on internal temperature readings.
2025-05-08 09:43:43 +02:00
## PC
2025-05-10 13:44:21 +02:00
### Docker
2025-05-08 09:43:43 +02:00
2025-05-10 13:44:21 +02:00
In .env file change
```serial_adapter``` which is a serial port you're using.
On linux it is /dev/ttyUSBx and on windows it is COMx
```wait_time``` is the interval in which script is checking temperature. By default it is 300 seconds, which is 5 minutes.
### Systemd
First create virtual enviroment
```
python3 -m venv venv
```
Then install required modules
```
venv/bin/pip3 install PySerial
```
After that you just need to change a few things
```SERIALADAPTER``` to a port you're using.
On linux it is /dev/ttyUSBx and on windows it is COMx
```EPPYSLEEPY``` is the interval in which script is checking temperature. By default it is 300 seconds, which is 5 minutes.
### Proxmox LXC
2025-05-10 13:45:57 +02:00
You can also run it in LXC container on your Proxmox host. Just follow the [systemd](###systemd) instructions.
2025-05-10 13:44:21 +02:00
Here you will also need to add ```/dev/ttyUSBx``` to your LXC container. You do it under Resources -> Add -> Device Passthrough -> ```/dev/ttyUSBx``` as Device Path.
2025-05-10 10:28:18 +02:00
## STM32F103C6T6
I think it needs a MAX2323 between MD1200.
Will look into that.
## Arduino Nano
Same here
### FAQ
dc: yuruc3