node-red-nodes/social/pusher/README.md

34 lines
844 B
Markdown
Raw Permalink Normal View History

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`
npm install node-red-node-pusher
Usage
-----
2016-03-02 14:26:53 +01:00
### Input
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.
2016-03-02 14:26:53 +01:00
### Output
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.