Sunoo / homebridge-smtp-motion

Converts SMTP messages into HTTP motion alerts that homebridge-camera-ffmpeg understands
BSD 2-Clause "Simplified" License
9 stars 3 forks source link

homebridge-smtp-motion

npm npm verified-by-homebridge

This plugin converts SMTP messages into HTTP motion alerts homebridge-camera-ffmpeg understands.

Note that this plugin itself does not expose any devices to HomeKit.

Installation

  1. Install Homebridge using the official instructions.
  2. Install homebridge-camera-ffmpeg using sudo npm install -g homebridge-camera-ffmpeg --unsafe-perm.
  3. Install this plugin using sudo npm install -g homebridge-smtp-motion.
  4. Update your configuration file. See configuration sample below.

Configuration

Edit your config.json accordingly. Configuration sample:

"platforms": [
    {
        "platform": "smtpMotion",
        "smtp_port": 2525
    }
]

Camera Configuration

To use this plugin, you'll need to configure the SMTP settings on your camera as listed below. Your camera may use slightly different terms for some of these options.

Running on Port 25 on Linux

If you have a camera that refuses to connect to an SMTP server on a port other than 25, it is still possible to use this plugin: