- Posted on
Thu Feb 08, 2018 9:29 am
-
Swancoat
offline
-
- Posts: 503
- Joined: Nov 20, 2009
- Location: Houston
-
My camera setup is basically IP cameras fed to Security Spy like yourself.
So the whole process of putting images into a directory and then uploading was a bit clunky, and I'm not quite sure I'm doing it the best way yet.
Basically, for my front door camera, it is recording video on motion and then continuously grabbing a still every 60s and overwriting the previous still. (I'm at work right now, and don't have Security Spy in front of me, so I can't remember the exact details on why I set it up like that. I think I wanted to have a statically named file, and that could only be done with the 'continuous' method as opposed to just when motion was detected).
Another wrinkle I had was that Security Spy is not running on my Indigo mac, but rather an older iMac I have that basically just runs Security Spy. So I think I'm using Security Spy's 'webcam' method to put the jpg on my Indigo mac via ssh. That seems to be working fairly well.
So now using the Cynical Security Spy plugin to trigger on motion detected on that Camera, I use your plugin to upload the image (and then do it again, delayed by 60s to make sure I get an image of just the package, and not the delivery guy).
I may want to change the timing so that a new still is being recorded every 10 or 15s and then narrow that interval for when the second image gets uploaded. Maybe even upload a third.
As for the trigger, I currently get an email whenever there is motion on the camera, and if it is a delivery, I can either reply to the email with a pre-determined subject line, or alternately I have an action I can just trigger manually from the Indigo app on my phone. Those simply set a flag variable that I have a package waiting, and when the next person comes home it makes an announcement on the whole house audio that there is a package at the front door (since we never actually come in there, and usually just come in through the garage). I'd like to have the plugin handle the setting of that flag!
http://nerdhome.jimdo.com