Skip to content

Convert UpDown.io webhooks to Pushover notifications

License

Notifications You must be signed in to change notification settings

MarcHagen/function-updownio-to-pushover

Repository files navigation

DigitalOcean Function for UpDown.io webhooks to Pushover

This repo/code will convert UpDown.io webhooks to a Pushover.net notification with the help of a simple function.

Note: Following these steps may result in charges for the use of DigitalOcean services

Deploy to DO

Requirements

Getting Started

  1. Goto your Pushover.net account and grap the User Key on the homepage (we need this later).
  2. At the bottom click Create an Application/API Token.
  3. Fill in the fields to your liking.
  4. When created, copy the API Token/Key (we need this later).
  1. (if you're not logged in, you may see an error message. Visit https://cloud.digitalocean.com/login directly and authenticate, then try again).
  2. Review your plan, and hit Next to Environment Variables.
  3. On Environment Variables expand the updownio-to-pushover with Edit, there will be 2 keys setup for you.
  4. Fill in the Pushover User Key in PUSHOVER_USER and Pushover API Token in PUSHOVER_TOKEN.
  5. Tick the Encrypt button, so the keys will be removed from all logs.
  6. Hit Save and then hit Next, change settings if desire and review the billing plan(!) at the end.
  7. When all is fine, hit Create Resources and the app will be deployed.
  8. Wait for the deployment to be complete.
  9. Hit the Overview tab and under HTTP ROUTES copy the link. (we need this for UpDown.io)

Setup UpDown.io

  1. Go to the settings page.
  2. Scroll down and find WEBHOOKS on the rightside.
  3. Fill in the URL we copied from the Fuctions tab earlier.
  4. Hit Save at the bottom.