maddinek / pushover

Python script for Raspberry Pi Pushover notifications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pushover

Pushover notifications for MotionEye OS on the Raspberry Pi.

Receive mobile push notifications generated by MotionEye OS whenever movement has been detected by your Raspberry Pi camera module.

Add tokens (app and user) before running!

This script assumes you have a Pushover account (http://pushover.net), and have paid for full access. You will then be provided with your app and user tokens, which are essential for this script to work.

Once you have them, substitute them in the relevant places in pushover.py. The simplest way to do this is:

cd pushover
sudo nano pushover.py

Then find the sections called "token" and "user" (which by default are called):

"APP_TOKEN"
"USER_TOKEN"

Once you have added your tokens:

ctrl + x  # (to exit nano)
y         # (to save)

You can then run the script via:

./pushover.py

However, to set up MotionEye OS you need to follow the Add Push Notifications to MotionEye OS guide, which provides a more detailed overview of how to configure MotionEye OS to use your script.

About

Python script for Raspberry Pi Pushover notifications


Languages

Language:Python 100.0%