@edgepi-cloud/node-red-edgepi-relay 1.0.9

node-red node for edgepi relay module utilizing remote procedure calls

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

EdgePi relay node that opens or closes relay

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-relay

Usage

Properties

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

  • State
    Whether to open or close the relay.

Inputs

  • payload boolean
    The relay state.

Example input configuration:

msg {
    "payload": false
}

Outputs

  • payload string
    A success message stating the relay status.

Example output:

msg {
    payload: "Successfully opened relay"
}

Node Info

Version: 1.0.9
Updated 7 months, 1 week ago
License: MIT
Rating: not yet rated

Actions

Rate:

Downloads

3 in the last week

Nodes

  • relay

Keywords

  • node-red
  • edgepi
  • rpc

Maintainers