node-red-contrib-sfera-labs-iono-pi

Node-RED nodes for Iono Pi - the industrial Raspberry Pi PLC

Usage no npm install needed!

<script type="module">
  import nodeRedContribSferaLabsIonoPi from 'https://cdn.skypack.dev/node-red-contrib-sfera-labs-iono-pi';
</script>

README

Iono Pi Node-RED

Node-RED for Iono Pi - the industrial Raspberry Pi PLC.

Install and run Node-RED on Iono Pi and access all its functionalities with this module.

Setup

Before using this node make sure the Iono Pi kernel module is installed on Iono Pi.

Usage

This node lets you control and monitor the functionalities of Iono Pi by reading/writing the sysfs files provided by its Kernel module.

Inputs

payload - string | number
the value to write or empty to only trigger a read.

Outputs

(Readable features only)
payload - string
the value read.

In the configuration, select the functionality (sysfs file) to link this node to. Functionalities can be readable (R) and/or writable (W).
Use msg.payload as the value to write to or read from the file.

For details on the values' formats refer to the Kernel module documentation.