diff --git a/notify.md b/notify.md index 1424fde..f247bad 100644 --- a/notify.md +++ b/notify.md @@ -454,3 +454,27 @@ And then set notification hook: ``` acme.sh --set-notify --notify-hook telegram ``` + +## 14. Set notification for pushbullet.com + +Send notification via pushbullet.com's api. The notification will be pushed to the specified pushover application. + +Create a Pushbullet API key at https://www.pushbullet.com/#settings/account. +If you want to send the push notification to a specific device, follow the instructions at https://docs.pushbullet.com/#list-pushes to get a list of all your devices, you should make note of the device `iden` field. + +```sh +#Required, the application token. +export PUSHBULLET_TOKEN="xxxxxxxx" + +#Optional, Id of the specific device you want to send the notification +export PUSHBULLET_DEVICE="xxxxxxxx" + +``` + +Ok, let's set notification hook: + +```sh +acme.sh --set-notify --notify-hook pushbullet +``` + +The PUSHBULLET_TOKEN and PUSHBULLET_DEVICE will be saved in ~/.acme.sh/account.conf and will be reused when needed. \ No newline at end of file