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

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
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

More detailed setup instructions available in the wiki.

  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-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,
           "homebridge_topic": "homebridge/motion",
           "cameras": [
               {
                   "name": "Cat Food Camera",
                   "dafang_topic": "dafang/catcam"
               }
           ]
       }
   ]
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
homebridge_topicMQTT topic that homebridge-camera-ffmpeg is subscribed to. (Default: homebridge/motion)Yes
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. (Must be unique per camera)Yes
|- cooldownCooldown in seconds. Set to 0 to disable.No

Keywords

FAQs

Package last updated on 08 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