mirror of
https://github.com/mtan93/homebridge.git
synced 2026-05-23 22:07:32 +01:00
Removed submodule for HAP-NodeJS and moved to NPM
It seemed to be easier all around to use NPM to manage the dependancy on HAP-NodeJS. This PR removes the submodule, and adjusts the paths of all checked in shims to reference the NPM module instead. I also updated the documentation to reflect the simpler install ;)
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
// When you attempt to add a device, it will ask for a "PIN code".
|
||||
// The default code for all HomeBridge accessories is 031-45-154.
|
||||
//
|
||||
var types = require("../lib/HAP-NodeJS/accessories/types.js");
|
||||
var types = require("HAP-NodeJS/accessories/types.js");
|
||||
var request = require("request");
|
||||
|
||||
function DomoticzPlatform(log, config){
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
var types = require("../lib/HAP-NodeJS/accessories/types.js");
|
||||
var types = require("HAP-NodeJS/accessories/types.js");
|
||||
var xml2js = require('xml2js');
|
||||
var request = require('request');
|
||||
var util = require('util');
|
||||
|
||||
@@ -33,7 +33,7 @@ var hue = require("node-hue-api"),
|
||||
HueApi = hue.HueApi,
|
||||
lightState = hue.lightState;
|
||||
|
||||
var types = require("../lib/HAP-NodeJS/accessories/types.js");
|
||||
var types = require("HAP-NodeJS/accessories/types.js");
|
||||
|
||||
function PhilipsHuePlatform(log, config) {
|
||||
this.log = log;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SmartThings JSON API SmartApp required
|
||||
// https://github.com/jnewland/SmartThings/blob/master/JSON.groovy
|
||||
//
|
||||
var types = require("../lib/HAP-NodeJS/accessories/types.js");
|
||||
var types = require("HAP-NodeJS/accessories/types.js");
|
||||
var request = require("request");
|
||||
|
||||
function SmartThingsPlatform(log, config){
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
var types = require("../lib/HAP-NodeJS/accessories/types.js");
|
||||
var types = require("HAP-NodeJS/accessories/types.js");
|
||||
var wink = require('wink-js');
|
||||
|
||||
var model = {
|
||||
|
||||
Reference in New Issue
Block a user