93e9be6757 | ||
---|---|---|
.. | ||
AllInOne.handlebars | ||
Generic.handlebars | ||
ItemAdded.handlebars | ||
PlaybackStart.handlebars | ||
PlaybackStop.handlebars | ||
PluginInstalling.handlebars | ||
README.md | ||
UserCreated.handlebars | ||
UserDeleted.handlebars | ||
UserLockedOut.handlebars | ||
UserPasswordChanged.handlebars |
README.md
Pushover Templates
Supported notification types
- Authentication Failure
- Authentication Success
- Generic
- Item added
- Pending restart
- Playback progress
- Playback start
- Playback stop
- Plugin installation cancelled
- Plugin installation failed
- Plugin installed
- Plugin installing
- Plugin uninstalled
- Plugin updated
- Session started
- Task completed
- User created
- User deleted
- User locked out
- User password changed
Usage
- Click on the Webhook plugin
- Click on
Add Generic
- Enter a name
- Enter https://api.pushover.net/1/messages.json as a Webhook URL
- Check your desired notification types
- Paste the desired template (recommended is All in One)
- Add request header (Key:
Content-Type
, Value:application/json
) - Add field (Key:
Token
, Value: Your Pushover application token) - Add field (Key:
UserToken
, Value: Your Pushover user key) - Click
Save
Debug
To debug, you can use https://webhook.site. Ensure that the server can resolve the hostname.
- Go to https://webhook.site. Never leave this page during debugging.
- Copy the webhook URL, ending with a random UID
- Replace the
Webhook URL
to this URL - Press
Save
- (Optional): Set up XHR Redirec to Pushover (can help with validation problems):
- Go to your webhook debugging page again.
- Click
Settings...
besidesXHR Redirect
in the top navigation bar - Enter
https://api.pushover.net/1/messages.json
as the target - Enter
application/json
as the content type - Select
POST
as theHTTP Method
- Press
Close
- Ensure that
XHR Redirect
in the navbar is checked - Press
CTRL
+SHIFT
+I
, click onNetwork
and enterapi.pushover
in the filter field. - Any failed / successful notifications will appear here now. Your client will be used as the XHR redirect.