allanbunch / beautifulhue

A Python library for the Philips Hue Lighting System API.
Other
92 stars 23 forks source link

Dynamically discover the hue bridge ip address if it is not provided during initialization. #2

Closed woudt closed 11 years ago

woudt commented 11 years ago

Hello Allan,

I have added some code to dynamically discover the ip address of the Hue bridge and I thought you might be interested to incorporate this in the main codebase.

Let me know if you have any questions or comments.

Edwin

woudt commented 11 years ago

Ok, the second commit should not have been in this pull request. You might not want the dependency on urllib3 and it is a bit hacked together (esp. the global variable is a bit ugly)

Let me retry and get you a pull request with only the first commit.