@edgepi-cloud/node-red-edgepi-led

1.0.12 • Public • Published

node-red-edgepi-led

EdgePi LED node that changes the state of LEDs on the EdgePi.

Install

Install normally through the node-red editor or install with npm in your node-red directory (typically located at ~/node.red) by running the following command:

npm install @edgepi-cloud/node-red-edgepi-led

Properties

RPC Server
The connection to your EdgePi's RPC Server.

Inputs

  • payload (boolean)
    The LED state.
  • pin (number)
    The LED pin on which to change state.

Example input configuration:

msg {
  "payload": true,
  "pin": 1
}

Outputs

  • payload (string)
    A success message stating the configuration of the given LED. Example output:
msg {
  "payload": "Successfully turned on LEDPins.LED1."
}

Package Sidebar

Install

npm i @edgepi-cloud/node-red-edgepi-led

Weekly Downloads

17

Version

1.0.12

License

MIT

Unpacked Size

13.2 kB

Total Files

8

Last publish

Collaborators

  • admin-edgepi