smtp_port: The port to run the SMTP server on. (Default: 2525)
override_http: If you need to override the HTTP port, or are not running homebridge-camera-ffmpeg.
space_replace: The character to replace a space with in the camera name portion of the email address. (Default: +)
log_emails: Write to the Homebridge log when an email is received. (Default: false)
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.
Server Address: The host name or IP address of the computer running Homebridge
Port: The value you used for smtp_port in the plugin configuration.
Username and Password: Any value can currently be used, as authentication is not currently supported in this plugin. That will likely be added in future versions.
From Address: Any value can be used, this is not checked.
To Address: This needs to be your camera's name, exactly as configured in homebridge-camera-ffmpeg but with + instead of space, followed by an @ and any domain you want. Example: [email protected]
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:
Grant Node permissions to use low ports: sudo setcap 'cap_net_bind_service=+ep' /usr/bin/node
请发表评论