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 - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

index.js

@@ -88,4 +88,4 @@ const mqtt = require('mqtt');

if (!camera.timer) {
this.log.debug('Publishing MQTT Message - ' + this.homebridge_topic + ': ' + camera.name);
client.publish(this.homebridge_topic, camera.name);
this.log.debug('Publishing MQTT Message - ' + this.homebridge_topic + '/motion: ' + camera.name);
client.publish(this.homebridge_topic + '/motion', camera.name);
} else {

@@ -103,4 +103,4 @@ this.log.debug('Motion set received, but cooldown running: ' + camera.name);

if (!camera.motion) {
this.log.debug('Publishing MQTT Message - ' + this.homebridge_topic + '/reset: ' + camera.name);
client.publish(this.homebridge_topic + '/reset', camera.name);
this.log.debug('Publishing MQTT Message - ' + this.homebridge_topic + '/motion/reset: ' + camera.name);
client.publish(this.homebridge_topic + '/motion/reset', camera.name);
}

@@ -113,4 +113,4 @@ camera.timer = null;

if (!camera.timer) {
this.log.debug('Publishing MQTT Message - ' + this.homebridge_topic + '/reset: ' + camera.name);
client.publish(this.homebridge_topic + '/reset', camera.name);
this.log.debug('Publishing MQTT Message - ' + this.homebridge_topic + '/motion/reset: ' + camera.name);
client.publish(this.homebridge_topic + '/motion/reset', camera.name);
} else {

@@ -117,0 +117,0 @@ this.log.debug('Motion clear received, but cooldown running: ' + camera.name);

{
"displayName": "Homebridge Dafang MQTT Republish",
"name": "homebridge-dafang-mqtt-republish",
"version": "1.0.1",
"version": "1.0.2",
"description": "Republishes MQTT Motion Messages from Dafang Hacks into a Format homebridge-camera-ffmpeg Understands",

@@ -6,0 +6,0 @@ "repository": {

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