node-red-contrib-remootio

1.0.12 • Public • Published

node-red-remootio

Node-RED nodes to talk to Remootio using the Remootio Websockets API .

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

    npm install node-red-remootio

Usage

Provides three nodes - one to listen to events, one to send actions and a global configuration nodes credentials: remootio for Websocket credentials

credentials: remootio

credentials: remootio is a global configuration node that contains the IP Address, API Secret Key and API Auth Key required to connect to your Remootio Device.

See Enabling the API in the Remootio documentation.

events: remootio

events: remootio node, can be used to listen for Remootio events

Inputs

Takes a credentials: remootio input for authentication and connectivity to your Remootio device.

Outputs

When returning events it sets the msg.payload.event to the remootio event, a full list is documented by Remootio.

Sets msg.payload.state to the state of the event open or closed

Sets msg.payload.type to the type of the event :

  • StateChange
  • RelayTrigger
  • SecondaryRelayTrigger
  • OutputHeldActive
  • SecondaryOutputHeldActive
  • Connected
  • LeftOpen
  • KeyManagement
  • Restart
  • ManualButtonPushed
  • ManualButtonEnabled
  • ManualButtonDisabled
  • DoorbellPushed
  • DoorbellEnabled
  • SensorEnabled
  • SensorFlipped
  • SensorDisabled

switch: remootio

switch: remootio node, can be used to send command to your Remootio device

inputs

Takes a credentials: remootio input for authentication and connectivity to your Remootio device.

Takes a command from a dropdown, available commands are :

  • sendPing
  • sendHello
  • sendQuery
  • sendTrigger
  • sendOpen
  • sendClose
  • sendRestart

Support

If you've found this useful and want to support my sleepless nights:

coffee

Package Sidebar

Install

npm i node-red-contrib-remootio

Weekly Downloads

13

Version

1.0.12

License

MIT

Unpacked Size

18.9 kB

Total Files

5

Last publish

Collaborators

  • dylanhaskins