Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
The heat is on in #Brussels: the budget is a mess, the #MigrationPact has failed, and the Brusselian strategy on the Russia-Ukraine war is fundamentally flawed. In this situation, Hungary cannot support any budget amendment proposal.
The #MigrationPact is another nail in the coffin of the European Union. Unity is dead, secure borders are no more. Hungary will never give in to the mass migration frenzy! We need a change in Brussels in order to #StopMigration !
https://www.euronews.com/my-europe/2024/04/10/european-parliament-narrowly-endorses-eu-migration-reform-moving-it-closer-to-the-finish-l
https://t.me/PM_ViktorOrban