Socket
Book a DemoInstallSign in
Socket

mqtt-camera-ftpd

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mqtt-camera-ftpd

Acts as a fake FTPd server to translate FTP uploads from IP Cameras into motion events for MQTT

1.1.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

MQTT FTPd for IP Cameras

Translates FTP uploads from IP Cameras into motion events for MQTT.

GitHub tag Docker Pulls Docker Stars

MQTT Events

Events about a device are sent to MQTT using the following format:

{PREFACE}/{USER_NAME}/motion

PREFACE is defined as "camera" by default in your configuration

For example, my Foscam is uploading to this FTP service as "Front Door". So the following topic will be published:

# Motion state (active|inactive)
camera/Front Door/motion

Configuration

The bridge has one yaml file for configuration. Currently we only have three items you can set:

---
mqtt:
    # Specify your MQTT Broker's hostname or IP address here
    host: mqtt
    # Preface for the topics $PREFACE/$USER_NAME/motion
    preface: camera

# Port number to listen on
port: 21

We'll be adding additional fields as this service progresses (mqtt port, username, password, etc).

Usage

  • Run the Docker container

    $ docker run \
        -d \
        --name="mqtt-camera-ftpd" \
        -v /opt/mqtt-camera-ftpd:/config \
        -p 8080:8080 \
        stjohnjohnson/mqtt-camera-ftpd
    
  • Customize the MQTT host

    $ vi /opt/mqtt-camera-ftpd/config.yml
    $ docker restart mqtt-camera-ftpd
    
  • Configure your cameras to use this service as a FTP server

  • Watch as MQTT is populated with events from your devices

Keywords

mqtt

FAQs

Package last updated on 17 Mar 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.