Command line, python library and Node-Red node for Smart Fan
~$ sudo raspi-config
Browse Interfacing Options >> I2C and select Yes
~$ sudo apt install libgpiod-dev
~$ 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