motioneye-project/motioneye

Sending notifications via Pushover

Aberta

#2.089 aberto em 5 de abr. de 2021

 (1 comentário) (0 reação) (0 responsável)Python (636 forks)batch import
help wantedquestiontroubleshooting

Métricas do repositório

Stars
 (3.533 estrelas)
Métricas de merge de PR
 (Mesclagem média 16d 14h) (33 fundiu PRs em 30d)

Description

motionEye version 0.42.1 Motion version 4.2.2

There is the following misunderstanding. When notifications is sending about motion detection, I use the following script

#! / usr / bin / python import sys, requests r = requests.post ("https://api.pushover.net/1/messages.json", data = {"token": "token", "user": "user", "message": "Motion detected!"}, files = {" attachment ": open (sys.argv [1]," rb ")})

It works when called from terminal (python pushover.py ) and notification comes But when used in a motionEye nothing happens

Guia do colaborador