markbergsma / pimatic-hue-zll

Pimatic integration with Philips Hue (ZLL)
GNU General Public License v2.0
7 stars 4 forks source link

Automatic Hue Bridge Detection #11

Closed hongkongkiwi closed 8 years ago

hongkongkiwi commented 8 years ago

Hi,

You might consider changing the backend to use this module: https://github.com/peter-murray/node-hue-api

It handles bridge discovery and automatic API key retrieving.

sweebee commented 8 years ago

This plug-in already uses it. https://github.com/markbergsma/pimatic-hue-zll/blob/master/package.json#L28

markbergsma commented 8 years ago

Yes indeed; the plugin already uses node-hue-api, and that's not the reason/blocker for missing bridge detection. Pimatic 0.8 makes that near-impossible, but Pimatic 0.9 (to be released soon) supports autodiscovery, so it will be added soon.

markbergsma commented 8 years ago

I've just published v0.3.0 on npm, which supports bridge auto-discovery, as well as discovery of lights and light groups in Pimatic 0.9.