WebThingsIO / philips-hue-adapter

WebThings Gateway Philips Hue Adapter
Mozilla Public License 2.0
21 stars 12 forks source link

Bridge running in non standard ports is not detected #20

Closed selvakn closed 6 years ago

selvakn commented 6 years ago

The plugin assumes the bridge runs in port 80 and the scheme is http.

Few DIY bridges runs in non standard ports. The port information can be obtained from the SSDP response. (Not sure about https://www.meethue.com/api/nupnp as it doesnt seem to be working)/

PS: Im also preparing a fix. But Im in the process of figuring out the steps to build and use this plugin. So the readme / development guide for the plugins will be helpful too.

hobinjk commented 6 years ago

Interesting! That would be good to have. If you want to test this code out locally the best way is to start up the gateway and clone this repo into ~/.mozilla-iot/addons/philips-hue-adapter. Then any change will be picked up if you disable and re-enable the philips hue add-on from the Settings page.

selvakn commented 6 years ago

Since #21 is merged, I think this can be closed! thanks @tsathishkumar.