node-red-contrib-sm-sfan

A Node-RED collection of nodes to control Sequent Microsystems Smart Fan

Usage no npm install needed!

<script type="module">
  import nodeRedContribSmSfan from 'https://cdn.skypack.dev/node-red-contrib-sm-sfan';
</script>

README

node-red-contrib-sm-sfan

This is the node-red node to control Sequent Microsystems Smart Fan Hat.

Install

Clone or update the repository, follow the instrutions fron the first page.

In your node-red user directory, tipicaly ~/.node-red,

~$ cd ~/.node-red

Run the following command:

~/.node-red$ npm install ~/SmartFan-rpi/node-red-contrib-sm-sfan

In order to see the node in the palette and use-it you need to restart node-red. If you run node-red as a service:

~$ node-red-stop
~$ node-red-start

Usage

After install and restart the node-red you will see on the node palete, under Sequent Microsystems category one new node:

SFAN Power node

This node provides a connection to an Sequent Microsystems Smart Fan card. The card stack level can be set in the node dialog box or dynamically through msg.stack `. You can set the power from 0% to 100% thru msg.payload controling fan speed.

Important note

This node is using the I2C-bus package from @fivdi, you can visit his work on github here. The inspiration for this node came from @nielsnl68 work with node-red-contrib-i2c.Thank both for the great job.