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-b22 to 1.0.0-b23

2

config-sample.json
{
"platforms": [
{
"platform": "MagicHome-Platform",
"platform": "SynTexMagicHome",
"debug": true,

@@ -6,0 +6,0 @@ "disableDiscovery": false,

@@ -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'])

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