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

hap-alexa

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hap-alexa - npm Package Compare versions

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": {

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