/node-red-contrib-pi-plates

Control Pi-Plates from Node-RED

Primary LanguageJavaScriptApache License 2.0Apache-2.0

node-red-contrib-pi-plates

A Node-RED node that enables communication with Pi-Plates boards.

  • RELAYplate
  • DAQCplate
  • MOTORplate
  • TINKERplate

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-contrib-pi-plates

Usage

First, make sure the Pi-Plates stack is working with the standard python interface by following the Getting Started setup steps here. Note: this package requires python 3.x provided by the 'python3' command, so follow all the python3 instructions for the Pi Plates library and ignore the 2.x variants. The node actually uses a python script under the hood (similar to the stock gpio node) so if the Pi Plates python interface isn't setup and working, then this will not work either.