blitzcode / hue-dashboard

A web interface for monitoring and controlling Philips Hue lights
http://www.blitzcode.net/haskell.shtml#hue-dashboard
279 stars 23 forks source link

Ability to set bridge IP manually #1

Closed nylki closed 7 years ago

nylki commented 7 years ago

hue-dashboard fails to discover the bridge in my network. It is not connected to the internet, therefore the discovery method via the broker server will fail.

A possible fix might be to at a cmdline parameter to set the IP-address of the bridge manually or alternatively do a quick port scan on the current network if discovery fails otherwise.

blitzcode commented 7 years ago

There's a commit adding a command line flag for specifying the IP manually on the threepenny-fixes branch. I think you can also specify a hostname, all bridges should have one. At some point it might make sense to implement the alternate UPnP based bridge discovery method as well.

nylki commented 7 years ago

Thank you, the threepenny-fixes branch works fine!