homebridge-bf-neobridge
Advanced tools
Comparing version 1.3.0 to 1.3.1
12
index.js
@@ -36,3 +36,3 @@ var heatmiser = require("heatmiser") | ||
// registerPlatform(pluginName, platformName, constructor, dynamic), dynamic must be true | ||
homebridge.registerPlatform("homebridge-bf", "Neobridge", NeobridgePlatform, true) | ||
homebridge.registerPlatform("homebridge-bf-neobridge", "Neobridge", NeobridgePlatform, true) | ||
} | ||
@@ -86,3 +86,3 @@ | ||
this.neo.info(data => { | ||
console.log("***** " + data.devices.length + " devices found") | ||
// console.log("***** " + data.devices.length + " devices found") | ||
this.devices.clear() | ||
@@ -99,3 +99,3 @@ | ||
if (accessory) { | ||
this.log("* Already registered - " + accessory.displayName + " - " + device.DEVICE_TYPE) | ||
// this.log("* Already registered - " + accessory.displayName + " - " + device.DEVICE_TYPE) | ||
} | ||
@@ -128,3 +128,3 @@ else { | ||
const isOffline = device.OFFLINE | ||
const err = new Error(HAPServer.Status.SERVICE_COMMUNICATION_FAILURE) | ||
const err = new Error(HAPServer.SERVICE_COMMUNICATION_FAILURE) | ||
@@ -235,3 +235,3 @@ // updates based on the type of accesory - plug or thermostat | ||
this.log("Remove All Accessories") | ||
this.api.unregisterPlatformAccessories("homebridge-bf", "Neobridge", [...this.accessories.values()]) | ||
this.api.unregisterPlatformAccessories("homebridge-bf-neobridge", "Neobridge", [...this.accessories.values()]) | ||
this.accessories.clear() | ||
@@ -242,3 +242,3 @@ } | ||
this.log("Remove accessories - " + accessories.length) | ||
this.api.unregisterPlatformAccessories("homebridge-bf", "Neobridge", accessories) | ||
this.api.unregisterPlatformAccessories("homebridge-bf-neobridge", "Neobridge", accessories) | ||
@@ -245,0 +245,0 @@ accessories.forEach(a => this.accessories.delete(a.displayName)) |
{ | ||
"private": false, | ||
"displayName": "Heatmiser NeoHub", | ||
"name": "homebridge-bf-neobridge", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Homebridge plugin for Heatmiser's Neohub", | ||
"license": "ISC", | ||
"license": "Apache-2.0", | ||
"engines": { | ||
"node": "^18.17.0 || ^20.9.0", | ||
"homebridge": "^1.6.0" | ||
}, | ||
"main": "index.js", | ||
"keywords": [ | ||
"homebridge-plugin" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/example/homebridge.git" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/example/homebridge/issues" | ||
}, | ||
"dependencies": { | ||
"heatmiser": "github:carlossg/heatmiser-node" | ||
}, | ||
"engines": { | ||
"node": ">=8.9", | ||
"homebridge": ">=0.4.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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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 repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
15385
275
1
1