hue-bridge-discovery

1.1.2 • Public • Published

hue-bridge-discovery

This helps searching for hue bridge using SSDP (node-ssdp) AND meethue nupnp API.

API

var discovery = require('hue-bridge-discovery');
var browser = new discovery();

# or classic "event discovery"
browser.on(discovery.EVENT_HUE_DISCOVERED, function(device){
  /* returns {
    address      : '192.168.131.47',
    hue_bridgeid : 'SOMEHUESERIAL',
  }
  */

});

browser.start();
//browser.stop();

Readme

Keywords

Package Sidebar

Install

npm i hue-bridge-discovery

Weekly Downloads

3

Version

1.1.2

License

ISC

Last publish

Collaborators

  • 131