mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
0a0917b67a
* update pusher dependencies & code * Update package.json * update pusher icon * Reverting some package.json changes * add contributors * Add padding to icon * resize icon * Updated available clusters * update broken link to cluster option * Update clusters for out node |
||
---|---|---|
.. | ||
icons | ||
LICENSE | ||
package.json | ||
pusher.html | ||
pusher.js | ||
README.md |
node-red-node-pusher
A Node-RED node to send and receive messages using Pusher.com.
Pre-requisites
You need a valid Pusher App key, secret and id from http://pusher.com
Install
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-node-pusher
Usage
Input
Pusher input mode. Use this node to subscribe to a Pusher channel/event. You need a valid Pusher App key.
The node will set msg.payload
to the message that arrives, and msg.topic
to the eventname.
Output
Pusher output node for sending messages to a specific channel/event. You need an App key, secret and ID of a Pusher app.
The node will send the msg.payload
of the incoming message.