Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-dafang-mqtt-republish

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-dafang-mqtt-republish

Republishes MQTT Motion Messages from Dafang Hacks into a Format homebridge-camera-ffmpeg Understands

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-86.96%
Maintainers
1
Weekly downloads
 
Created
Source

homebridge-dafang-mqtt-republish

npm npm

This plugin republishes MQTT motion messages from Dafang Hacks into a format homebridge-camera-ffmpeg understands.

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

Installation

  1. Install homebridge using npm install -g homebridge.
  2. Install homebridge-camera-ffmpeg using npm install -g homebridge-camera-ffmpeg.
  3. Install this plugin using npm install -g homebridge-dafang-mqtt-republish.
  4. Update your configuration file. See configuration sample below.

Configuration

Edit your config.json accordingly. Configuration sample:

   "platforms": [
       {
           "platform": "dafangMqtt",
           "server": "10.0.1.190",
           "port": 1883,
           "cameras": [
               {
                   "name": "Cat Food Camera",
                   "dafang_topic": "dafang/catcam",
                   "homebridge_topic": "homebridge/motion"
               }
           ]
       }
   ]
FieldsDescriptionRequired
platformMust always be dafangMqtt.Yes
serverThe address of your MQTT server. (Default: 127.0.0.1)No
portThe port of your MQTT server. (Default: 1883)No
camerasArray of Dafang Hacks camera configs (multiple supported).Yes
|- nameName of your camera. (Needs to be the same as in homebridge-camera-ffmpeg config)Yes
|- dafang_topicMQTT topic that your camera publishes to.Yes
|- homebridge_topicMQTT topic that homebridge-camera-ffmpeg is subscribed to.Yes

Keywords

FAQs

Package last updated on 05 Jul 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc