YuruC3 18427298bc Finally got what's the difference between : and =
under environments in docker-compose.
2025-05-10 16:58:18 +02:00
2025-05-10 10:19:38 +02:00
2025-05-10 10:19:38 +02:00

MD1200 fan noise reduction

A set of scripts that automagically set fan speed on a MD1200 (probably MD1220 as well) based on internal temperature readings.

PC

Docker

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.

Then run with sudo docker-compose up -d

To see output run sudo docker container logs MD_Fan_Changer

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

You can also run it in LXC container on your Proxmox host. Just follow the systemd instructions.

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.

STM32F103C6T6

I think it needs a MAX2323 between MD1200.

Will look into that.

Arduino Nano

Same here

FAQ

dc: yuruc3

Description
STM32C6(and pc) script for silencing MD1200 based on temperature
Readme 12 MiB
Languages
C++ 63.9%
Python 34.2%
Dockerfile 1.9%