Plugins

pushover Stable

def pushover(token: str, user: str, level: str)

Bind Pushover notifications to the MechWolf logger.

Pushover is an online service that takes care of most of the complexity of sending push notifications to mobile devices. This function handles the API calls and logger configuration: all you need to do is set up your Pushover account and download the app. At the time of this writing, the app is a one-time $5 purchase.

To set up an account, you will require a token and a user key. Please see this guide for more information.

Arguments

  • token: Your Pushover token.
  • user: The user key for your account.
  • level: The logging level. See Protocol.execute for the valid level strings.

Example

import mechwolf as mw
mw.plugins.pushover(YOUR_TOKEN, YOUR_USER_KEY, "info")

Metadata

Built and maintained by:

Author Institution GitHub
Benjamin Lee Harvard University @Benjamin-Lee