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/pushbullet
2015-02-07 12:36:30 +01:00
..
icons Move nodes over from main repo 2013-10-30 20:38:41 +00:00
57-pushbullet.html Updated pushbullet node with all push types, added new "pushbullet in" that emits pushes. Added unit tests. 2015-02-07 12:36:30 +01:00
57-pushbullet.js Updated pushbullet node with all push types, added new "pushbullet in" that emits pushes. Added unit tests. 2015-02-07 12:36:30 +01:00
LICENSE add BBB, Twilio and Pushbullet as npms 2014-07-15 10:15:34 +01:00
package.json Updated pushbullet node with all push types, added new "pushbullet in" that emits pushes. Added unit tests. 2015-02-07 12:36:30 +01:00
README.md Updated pushbullet node with all push types, added new "pushbullet in" that emits pushes. Added unit tests. 2015-02-07 12:36:30 +01:00

node-red-node-pushbullet

A Node-RED node to send alerts via Pushbullet.

Install

Run the following command in the root directory of your Node-RED install

npm install node-red-node-pushbullet

Usage

Pushbullet output node

Uses PushBullet to push msg.payload to a device that has the PushBullet app installed.

  • Optionally uses msg.topic to set the title, if not already set in the properties.
  • Optionally uses msg.pushtype to set the type of the push, if not already set in the properties.
  • Optionally uses msg.deviceid to set the device ID, if not already set in the properties.

You can also push to any channels that you own either configured or via msg.channel.

The node can also dismiss and delete any push and update items in a pushed list. In this case msg.data.iden must be set to a valid push id, if msg originates from the Pushbullet input node this value is already set.

Pushbullet input node

Receives Pushbullets from all devices. Messages contain the following data:

  • msg.pushtype: type of message
  • msg.topic: topic information from the push
  • msg.payload: main content of the push
  • msg.data: original object from the pushbullet API containing e.g. sender, receiver and message ids.

Pushes of type link and file will also have msg.message containing the message associated with the push.

For further details of see Pushbullet Stream API and Pushbullet Push API.