homebridge-bf-homelights
Advanced tools
Comparing version 1.0.1 to 1.0.2
"use strict"; | ||
var Service, Characteristic; | ||
var pubnub | ||
@@ -20,3 +19,3 @@ | ||
pubnub = require("pubnub")({ | ||
this.pubnub = require("pubnub")({ | ||
ssl : true, // <- enable TLS Tunneling over TCP | ||
@@ -76,3 +75,3 @@ publish_key : config.publish_key, | ||
function sendPubnubMsg (msg, that) { | ||
pubnub.publish({ | ||
that.pubnub.publish({ | ||
channel : 'homelights.ExternalLights', | ||
@@ -86,3 +85,3 @@ message : msg, | ||
function listenToPubnub (that) { | ||
pubnub.subscribe({ | ||
that.pubnub.subscribe({ | ||
channel : "homelights.ExternalLights", | ||
@@ -89,0 +88,0 @@ callback : function(message) { |
{ | ||
"name": "homebridge-bf-homelights", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Dummy switches for Homebridge: https://github.com/nfarina/homebridge", | ||
@@ -10,10 +10,3 @@ "license": "ISC", | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/nfarina/homebridge-dummy.git" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/nfarina/homebridge-dummy/issues" | ||
}, | ||
"dependencies": { | ||
"dependencies": { | ||
"pubnub": "3.7.18" | ||
@@ -24,27 +17,3 @@ }, | ||
"homebridge": ">=0.2.0" | ||
}, | ||
"gitHead": "42c937fbcb9203025cac9381e922f3645da96517", | ||
"homepage": "https://github.com/nfarina/homebridge-dummy#readme", | ||
"_id": "homelights@0.0.1", | ||
"scripts": {}, | ||
"_shasum": "4ee7d8587706185a0029f50ff69bd8d00a685de8", | ||
"_from": "homebridge-dummy@*", | ||
"_npmVersion": "2.14.4", | ||
"_nodeVersion": "4.1.1", | ||
"_npmUser": { | ||
"name": "nfarina", | ||
"email": "nfarina@gmail.com" | ||
}, | ||
"maintainers": [ | ||
{ | ||
"name": "nfarina", | ||
"email": "nfarina@gmail.com" | ||
} | ||
], | ||
"dist": { | ||
"shasum": "4ee7d8587706185a0029f50ff69bd8d00a685de8", | ||
"tarball": "http://registry.npmjs.org/homebridge-dummy/-/homebridge-dummy-0.0.1.tgz" | ||
}, | ||
"directories": {}, | ||
"_resolved": "https://registry.npmjs.org/homebridge-dummy/-/homebridge-dummy-0.0.1.tgz" | ||
} | ||
} |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2715
74
2
1
1