LIFX Bridge issue

Posted on
Wed Nov 16, 2016 9:23 am
Woetjes offline
Posts: 117
Joined: Apr 04, 2016
Location: Belgium

LIFX Bridge issue

Hi Joe,

I've installed the LIFX bridge and setup some devices. But the Harmony Hub doesn't find any 'LIFX bulbs', I've tried both the mobile and the Mac app. I've put debugging on and the message I got was:
"LIFX Bridge Debug deviceDeleted called"

Any idea?

Thanks,
W.

Posted on
Wed Nov 16, 2016 9:38 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: LIFX Bridge issue

I'm going to need to see the actual log output for the entire process. Make sure the plugin is set for debugging level messages, then restart the plugin. Make sure you have at least one Indigo device advertised through the plugin.

Then make the Harmony look for LIFX devices. Using the iOS app, press the menu image (horizontal bars in upper left of screen), then Harmony Setup, then Add/Edit Devices & Activities. Then drill down to Add Device and "Home Control" devices. Select LIFX there. If you've already done that part, "Smart Bulbs" will be on the previous screen. If so, go to that screen and touch REFRESH at the bottom of the screen. You should get a item labeled "Lights", which you can expand to get the list of items advertised by the bridge.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 16, 2016 9:50 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: LIFX Bridge issue

Better yet, go through that process, then attach the plugin log file to a reply in this thread. The file will be in your Indigo 7 folder -> Logs -> com.flyingdiver.indigoplugin.lifxbridge -> plugin.log

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 16, 2016 9:57 am
Woetjes offline
Posts: 117
Joined: Apr 04, 2016
Location: Belgium

Re: LIFX Bridge issue

Hi Joe,

See the log file attached.
I don't know if it's something but I noticed in the logs: "Bind failed. Error Code : 48 Message Address already in use"

Thanks,
W
Attachments
plugin.log
(11.65 KiB) Downloaded 185 times

Posted on
Wed Nov 16, 2016 10:18 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: LIFX Bridge issue

Well, that's definitely the problem. You have something else running on the port that the LIFX devices use. Quit anything else related to the Harmony or LIFX and restart the plugin.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 16, 2016 10:28 am
Woetjes offline
Posts: 117
Joined: Apr 04, 2016
Location: Belgium

Re: LIFX Bridge issue

OK stupid me - I thought I disabled the Autolog LIFX plugin but it was enabled :(
Now it's working ;) Thanks for the quick reply.

Posted on
Wed Nov 16, 2016 10:37 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: LIFX Bridge issue

Yeah, that's a problem I ought to talk to Autolog about. My server HAS to be on the default LIFX port, because the clients (like the Harmony Hub) need to contact it on that port. By default, LIFX clients use the same port. Which is a really bad design decision. The default client code will try a different port if the standard one is in use, but mine can't. So if the LIFX Bridge plugin is started first, you should be able to start Autolog's plugin after. If he's using the default LIFX library code.

Edit: Which he isn't. He's using the hard-coded port number. So the two plugins can't coexist on the same Indigo server.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 16, 2016 12:20 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Bridge issue

That looks like a simple change to do in my LIFX plugin. :)

What do you suggest, allowing the user to define the port number in the plugin config?

I can incorporate the change in the V7 LIFX plugin that I am working on.

Posted on
Wed Nov 16, 2016 12:28 pm
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: LIFX Bridge issue

autolog wrote:
That looks like a simple change to do in my LIFX plugin. ...

Spoke to soon, it seems it has to be port 56700 to work :|

Posted on
Wed Nov 16, 2016 12:48 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: LIFX Bridge issue

autolog wrote:
autolog wrote:
That looks like a simple change to do in my LIFX plugin. ...

Spoke to soon, it seems it has to be port 56700 to work :|


We should take this offline. Is the I7 code significantly different than the current plugin?


Sent from my iPad using Tapatalk

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest