Camera motion detector triggers smartphone

QVR Pro, QVR Pro Client, QVR Center and Surveillance Station
Post Reply
Leneque
First post
Posts: 1
Joined: Tue Jan 10, 2017 6:02 am

Camera motion detector triggers smartphone

Post by Leneque »

I've been trying to find a solution in and outside this forum. I've purchased and connected a Foscam FI9816P to my network with a QNAP TS453A. On my QNAP I'm running Surveillance station. Now, what I would like to do is to make a configuration that gives an alarm to my smartphone when the camera picks up motion. I've successfully used a client on my smartphone, but since it needs to be constantly monitoring the image, battery consumption is unacceptable.
Please, does anyone have a solution?
drjcro
First post
Posts: 1
Joined: Mon Sep 25, 2017 4:13 pm

Re: Camera motion detector triggers smartphone

Post by drjcro »

im using telegram bot for notification - it's better :)
you can run
inotifywait -m -e close_write <PATH_WHERE_IS_CAMERA_FILES_CREATED>|while read file;do curl -s -X POST "https://api.telegram.org/<YOUR_BOT_ID>: ... cted-`date +%F-%H-%M-%S`"; curl -s -X POST "https://api.telegram.org/<YOUR_BOT_ID>: ... /sendPhoto" -F chat_id="<CHAT_ID>" -F photo="@$file";done

and with this you will got all notification+photos on telegram chat :)
Post Reply

Return to “Surveillance Solution”