node-red-contrib-sfera-labs-exo-sense-pi

Node-RED nodes for Exo Sense Pi - Multi-sensor module with Raspberry Pi 4 core

Usage no npm install needed!

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

README

Exo Sense Pi Node-RED

Node-RED for Exo Sense Pi - Multi-sensor module with Raspberry Pi 4 core.

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

Setup

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

Usage

This node lets you control and monitor the functionalities of Exo Sense 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.