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

homebridge-syntex-magichome

Package Overview
Dependencies
Maintainers
1
Versions
423
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-syntex-magichome - npm Package Compare versions

Comparing version 1.0.0-b26 to 1.0.0-b27

logger.js

2

package.json
{
"name": "homebridge-syntex-magichome",
"version": "1.0.0-b26",
"version": "1.0.0-b27",
"description": "Homebridge Plugin for MagicHome LED Strips with preset scenes",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,2 +9,4 @@ const LightBulb = require('./accessories/lightBulb');

var logger = require('../logger');
var homebridge;

@@ -21,2 +23,10 @@

this.devices = config['accessories'] || [];
this.cacheDirectory = config['cache_directory'] || './SynTex';
this.logDirectory = config['log_directory'] || './SynTex/log';
this.port = config['port'] || 1712;
logger.create('SynTexMagicHome', this.logDirectory, api.user.storagePath());
// Set Cache Storage Path

@@ -37,3 +47,3 @@ if(homebridge)

{
log('** DISABLED DISCOVERY **');
logger.log('info', 'bridge', 'Bridge', '** DISABLED DISCOVERY **');
lightAgent.disableDiscovery();

@@ -44,2 +54,9 @@ }

lightAgent.startDiscovery();
/*
DeviceManager.SETUP(logger, this.cacheDirectory);
Automations.SETUP(logger, this.cacheDirectory, DeviceManager).then(function () {
restart = false;
});
*/
}

@@ -46,0 +63,0 @@

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