motioneye-project/motioneye

Sending notifications via Pushover

開放

#2,089 建立於 2021年4月5日

 (1 則留言) (0 個反應) (0 位負責人)Python (636 個分叉)batch import
help wantedquestiontroubleshooting

倉庫指標

星標
 (3,533 顆星)
PR 合併指標
 (平均合併 16天 14小時) (30 天內合併 33 個 PR)

描述

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

貢獻者指南