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

homebridge-http-mqtt-motion

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-http-mqtt-motion

Allows HTTP GET requests to Trigger homebridge-camera-ffmpeg Motion Alerts

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

homebridge-http-mqtt-motion

npm npm

This plugin allows HTTP requests to trigger homebridge-camera-ffmpeg motion alerts.

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

Installation

  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-http-mqtt-motion.
  4. Update your configuration file. See configuration sample below.

Usage

Make an HTTP request to the server with the path starting as either motion or reset to trigger or clear the motion respectively, and the next segment of the path being your URL encoded camera name, as configured in homebridge-camera-ffmpeg.

http://raspberrypi.local:8080/motion/Cat%20%Food%20Camera will send a motion alert to the camera 'Cat Food Camera'.

http://raspberrypi.local:8080/reset/Cat%20%Food%20Camera will clear the motion alert to the camera 'Cat Food Camera'.

Configuration

Edit your config.json accordingly. Configuration sample:

   "platforms": [
       {
           "platform": "httpMqttMotion",
           "mqtt_server": "10.0.1.190",
           "mqtt_port": 1883,
           "mqtt_topic": "homebridge/motion",
           "http_port": 8080
       }
   ]
FieldsDescriptionRequired
platformMust always be httpMqttMotion.Yes
mqtt_serverThe address of your MQTT server. (Default: 127.0.0.1)No
mqtt_portThe port of your MQTT server. (Default: 1883)No
mqtt_topicMQTT topic that homebridge-camera-ffmpeg is subscribed to. (Default: homebridge/motion)No
http_portThe port to listen to HTTP requests on. (Default: 8080)No

Keywords

FAQs

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