Node-RED nodes to talk to Remootio using the Remootio Websockets API .
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-remootio
Provides three nodes - one to listen to events, one to send actions and a global configuration nodes credentials: remootio
for Websocket credentials
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 node, can be used to listen for Remootio events
Takes a credentials: remootio
input for authentication and connectivity to your Remootio device.
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 node, can be used to send command to your Remootio device
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
If you've found this useful and want to support my sleepless nights: