
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
homebridge-ftp-motion
Advanced tools
Converts FTP uploads into HTTP motion alerts that homebridge-camera-ffmpeg understands
This plugin converts FTP uploads into HTTP motion alerts homebridge-camera-ffmpeg understands.
Note that this plugin itself does not expose any devices to HomeKit.
sudo npm install -g homebridge-camera-ffmpeg --unsafe-perm
.sudo npm install -g homebridge-ftp-motion
.Edit your config.json
accordingly. Configuration sample:
"platforms": [
{
"platform": "ftpMotion",
"ftp_port": 5000,
"http_port": 8080,
"cameras": [
{
"name": "Cat Food Camera",
"path": "/home/user/images/cat"
}
]
}
]
ftp_port
: The port to run the FTP server on. (Default: 5000
)override_http
: If you need to override the HTTP port, or are not running homebridge-camera-ffmpeg.bot_token
: The token given by @BotFather when creating the Telegram bot.cameras
: (Required) Array of Dafang Hacks camera configs (multiple supported).
name
: (Required) Name of your camera. (Needs to be the same as in homebridge-camera-ffmpeg config)server
: Hostname or IP address of the FTP server to upload to. If not set, files will be stored locally.port
: Port of the remote FTP server. (Default: 21
)username
: Username of the remote FTP server. If not set, no authentication will be used.password
: Password of the remote FTP server. If not set, no authentication will be used.tls
: Should TLS be used to connect to remote FTP server? (Default: false
)path
: The location on the remote FTP server to store incoming images.local_path
: The location on the system Homebridge is running on to store incoming images.chat_id
: The chat ID given by the bot after sending '/start' to it.caption
: If true, sends the filename as the caption to the image.To use this plugin, you'll need to configure the FTP settings on your camera as listed below. Your camera may use slightly different terms for some of these options.
Host Name
: The host name or IP address of the computer running HomebridgePort
: The value you used for ftp_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.Path
: This should be the name of your camera, exactly as defined in the homebridge-camera-ffmpeg plugin.If you want to use the Telegram functionality of this plugin, you'll need to set up your own Telegram bot. Here are instructions on doing that with this plugin.
/newbot
to @BotFather on Telegram and answer the questions it asks you.Use this token to access the HTTP API
, copy the token and add it to this plugin's config under bot_token
./start
.Chat ID for (chatname)
, copy that ID to this plugin's config under chat_id
. This is set uniquely for each camera.FAQs
Converts FTP uploads into HTTP motion alerts that homebridge-camera-ffmpeg understands
We found that homebridge-ftp-motion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.