1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/social/pusher
Sam Machin 2d28a2304f
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question.  as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
2021-11-02 15:22:30 +00:00
..
icons added pusher node 2014-05-16 18:13:02 +02:00
LICENSE Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
package.json Update package.jsons for mono-repo (#851) 2021-11-02 15:22:30 +00:00
pusher.html update pusher nodes to later api 2017-08-27 14:00:20 +01:00
pusher.js update pusher nodes to later api 2017-08-27 14:00:20 +01:00
README.md update social nodes info style 2016-03-02 13:27:52 +00:00

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.