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

homebridge-syntex-dynamic-platform

Package Overview
Dependencies
Maintainers
1
Versions
348
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-syntex-dynamic-platform - npm Package Compare versions

Comparing version 1.0.0-b1 to 1.0.0-b10

accessories/base.js

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"
}
```
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