@edgepi-cloud/node-red-edgepi-digital-input 1.0.10

node-red node for edgepi digital-input module utilizing remote procedure calls

npm install @edgepi-cloud/node-red-edgepi-digital-input

EdgePi digital input node that gets the state of a given input channel.

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-digital-input

Properties

  • RPC Server
    The connection to your EdgePi's RPC Server.
  • Channel
    The channel to check the state on.

Inputs

  • payload number
    The Digital Input channel.

Example input:

msg {
    "payload": 1
}

Outputs

  • payload boolean
    The status of the given channel.

Example output:

msg {
    "payload": false
}

Node Info

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

Actions

Rate:

Downloads

3 in the last week

Nodes

  • digital-in

Keywords

  • node-red
  • edgepi
  • rpc

Maintainers