Skip to content

EdgePi-Cloud/node-red-edgepi-relay

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •