chendo / lifx-http

A HTTP API for controlling LIFX devices.
MIT License
91 stars 13 forks source link

wrong #24

Open CWempe opened 9 years ago

CWempe commented 9 years ago

When I start lifx-http the program prints an URL where it can be reached.

root@htpc:/tmp# lifx-http lifx-http can be reached at http://lifx-http.local:56780/

But this is not the hostname of my server. So it will not work.

You may want to change that to http://realservername:56780 or http://:56780 or something with the real IP.

CWempe commented 9 years ago

Please change te title of this issue to something like "wrong URL is shown wehen lifx-http starts" or something. :)

ngreatorex commented 9 years ago

That URL is the one supposedly advertised through MDNS / Bonjour. I found it to be unreliable, but when it works lifx-http.local is correct. Of course, the host name of the machine is more reliable, but the MDNS system theoretically allows all supporting devices to discover the machine running lifx-http without knowing the hostname.