2015-04-24 22:17:02 +02:00
|
|
|
node-red-node-pusher
|
|
|
|
====================
|
|
|
|
|
|
|
|
A <a href="http://nodered.org" target="_new">Node-RED</a> 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](http://pusher.com)
|
|
|
|
|
|
|
|
Install
|
|
|
|
-------
|
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
2015-04-24 22:17:02 +02:00
|
|
|
|
|
|
|
npm install node-red-node-pusher
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
### Input
|
2015-04-24 22:17:02 +02:00
|
|
|
|
|
|
|
Pusher input mode. Use this node to subscribe to a Pusher channel/event.
|
|
|
|
You need a valid Pusher App key.
|
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
The node will set `msg.payload` to the message that arrives, and `msg.topic` to the eventname.
|
2015-04-24 22:17:02 +02:00
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
### Output
|
2015-04-24 22:17:02 +02:00
|
|
|
|
|
|
|
Pusher output node for sending messages to a specific channel/event.
|
|
|
|
You need an App key, secret and ID of a Pusher app.
|
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
The node will send the `msg.payload` of the incoming message.
|