Send picture of camera front door when door bell rings

Posted on
Wed Aug 21, 2013 2:11 pm
McJohn offline
User avatar
Posts: 632
Joined: Dec 18, 2012
Location: The Netherlands

Send picture of camera front door when door bell rings

Hello,

I have connected my door bell to Indigo (that's another story) but this works perfect;
When some body push the button of the door bell, I receive an email from Indigo on my iPhone;
"There is someone at the door!" :-)

And then I select the Cam view App on my iPhone and I can see who is at the door.

But; Is it possible that Cynical SecuritySpy can send a picture with this e-mail from the front door cam?

Thanks for the help and kind regards,

John

Posted on
Wed Aug 21, 2013 6:59 pm
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Send picture of camera front door when door bell rings

Pretty sure security spy itself could do this with a script. You could have the doorbell be a trigger in indigo to fire off the script.

Posted on
Thu Aug 22, 2013 1:59 pm
McJohn offline
User avatar
Posts: 632
Joined: Dec 18, 2012
Location: The Netherlands

Re: Send picture of camera front door when door bell rings

Thanks Dewster for this solution. Did you have maybe such kind of script for me?
I'm not a star in AppleScript....

Thanks for the help and greetings,

John

Posted on
Thu Aug 22, 2013 2:31 pm
Dewster35 offline
Posts: 1030
Joined: Jul 06, 2010
Location: Petoskey, MI

Re: Send picture of camera front door when door bell rings

I don't have any scripts to do that. However, if the camera only catches motion on your front porch and you have the sensitivity turned down to do so, then you can have security spy send you the image directly from the software settings and bypass indigo altogether. Might have to tinker with the settings a bit to get what you what but I think you could get there that way.

Posted on
Sat Aug 24, 2013 1:19 pm
McJohn offline
User avatar
Posts: 632
Joined: Dec 18, 2012
Location: The Netherlands

Re: Send picture of camera front door when door bell rings

Hello Dewster,

Thanks for your answer but this solution gives me a picture of everybody who is in front of the door (the postman, my children, etc.).
I only want a picture when the door bell rings (a trigger in Indigo) and I thought this was a nice new feature in this Cynical SecuritySpy plugin :D
Perry; is this possible?

Kind regards,

John

Posted on
Sat Aug 24, 2013 3:53 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Send picture of camera front door when door bell rings

I do it with a script. Maybe something like this:

Code: Select all
tell application "SecuritySpy"
   capture image camera number 1 as "/Users/TV/Sites/ss/1.jpg"
   ---Change file path and name
   with overwrite
end tell

tell application "Mail"
   set addressList to {"x@xxxxx.net"}
   set nameList to {"Me"}
   set bodyvar to "Here is the photo taken with the front door camera."
   set subjectvar to "Front Door Webcam Image"
   set attachmentVar to "/Users/TV/Sites/ss/1.jpg" ---CHANGE FILE NAME HERE
   set newMessage to (a reference to (make new outgoing message))
   tell newMessage
      repeat with i from 1 to count nameList
         make new to recipient at end of to recipients with properties {name:item i of nameList, address:item i of addressList}
      end repeat
      set the subject to subjectvar
      set the content to bodyvar
      tell content
         make new attachment with properties {file name:attachmentVar}
      end tell
   end tell
   send newMessage
end tell


Carl

Posted on
Mon Aug 26, 2013 2:45 am
McJohn offline
User avatar
Posts: 632
Joined: Dec 18, 2012
Location: The Netherlands

Re: Send picture of camera front door when door bell rings

Hello Carl,

Thank you very much for this input and your effort!
I think, this is what I need. I gonna play with this! :)

Kind regards,

John

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest