homebridge-syntex-magichome
Advanced tools
Comparing version 1.0.0-b22 to 1.0.0-b23
{ | ||
"platforms": [ | ||
{ | ||
"platform": "MagicHome-Platform", | ||
"platform": "SynTexMagicHome", | ||
"debug": true, | ||
@@ -6,0 +6,0 @@ "disableDiscovery": false, |
26
index.js
@@ -1,15 +0,15 @@ | ||
// MagicHome Platform | ||
const MagicHome = require('./src/magichome') | ||
module.exports = (homebridge) => { | ||
var homebridgeGlobals = { | ||
Service: homebridge.hap.Service, | ||
Characteristic: homebridge.hap.Characteristic, | ||
Accessory: homebridge.platformAccessory, | ||
UUIDGen: homebridge.hap.uuid, | ||
PersistPath: homebridge.user.storagePath(), | ||
} | ||
MagicHome.globals.setHomebridge(homebridgeGlobals) | ||
homebridge.registerPlatform(MagicHome.pluginName, MagicHome.platformName, MagicHome.platform, true) | ||
} | ||
module.exports = function(homebridge) | ||
{ | ||
var homebridgeGlobals = { | ||
Service: homebridge.hap.Service, | ||
Characteristic: homebridge.hap.Characteristic, | ||
Accessory: homebridge.platformAccessory, | ||
UUIDGen: homebridge.hap.uuid, | ||
PersistPath: homebridge.user.storagePath() | ||
}; | ||
MagicHome.globals.setHomebridge(homebridgeGlobals); | ||
homebridge.registerPlatform(MagicHome.pluginName, MagicHome.platformName, MagicHome.platform, true); | ||
} |
{ | ||
"name": "homebridge-syntex-magichome", | ||
"version": "1.0.0-b22", | ||
"version": "1.0.0-b23", | ||
"description": "Homebridge Plugin for MagicHome LED Strips with preset scenes", | ||
"main": "index.js", | ||
"preferGlobal": true, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"lint": "./node_modules/.bin/eslint .", | ||
"ci": "npm install && npm run lint" | ||
"author": { | ||
"name": "SynTexDZN" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/SynTexDZN/homebridge-syntex-magichome.git" | ||
"engines": { | ||
"homebridge": ">=0.4.30", | ||
"node": ">=9.11.2" | ||
}, | ||
"dependencies": { | ||
"babel-eslint": "^8.2.6", | ||
"color-convert": "^1.5.0", | ||
"node-persist": "^3.0.1" | ||
}, | ||
"keywords": [ | ||
"syntex", | ||
"homebridge", | ||
"homebridge-plugin", | ||
"plugin", | ||
"http", | ||
"homekit", | ||
"smarthome", | ||
"siri", | ||
"Flux", | ||
@@ -37,21 +45,11 @@ "magic", | ||
], | ||
"engines": { | ||
"homebridge": ">=0.4.30" | ||
"homepage": "https://github.com/SynTexDZN/homebridge-syntex-webhooks#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://git@github.com/SynTexDZN/homebridge-syntex-magichome.git" | ||
}, | ||
"author": "SynTexDZN", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/sahilchaddha/homebridge-syntex-magichome/issues" | ||
"url": "https://github.com/SynTexDZN/homebridge-syntex-magichome/issues" | ||
}, | ||
"homepage": "https://github.com/sahilchaddha/homebridge-syntex-magichome#readme", | ||
"devDependencies": { | ||
"eslint": "^5.3.0", | ||
"eslint-config-airbnb-base": "^13.0.0", | ||
"eslint-plugin-import": "^2.13.0" | ||
}, | ||
"dependencies": { | ||
"babel-eslint": "^8.2.6", | ||
"color-convert": "^1.5.0", | ||
"node-persist": "^3.0.1" | ||
} | ||
"license": "ISC" | ||
} |
@@ -39,3 +39,3 @@ // | ||
const self = this | ||
const cmd = path.join(__dirname, '../flux_led_new.py ' + lightAgent.getAddress(address) + command) | ||
const cmd = path.join(__dirname, '../flux_led.py ' + lightAgent.getAddress(address) + command) | ||
if (self.homebridge.debug) { | ||
@@ -42,0 +42,0 @@ self.log(cmd) |
@@ -141,3 +141,3 @@ // | ||
const self = this | ||
const cmd = path.join(__dirname, '../flux_led_new.py') | ||
const cmd = path.join(__dirname, '../flux_led.py') | ||
self.log('Discovering Devices') | ||
@@ -144,0 +144,0 @@ this.proc = spawn(cmd, ['-s']) |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
0
1
100074
16
703