Skip to content

dylanhaskins/node-red-contrib-remootio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published