homebridge-syntex-dynamic-platform
Advanced tools
Comparing version 1.0.0-b1 to 1.0.0-b10
22
index.js
@@ -1,19 +0,9 @@ | ||
var Service, Characteristic, Homebridge, UUIDGen, Accessory; | ||
const SynTexDynamicPlatform = require('./platform'); | ||
module.exports = function(homebridge) | ||
{ | ||
Homebridge = homebridge; | ||
Service = homebridge.hap.Service; | ||
Characteristic = homebridge.hap.Characteristic; | ||
UUIDGen = homebridge.hap.uuid; | ||
Accessory = homebridge.platformAccessory; | ||
const pluginID = 'homebridge-syntex-dynamic-platform'; | ||
const pluginName = 'SynTexDynamicPlatform'; | ||
var unencrypted = [1, '1', 1.0, '1.0', 'Test', 'Test', 'Test1', 'Test2']; | ||
module.exports = (homebridge) => { | ||
for(var i = 0; i < unencrypted.length; i++) | ||
{ | ||
console.log(this.api.hap.uuid.generate(unencrypted[i])); | ||
} | ||
homebridge.registerPlatform('homebridge-syntex-dynamic-platform', 'SynTexDynamicPlatform', SynTexDynamicPlatform, true); | ||
}; | ||
homebridge.registerPlatform(pluginID, pluginName, SynTexDynamicPlatform, true); | ||
} |
{ | ||
"name": "homebridge-syntex-dynamic-platform", | ||
"version": "1.0.0-b1", | ||
"version": "1.0.0-b10", | ||
"description": "A Dynamic Platform Accessory", | ||
"main": "index.js", | ||
"main": "platform.js", | ||
"author": "SynTexDZN", | ||
@@ -7,0 +7,0 @@ "engines": { |
@@ -5,4 +5,17 @@ # Homebridge SynTex Dynamic Platform | ||
# Installation | ||
## Installation | ||
1. Install homebridge using: `sudo npm install -g homebridge` | ||
2. Install this plugin using: `sudo npm install -g homebridge-dynamic-platform` | ||
2. Install this plugin using: `sudo npm install -g homebridge-syntex-dynamic-platform` | ||
## Example Config | ||
**Info:** If the directory for the storage can't be created you have to do it by yourself and give it full write permissions! | ||
- `sudo chown -R homebridge ./SynTex/` ( *permissions only for homebridge* ) | ||
- `sudo chmod 777 -R homebridge ./SynTex/` ( *permissions for many processes* ) | ||
``` | ||
{ | ||
"platform": "SynTexDynamicPlatform", | ||
"log_directory": "./SynTex/log" | ||
} | ||
``` |
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
38311
15
948
20
1
3