homebridge-syntex-magichome
Advanced tools
Comparing version 1.0.0-b26 to 1.0.0-b27
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
104540
17
963
2