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

1.0.9 • Public • Published

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"
}

Readme

Keywords

Package Sidebar

Install

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

Weekly Downloads

3

Version

1.0.9

License

MIT

Unpacked Size

14.9 kB

Total Files

8

Last publish

Collaborators

  • admin-edgepi