Comparing version 0.0.12 to 0.0.13
13
hue.js
@@ -46,3 +46,3 @@ 'use strict'; | ||
debug("Accessory Dump",accessories); | ||
debug("Accessory Dump", accessories); | ||
@@ -285,5 +285,6 @@ response.end(JSON.stringify(lights(accessories))); | ||
// log("Object: %s", JSON.stringify(device.services[service], null, 2)); | ||
// Switch or Outlet | ||
// LightBulb, Outlet, Switch, Fan, Accessory Info | ||
if (serviceType.startsWith("00000043") || serviceType.startsWith("00000047") || | ||
serviceType.startsWith("00000049") || serviceType.startsWith("0000003E")) { | ||
serviceType.startsWith("00000049") || serviceType.startsWith("00000040") || | ||
serviceType.startsWith("0000003E")) { | ||
for (var id in device.services[service].characteristics) { | ||
@@ -306,4 +307,6 @@ // log("ID=",id); | ||
// Accessory Name | ||
name = characteristic.value; | ||
description = characteristic.description; | ||
if (characteristic.value) { | ||
name = characteristic.value; | ||
description = characteristic.description; | ||
} | ||
} | ||
@@ -310,0 +313,0 @@ |
{ | ||
"name": "hap-alexa", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "HAP-NodeJS Modules to support Amazon Alexa Integration", | ||
@@ -5,0 +5,0 @@ "main": "ssdp.js", |
@@ -8,2 +8,6 @@ | ||
Homebridge device types shared with Alexa. | ||
* LightBulb, Outlet, Switch, Fan | ||
# Installation | ||
@@ -18,3 +22,3 @@ | ||
* add a new setting "ssdp" to the bridge section of your homebridge config.json file. Value must be 1900. i.e | ||
``` | ||
@@ -21,0 +25,0 @@ "bridge": { |
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
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
33320
507
46