motioneye-project/motioneye

Sending notifications via Pushover

オープン

#2,089 opened on 2021/04/05

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (636 件のフォーク)batch import
help wantedquestiontroubleshooting

Repository metrics

Stars
 (3,533 個のスター)
PR merge metrics
 (平均マージ 16d 14h) (30d で 33 merged PRs)

説明

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

コントリビューターガイド