Close

Use sighthound cameras as motion sensors for Apple Homekit

Learn how to turn an Android phone into an IP camera security system with Sighthound, download automation scripts & more.

Moderator: Staff

no avatar
gilesmartin
 
Posts: 2
Joined: Thu Jan 26, 2017 12:54 pm

Use sighthound cameras as motion sensors for Apple Homekit

by gilesmartin » Thu Jan 26, 2017 1:03 pm

Hey everyone. I thought I would put up a post as i have found a way to use sighthound sensors as motion sensors in Apple Homekit. To do this you will need to run homebridge on a local computer and install the smtpsensor plugin. The smtpsensor will set up a local SMTP server that will parse emails sent to it for certain keywords and use those keywords to simulate a motion sensor.

first, install homebridge: https://github.com/nfarina/homebridge

next install homebridge-smtpsensor: https://github.com/SphtKr/homebridge-smtpsensor

note that there is an issue with the install of smtpsensor. See this page for the correction: https://github.com/SphtKr/homebridge-sm ... r/issues/3

Add the following code to your homebridge config.json customizing for your cameras:

Code: Select all
{
        "platform": "SmtpSensor",
        "port": "2525",
        "sensors": [
            {
                "name": "Front Motion",
                "keyword": "Motion Front"
            }
            ,
       {
                "name": "Right Motion",
                "keyword": "Motion Right"
            }
            ,
       {
                "name": "Rear Motion",
                "keyword": "Motion Rear"
            }
            ,
            {
                "name": "Left Motion",
                "keyword": "Motion Left"
            }
        ]
       }


Once that is complete set up sighthound to send notification emails to the local IP address of the computer hosting your homebridge server. put in any random email to send from and any random email to send to. Use port 2525 with no authentication information.

User avatar
ryan
 
Posts: 1015
Joined: Wed Aug 25, 2010 2:52 pm
Location: Palo Alto, California

Re: Use sighthound cameras as motion sensors for Apple Homek

by ryan » Sat Jan 28, 2017 10:19 pm

Thanks for sharing!
Learn more about Sighthound Video in our support pages - Reference Guide | All Articles
Are you a developer? Check out our cloud APIs - Demo | Docs

no avatar
Max&Leo
 
Posts: 47
Joined: Wed Jul 23, 2014 8:44 pm

Re: Use sighthound cameras as motion sensors for Apple Homek

by Max&Leo » Mon Apr 17, 2017 12:30 pm

gilesmartin wrote:Hey everyone. I thought I would put up a post as i have found a way to use sighthound sensors as motion sensors in Apple Homekit. To do this you will need to run homebridge on a local computer and install the smtpsensor plugin. The smtpsensor will set up a local SMTP server that will parse emails sent to it for certain keywords and use those keywords to simulate a motion sensor.

first, install homebridge: https://github.com/nfarina/homebridge

next install homebridge-smtpsensor: https://github.com/SphtKr/homebridge-smtpsensor

note that there is an issue with the install of smtpsensor. See this page for the correction: https://github.com/SphtKr/homebridge-sm ... r/issues/3

Add the following code to your homebridge config.json customizing for your cameras:

Code: Select all
{
        "platform": "SmtpSensor",
        "port": "2525",
        "sensors": [
            {
                "name": "Front Motion",
                "keyword": "Motion Front"
            }
            ,
       {
                "name": "Right Motion",
                "keyword": "Motion Right"
            }
            ,
       {
                "name": "Rear Motion",
                "keyword": "Motion Rear"
            }
            ,
            {
                "name": "Left Motion",
                "keyword": "Motion Left"
            }
        ]
       }


Once that is complete set up sighthound to send notification emails to the local IP address of the computer hosting your homebridge server. put in any random email to send from and any random email to send to. Use port 2525 with no authentication information.


Thanks for posting a new idea. In laymen's terms, can you explain what functionality you now have? I don't understand.


Return to Hacker's Corner
cron