Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
http://splinter.readthedocs.io/en/latest/
#Splinter is an open source tool for testing web applications using Python. It lets you automate browser actions, such as visiting URLs and interacting with their items.
#tests
https://splinter.readthedocs.io/en/latest/
#Splinter is an open source tool for testing web applications using Python. It lets you #automate browser actions, such as visiting URLs and interacting with their items.
#tests
https://github.com/pytest-dev/pytest-splinter
The plugin provides a set of fixtures to use #splinter for browser testing with #pytest .
#tests
#pytest_splinter