Add Pushbullet notifications to your Yield Generator - JoinMarket-Org/joinmarket GitHub Wiki
NOTE: This guide, just like Telegram notifications one, is for advanced users who are comfortable editing Python code (and can tell spaces from tabs apart ;)).
NOTE 2: Pushbullet doesn't offer encryption/authentication for messages published to channels, but given the level of sensitivity of this data, hiding it behind a hard to guess tag should be sufficient for most cases.
Step_0: Before you start
- Download and install Pushbullet,
- Create account and/or login.
Step_1: Create channel
- Being logged-in, navigate here,
- Create a hard to guess and long
tag, - Optionally, fill-in
name,descriptionandimage, - Press
Create channel.
Example
tag(don't use this one):
joinmarket-J332jEBgAsFUzicLYddP-ZtMz9vxbfiIAqAT0rM27
Step_2: Get your access token
- Being logged in, navigate here,
- Scroll down and press
Create access token, - Copy the
token.
Step_3: Get the helper script
- Navigate here,
- Download that file and save it in
joinmarketrepo root.
# tl;dr:
$ cd PATH/TO/JOINMARKET/ && wget https://raw.githubusercontent.com/meeDamian/pushmarket/master/pushbullet.py
Step_4: Integrate
- Open
./joinmarket/maker.py - Paste the code below to be just below line:
log.info('earned = ' + str(self.real_cjfee - self.txfee))
### PUSHBULLET STUFF
from pushbullet import notify_pushbullet
notify_pushbullet(self.real_cjfee, self.txfee)
### PUSHBULLET END
So it looks something like (mind the indentation!):

Step_5: Configure
- Open
./pushbullet.py, - Set
CHANNELto yourtagfrom Step_1, - Set
TOKENto yourtokenfrom Step_2, - Set
CURRENCYto eitherUSD,EURorGBP, - Change
SATOSHItoFalseif you prefer getting notifications with BTC as a unit.
Step_6: Restart
Restart your yield generator script and you should be done.