cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

PushBullet as quick way to explore Alerts and Subscriptions

No ratings

Pushbullet is a lightweight notifications platform and can be a way to explore Alerts and Subscriptions

Basically create an an Alert on a property and Subscribe to that Alert

Adding Alert to Property Humidity

Adding Subscription

The PTC-PushBulletHelper is just a generic Thing with a service called PushNotification

var json = {

    "body": Message,

    "title":"Temperature fault",

    "type":"note"

};

var accessHeader = {

    "Access-Token": "o.Hnm2DeiABcmbwuc7FSDmfWjfadiLXx2M"

};

var params = {

     proxyScheme: undefined /* STRING */,

    headers: accessHeader /* JSON */,

     ignoreSSLErrors: undefined /* BOOLEAN */,

     useNTLM: undefined /* BOOLEAN */,

     workstation: undefined /* STRING */,

     useProxy: undefined /* BOOLEAN */,

     withCookies: undefined /* BOOLEAN */,

     proxyHost: undefined /* STRING */,

     url: 'https://api.pushbullet.com/v2/pushes' /* STRING */,

     content: json /* JSON */,

     timeout: undefined /* NUMBER */,

     proxyPort: undefined /* INTEGER */,

     password: undefined /* STRING */,

     domain: undefined /* STRING */,

     username: undefined /* STRING */

};

// result: JSON

var result = Resources["ContentLoaderFunctions"].PostJSON(params);

You can test the Helper PushNotification service

Next you can test the subscription

Version history
Last update:
‎Jan 11, 2018 07:56 PM
Updated by:
Labels (2)