You are not logged in.

#1 2016-06-17 13:29:33

bolsoncerrado
Member
Registered: 2016-05-30
Posts: 46

pushbullet API integration?!

somehow be able to use pushbullet to recieve an alert once a print finishes?

Offline

#2 2016-06-17 13:38:55

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: pushbullet API integration?!

I am not familiar with pushbullet, but it is highly probable if you put their below example into "execute - end of print" box it will works.

curl -u <your_access_token_here>: -X POST https://api.pushbullet.com/v2/pushes --header 'Content-Type: application/json' --data-binary '{"type": "note", "title": "Note Title", "body": "Note Body"}'

Offline

#3 2016-06-17 13:39:35

bolsoncerrado
Member
Registered: 2016-05-30
Posts: 46

Re: pushbullet API integration?!

Hmmm interesting wink

Offline

#4 2016-06-18 01:25:36

sgraber
Member
From: Indiana
Registered: 2016-03-11
Posts: 54
Website

Re: pushbullet API integration?!

I can verify that this works:

curl -s "https://api.pushbullet.com/v2/pushes" -u APIKEY_GOES_HERE: -d type=note -d title="LittleRP: Print Complete!" --data-urlencode body="Your print is finished and may be removed from the build platform at this time." -X POST

See photo here:  https://goo.gl/photos/fNGoahNz4rJpL5Rh6

Make sure to keep the colon at the end of your API key.

Offline

#5 2016-06-18 07:33:19

bolsoncerrado
Member
Registered: 2016-05-30
Posts: 46

Re: pushbullet API integration?!

awesome, thanks guys!

Offline

#6 2016-06-23 14:27:12

sgraber
Member
From: Indiana
Registered: 2016-03-11
Posts: 54
Website

Re: pushbullet API integration?!

I have to say, I'm REALLY liking the Pushbullet integration.  I almost always have my cellphone on me (and I user the web interface to run the printer from my phone) and with this I no longer need to periodically check my printer to see if the print is done.  smile

Offline

#7 2016-06-23 14:29:18

bolsoncerrado
Member
Registered: 2016-05-30
Posts: 46

Re: pushbullet API integration?!

wink

Offline

Board footer

Powered by FluxBB