From 777df999315ee828714587798c3be6e50f9afd36 Mon Sep 17 00:00:00 2001 From: cirow Date: Sat, 17 Jul 2021 16:07:45 -0300 Subject: [PATCH] added pushbullet notification documentation --- notify.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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