SequentMicrosystems / SmartFan-rpi

Command line, python library and Node-Red node for Smart Fan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SmartFan-rpi

SmartFan-rpi

Command line, python library and Node-Red node for Smart Fan

Smart Fan

Setup

Enable Raspberry Pi I2C communication:

~$ sudo raspi-config

Browse Interfacing Options >> I2C and select Yes

Install gpiod:

~$ sudo apt install libgpiod-dev

Usage

~$ git clone https://github.com/SequentMicrosystems/SmartFan-rpi.git
~$ cd SmartFan-rpi/
~/SmartFan-rpi$ sudo make install

Now you can access all the functions of the relays board through the command "fan". Use -h option for help:

~$ fan -h

If you clone the repository any update can be made with the following commands:

~$ cd SmartFan-rpi/  
~/SmartFan-rpi$ git pull
~/SmartFan-rpi$ sudo make install

About

Command line, python library and Node-Red node for Smart Fan

License:MIT License


Languages

Language:C 59.3%Language:Python 21.4%Language:HTML 8.1%Language:JavaScript 7.9%Language:Makefile 3.3%